Hi there,
I’m trying to change the mobile header breakpoint to as high as 1023px using the following code example:
https://gist.github.com/generatepress/282078076cd8631c17717d5b8640c043
First, it wasn’t expanding the menu at all. I’m not using the slide-out-menu, so I figured I had to replace it here:
.main-navigation:not(.slideout-navigation) .main-nav > ul {
display: none;
}
changing this to
.main-navigation:not(.mobile-header-navigation) .main-nav > ul {
display: none;
}
Now the menu does expand, BUT it also displays it when not expanded, with the items next to each other.
You can check what I mean at the URL (only visible to admins).
So there must be something else I need to add. Any ideas?
Thank you so much.