Automatic Scroll to id | One-Pager
After changing the Menu items and the section IDs the auto-scroll does not work anymore. Clicking on a link jumps directly to it, instead of auto scrolling.
I have also added the css class "scroll" in the wordpress menu setup.
I have also noticed, that the first item in the menu stays highlighted after clicking on the next items in the menu.
Help is much appreciated
Best,
Markus
Comments
Hi Markus,
did you enabled ONE PAGE option for page that you would like to be one pager?
Yes i did enable the option "one pager" for a "one pager site"
i found the solution. I assigned an section id title with blank spaces. Obviously this did not work. Now i have new short ids for the section without blank spaces and it works perfectly fine!
Thanks for the fast reply
Thanks for the update. Glad to know you've found the reason.