This topic has 14 replies, 4 voices, and was last updated 9 years ago ago by Eva Kemp
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
Hello,
For clarify. Do you want to disable animate function?
Regards,
Robert Hall.
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.
Hello,
Please provide us with wp-admin and FTP credentials in Private Content to check this issue more deeply.
Regards,
Robert Hall.
thx for the quick reply.
Hello,
Please provide us with FTP credentials as well.
Thank you.
Regards,
Eva Kemp.
sorry, here is the ftp info
Hello,
Your FTP credentials aren’t correct (530 Login authentication failed). Please check them.
Regards,
Robert Hall.
SOrry about that. Let me try again.
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.
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.
Hello qdesign,
you can move all edited theme files to Child Theme to prevent them from disappearing on theme update.
Regards,
Stan Russell.
can you point me to instructions someplace that explains the process to “move all edited theme files to Child Theme”?
Thanks
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.
You must be logged in to reply to this topic.Log in/Sign up