Archived topic
Sticky Mobile Menu Stays Down
3 replies · Started by Steve on July 20, 2016
I use the sticky mobile menu and the items point to anchor tags on the page. When I drop the menu and select an item it scrolls, as expected. The menu stays extended and covers most of the page and must be manually closed. Is the expected action or is there a way that the menu will retract after an item is selected?
Thanks - really beginning to enjoy GP and the addons.
Steve
Hi Steve,
I wrote this for someone who was looking for the same thing + smooth scroll: https://gist.github.com/generatepress/6e122667d28cabd23582
You can add it into the wp_footer hook in GP Hooks :)
That worked beautifully!!
Thanks!
You're welcome :)
