Archived topic
Mobile navigation not displaying sub-menu
3 replies · Started by Andy on January 18, 2018
Hi Tom and all,
Just upgraded to latest WP 4.9.2 and GeneratePress 2.0.2 and now my dropdown nav on mobile is not displaying - the arrows switch, but nothing displays.
I'm currently building a site (URL entered below) where this is happening (and have a couple other development sites doing the same thing), but the LIVE site (which I've yet to upgrade) is displaying the sub-menu (although this is a little weird too with some huge gaps): https://thebusinessofstories.com
I have another LIVE site here which I have not yet upgraded, which works fine without the gaps (https://www.rachelflower.co.uk/).
Have I left in some code which your upgrade has now broken? Or is this something you're seeing elsewhere?
Thanks in advance :)
Andy
You're currently using CSS to initiate the mobile menu at a different breakpoint. You'll want to update that custom CSS with the latest: https://docs.generatepress.com/article/mobile-navigation/#initiating-the-mobile-navigation-at-a-different-width
That should fix it :)
Fixed. Awesome, as always. Thanks Tom :)
You're welcome :)