Archived topic
Collapse navbar earlier
7 replies · Started by Karim on April 6, 2017
Hello there:)
I was wondering how/if i can make my primary navigation bar collapse sooner then the standard 768px?
I have so many menu-items, they stack up on each other on tablet screen, which looks not the best.
Hope you can help.
Thanks in advance:)
Karim
Hi Karim,
This should help: https://generatepress.com/forums/topic/change-mobile-breakpoint-for-main-navigation/#post-137283
Let me know.
Hello Leo,
Thank you very much:)
I just copy/past the whole code Tom gave and only adjust the width at the top?
I really need to put all that code?
Might be able to skip some depending on what your menu structure is like but I think the best way is to get everything :)
haha, aight sir;)
I past it and it worked. Really awesome:):)
Thanks again sir
Glad I could help :)
Might be good to bookmark this article as that's where the code will be updated as things change: https://docs.generatepress.com/article/mobile-navigation/#initiating-the-mobile-navigation-at-a-different-width
Bookmarked it, thanks:)
This kind of information has so much value for future sites. You guys really rock:)
Cheers