Toggle item off page after open - by qdesign

This topic has 14 replies, 4 voices, and was last updated 9 years ago ago by Eva Kemp

  • Avatar: qdesign
    qdesign
    Participant
    December 3, 2015 at 21:33

    Clicking on toggle item opens item but items heading scrolls off the top of the page.

    As an example if you go to http://www.conciergeunlimitedintl.com/services/ and click the LEISURE AND RECREATION box to toggle it open. Notice when the toggle function is complete the LEISURE AND RECREATION box is no longer visible and has slipped off the top of the page.

    Seems like the LEISURE AND RECREATION box should stay visible

    13 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 4, 2015 at 08:56

    Hello,

    For clarify. Do you want to disable animate function?

    Regards,
    Robert Hall.

    Avatar: qdesign
    qdesign
    Participant
    December 4, 2015 at 15:07

    Robert, The animate function is cool so it’s not that I want to disable the animate function. However I would like to control the animate function so that it does not cause the LEISURE AND RECREATION box to scroll off the page. Can it be adjusted to stop at the top of the LEISURE AND RECREATION box.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 4, 2015 at 15:34

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content to check this issue more deeply.

    Regards,
    Robert Hall.

    Avatar: qdesign
    qdesign
    Participant
    December 4, 2015 at 16:21

    thx for the quick reply.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 4, 2015 at 17:17

    Hello,

    Please provide us with FTP credentials as well.

    Thank you.

    Regards,
    Eva Kemp.

    Avatar: qdesign
    qdesign
    Participant
    December 4, 2015 at 19:46

    sorry, here is the ftp info

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 5, 2015 at 09:55

    Hello,

    Your FTP credentials aren’t correct (530 Login authentication failed). Please check them.

    Regards,
    Robert Hall.

    Avatar: qdesign
    qdesign
    Participant
    December 7, 2015 at 20:47

    SOrry about that. Let me try again.

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 8, 2015 at 10:00

    Hello,

    I’ve changed code in wp-content/themes/royal/js/etheme.js file in // ! Tabs section from
    scrollTop: currTab.offset().top - 50
    to
    scrollTop: currTab.offset().top - 150

    Please check animation now.

    Regards,
    Robert Hall.

    Avatar: qdesign
    qdesign
    Participant
    December 8, 2015 at 15:35

    Robert, Well done. This is perfect, thank you.

    Do I need to worry about this change when updating the theme. I believe an update notice arrive just yesterday.

    Avatar: stan
    Stan Russell
    Participant
    December 8, 2015 at 16:34

    Hello qdesign,

    you can move all edited theme files to Child Theme to prevent them from disappearing on theme update.

    Regards,
    Stan Russell.

    Avatar: qdesign
    qdesign
    Participant
    December 8, 2015 at 16:44

    can you point me to instructions someplace that explains the process to “move all edited theme files to Child Theme”?

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    December 8, 2015 at 18:12

    Hello,

    When you edit some files in the parent theme and don’t want to lose modifications after theme update you should create a child theme https://codex.wordpress.org/Child_Themes and copy the edited file to the same file structure in the child theme, for example, etheme.js file should be copied into the directory wp-content/themes/royal-child/js.

    Regards,
    Eva Kemp.

  • Viewing 14 results - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.