Archived topic
MAIN Menu not collapse fix
13 replies · Started by johnaps on October 13, 2019
Hello.
I didnt have this problem until now but my main menu suddenly started collapsing in smaller screen modes and appearing with a button.
but it didnt do anything..
Can you please help me out ???
Hi there,
Go to "Customize > Layout > Primary Navigation" and set the Breakpoint to 0. That should remove the mobile toggle.
Let me know :)
Hello!
As you can see in the link, i have lost this option... thats the problem!
I found that this problem was caused by a fix that a superflys menu devs made to my site and i rolled back and everything is ok.
But if i wanted to proceed with that option in the theme lost is there a "php" way to make the menu not collapse anywhere?
Thank you!
That option is only included in the latest theme version which is what you should be using.
Rolling back versions to fix issues for other plugins is never a good option.
i havent rolled back, i just wanna know for now if there is a fuction to stop main menu from collapsing like other threads i have seen here that there is php code to stop secondary menu from collapsing...
Its a temporary fix until i sort things out with the other plugin developers...
Can you help me out?
Is there a way?
no it didnt work... :/
What if you do this?
https://generatepress.com/forums/topic/navigation-below-768px/#post-492680
its doing what it should but as you can see the words from every item are now on different lines and i dont know how to fix that or if it is fixable...
wait... i think changin the items width is what it needs..
Replace
@media (max-width: 768px) {
.main-navigation ul {
display: flex;
}
}
with:
@media (max-width: 768px) {
.main-navigation ul {
display: flex;
flex-wrap: wrap;
}
}
Please do try to use the most recent version with a feature specifically for this.
Thank you that did it better than i did!
I ll assign the rest of the position on different media to a developer cause its starting to fall out of my depth!
If you have a department that takes on personal customizing with fee, i would really be interested in that cause i cant fix all my issues with support, as helpful as you are...
Thank you for your time!
Unfortunately we don't offer custom development work currently.
Glad I could help :)