- This topic has 10 replies, 2 voices, and was last updated 10 years, 1 month ago by
Tom.
-
AuthorPosts
-
March 1, 2016 at 4:36 am #176274
David
Hi
Wondering if its possible to disable the secondary nav on a mobile/small screen?
Main reason is i don’t like the look of the secondary nav on a mobile, but fits nicely under the main menu on the desktop view 🙂
Thanks as always
March 1, 2016 at 11:36 am #176377Tom
Lead DeveloperLead DeveloperFor sure, give this CSS a try:
@media (max-width:768px) { .secondary-navigation { display: none; } }-
This reply was modified 10 years, 1 month ago by
Tom.
March 1, 2016 at 11:45 am #176383David
Hi.
That has removed secondary nav from desktop and mobile view, how can i have it turned on the desktop view but still off on the mobile?
March 1, 2016 at 11:47 am #176386Tom
Lead DeveloperLead DeveloperNeed more coffee. Just adjusted the code above 🙂
March 1, 2016 at 11:49 am #176391David
Thanks Tom
Go treat yourself to more coffee 🙂
March 1, 2016 at 11:51 am #176394Tom
Lead DeveloperLead DeveloperYou’re welcome 🙂
March 1, 2016 at 12:37 pm #176430David
Another question..
at 768px the menu changes from mobile view to desktop view, how could i get this to change at say 600px
Also i’m using menu-plus for the mobile menu, on a mobile the menu/text is centered and thus gets hidden when the menu is expanded, is there a way to align this to the right? but still for the actual menu to remain on the left?
And i’ve just noticed on my mobile when i scroll down the logo/header image pops out, ideas?
March 1, 2016 at 9:48 pm #176507Tom
Lead DeveloperLead DeveloperIt’s possible, but requires quite a lot of CSS. Any reason for this?
The “official” breakpoint for tablet vs mobile is 768px – it’s a common value found across the web.
Not sure what you mean by your second question – can I see an example?
March 1, 2016 at 11:43 pm #176524David
Hi Tom
2nd question – GP menu plus
If I add a image, like you’ve add GP icon/logo to this site the that logo is on the left and the menu is on the right. Where with NO logo the menu is in the center and it’s this that gets covered when the menu is expanded. I was just going to add an icon (blank/background colour) as at present I don’t have a suitable one.3rd question about the logo popout I have fixed
March 2, 2016 at 12:07 pm #176626Tom
Lead DeveloperLead DeveloperThe Menu part should be centered when there’s no logo, as it would be weird with a blank space on the left and the menu text on the right.
However, nothing should get covered when the menu expands. Any chance you can show me?
March 2, 2016 at 11:17 pm #176719Tom
Lead DeveloperLead DeveloperIf you want to align the menu text to the right, try this CSS:
@media (max-width: 768px) { .menu-toggle { text-align: right; } } -
This reply was modified 10 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.