Archived topic
One menupoint should not toggle
1 reply · Started by Patrick on January 3, 2017
Hi,
Happy New Year to you all.
I need one from my menupoints to save from toggle on mobile. This Menupoint should stay beside of the hamburgermenu on mobile. How can I make this happen?
Thanks and regards
Patrick
Hi Patrick,
Interesting question, unfortunately I can't think of a good answer. The mobile menu button is a <button> element, so nothing else can be added inside of it while maintaining valid HTML.
The only thing I can think of is using the generate_inside_navigation hook: https://docs.generatepress.com/article/generate_inside_navigation/
Then inside that hook, add your menu item, and give it a class of hide-on-desktop so it only shows up on mobile.
Let me know if you need more info :)