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 visibleSite URL: hidden Theme version: royal 1.8
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.Theme version: royal 1.8
I’ve changed code in wp-content/themes/royal/js/etheme.js file in
// ! Tabs section from
scrollTop: currTab.offset().top - 50
scrollTop: currTab.offset().top - 150
Please check animation now.
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.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty