Href Anchors in Offcanvas Mobile Menu
-
On the latest Gantry framework, using the Hydrogen Theme, the Offcanvas Mobile Menu Links do not work when they are anchors. I have an outline (Home) set up as a single page.
To clarify, the anchors actually jump to the correct section. However, if you click the mobile menu toggle or click somewhere else besides the offcanvas section the menu closes and just scrolls the page back to the top. Every time.
Is there a CSS or JS solution to fix this? An attribute I can add to menu items to get the menu to close after links clicks and stay on that section? I have looked through the plugin and theme source code and the Gantry docs but I have not discovered what exactly causes this behavior.
- The topic ‘Href Anchors in Offcanvas Mobile Menu’ is closed to new replies.