- This topic has 15 replies, 3 voices, and was last updated 8 years, 2 months ago by
Tom.
-
AuthorPosts
-
January 14, 2018 at 9:11 am #470701
Drew
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 🙂
January 14, 2018 at 9:42 am #470726Leo
StaffCustomer SupportHi there,
Here it is: https://gist.github.com/generatepress/282078076cd8631c17717d5b8640c043
This is an option in the plan 🙂
They should all be here: https://gist.github.com/generatepress
January 14, 2018 at 9:45 am #470729Drew
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?
January 14, 2018 at 9:48 am #470735Leo
StaffCustomer Supporthuh good point. I’m not sure actually.
Try Googling or ask GitHub 🙂
January 14, 2018 at 9:49 am #470736Drew
Google is a dead end so far but I’ll reach out to to GitHub directly, many thanks 🙂
January 14, 2018 at 9:52 am #470743Leo
StaffCustomer SupportLet me know if you hear back. Haven’t had to do that yet but I’m sure it will come in handy 🙂
January 14, 2018 at 9:53 am #470745Drew
will do and yes, keyword searching the snippets would be great, I already get a ton of use out of them
January 14, 2018 at 9:57 am #470751Leo
StaffCustomer SupportI 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 🙂
January 14, 2018 at 10:29 am #470782Drew
sorry, one small issue on followup; the dropdown mobile menu shows onat 1024px width (768px width is fine and shows slideout only): https://www.screencast.com/t/cZkGCkKbT
January 14, 2018 at 1:31 pm #470888Leo
StaffCustomer SupportNot sure what you mean?
Looks like it’s all slideout navigation after around 1200px?
January 14, 2018 at 8:42 pm #471051Drew
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?
January 15, 2018 at 7:46 am #471438Leo
StaffCustomer SupportIs there supposed to be a link to the screenshot?
You can upload to a site like this if it helps: https://postimages.org/
January 15, 2018 at 7:48 am #471440Drew
Sorry, must have been filtered out in the copy/paste. Here’s the screencast: https://www.screencast.com/t/7siSByVYXMSI
January 15, 2018 at 7:56 pm #471888Tom
Lead DeveloperLead DeveloperGive this a shot:
.slide-opened .main-navigation:not(.slideout-navigation) .menu { display: none; }January 16, 2018 at 7:08 am #472279Drew
That did the tick, many thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.