Tagged: menu, Single Page
When using anchors in color sections with the menu/submenu and only using 1 single page, things work as expected. The menu scrolls to selected section.
When having two or more pages with the same layout and submenus, things don’t work.
Menu structure
Menu 1/Submenu 11 = #section11 (on page 1)
Menu 1/Submenu 12 = #section12 (on page 1)
Menu 2/Submenu 21 = #section21 (on page 2)
Menu 2/Submenu 22 = #section22 (on page 2)
When user is in on Page 1, Menu 1 works fine. When clicking Menu 2 submenus when on page 1, the browser tries to navigate to local anchors that are only available in page 2 and therefore fails.
Any quick fixes for this?
Thanks,
Niklas//
OK, perhaps obvious, but you need to not only have te anchor in the custom link url for the menu. You have to add the parent URLs as well.
Instead of having this in the custom menu link:
#section11
#section12
You have to have:
/page1#section11
/page1#section12
Thanks,
Niklas//
Hey!
Thank you for visiting the forum!
Glad you figured that one out. In case you have questions, please try to review all of the resources in the Theme Documentation as a lot of basic stuff like theme installation, css snippets etc are already available in there with better explanation and awesomeness. Watch some of our Video Tutorials to learn more about the different aspect of the theme. You can also search the forums for queries that has been answered before that might be related to your problem.
If you find that you still have questions after taking the time on our documentations, don’t hesitate to let us know and we will be happy to assist you. If you have any requests or you feel like giving us a warm hug? You can definitely post it on our Feature Requests page. :)
Cheers!
Ismael