Site logo

Archived topic

slideout menu breakpoint

15 replies · Started by Drew on January 14, 2018

Viewing posts 1–15 of 16

Is there a snippet to adjust the breakpoint when the mobile only" nav menu kicks in? Specifically, I'd like it to appear at the 1024px media query instead of 768px.

On a realted question, is there a way to search the fantastically useful snippet library at github? I can't find a way to limit searches to only Tom's snippets :)

Perfect and many thanks!

And when I use the search at the top of https://gist.github.com/generatepress, I can't find a way to limit it to just GP's snippets. Is there a way to do that?

huh good point. I'm not sure actually.

Try Googling or ask GitHub :)

Google is a dead end so far but I'll reach out to to GitHub directly, many thanks :)

Let me know if you hear back. Haven't had to do that yet but I'm sure it will come in handy :)

will do and yes, keyword searching the snippets would be great, I already get a ton of use out of them

I usually do question + generatepress on Google. It will generally lead to the topic I'm looking for with the gist link in it.

This way I won't miss the solutions that are not in gist :)

Not sure what you mean?

Looks like it's all slideout navigation after around 1200px?

Sorry, I posted this on the other support thread #MyBad - but here's some additional info:

The media query was set to 1204 instead of 1024.

However, after making the in that screencap, both the slide out menu and the mobile menu that drops down from the hamburger menu icon are present when it should just be the slideout menu (I thought).

Here’s a screencast showing the issue better (and flipping to portrait layout to demonstrate the issue isn’t present there).

Does that help?

Is there supposed to be a link to the screenshot?

You can upload to a site like this if it helps: https://postimages.org/

Give this a shot:

.slide-opened .main-navigation:not(.slideout-navigation) .menu {
    display: none;
}

That did the tick, many thanks!

This archived topic is closed to new replies.