Hello:
I am sure it has been asked before and I am sorry for the repeat, but I am looking to only have a mobile menu on an iPad no matter the orientation. There are too many links in the menu and they run over the logo when the site is viewed on an iPad in landscape (not in portrait). Any suggestions would be greatly appreciated.
Sincerely,
Jacob
Hey jbergmeier!
Try adding this to your custom CSS.
@media screen and (max-width: 900px) {
nav.main_menu { display: none !important; }
#advanced_menu_toggle { display: block !important; }
}
Regards,
Elliott
Thank you, Elliott.
Unfortunately that didn’t work.
Portrait works http://imgur.com/9yveWLq
Landscape still does not http://imgur.com/dbsrnU3
Thank you!
Hi!
Try increasing the 900px value in the code to something higher like 1100px. It depends on your tablet resolution, how many pixels the screen width has.
Best regards,
Elliott
Please try that code. It worked perfectly in my case!
@media screen and (max-width: 1024px) {
.home #avia-menu > li, .home .menu-item {
display: none !important;
}
.home #avia-menu .av-burger-menu-main, .home #avia-menu .menu-item-search-dropdown {
display: block!important;
}
}