-
AuthorPosts
-
November 18, 2015 at 10:43 am #670214
Hey, I am trying to get the mobile nabber height to be different from desktop. It’s working, but I am running into the issue of not being able to have space under the mobile menu button.
The site is smithslaminate.wpengine.com
Here is the current code : `@media (max-width: 979px){
.x-navbar-inner {
min-height:30px;
padding: 0px 5px;
} }`and I’ll attach a screenshot.
Thanks!
November 18, 2015 at 11:19 am #670251Hi there,
Thanks for writing in! Let’s update your code –
@media (max-width: 979px){ .x-navbar-inner { min-height: 55px; padding: 0 5px; } }
Hope this helps.
Cheers!
November 18, 2015 at 11:43 am #670289You wizard. I seriously changed that value to so many things, and nothing would work.
Thanks!
November 18, 2015 at 11:45 am #670295One more question though : I am trying to hide a menu option in mobile as well.
Here is the code :
@media (max-width: 979px) { #menu-item-43 { display: none; /* hide menu item in mobile */ } }
@media (max-width: 979px) { #menu-item-46 { display: none; /* hide menu item in mobile */ } }
It does not seem to be working.
November 18, 2015 at 12:04 pm #670321Please try with this CSS instead:
@media (max-width: 979px) { .menu-item-43 { display: none; /* hide menu item in mobile */ } } @media (max-width: 979px) { .menu-item-46 { display: none; /* hide menu item in mobile */ } }
Hope it helps 🙂
November 18, 2015 at 12:11 pm #670334Perfect. Thanks!
November 18, 2015 at 2:19 pm #670525Glad we were able to help 🙂
-
AuthorPosts