Tagged: mobile menu
Hi Everyone!
This may have been covered but I can’t find it. I’d like to have the main menu switch to mobile below a different screen width than what’s currently allowed in the theme settings, specifically 960 rather than 990 or 768. Actually I’m a bit surprised that you guys haven’t yet added a Custom option to that dropdown in Theme Options / Main Menu. Anyway I figure there’s probably some code snippet I could add to my child theme’s functions.php file and was hoping one of you guys could tell me what that is.
Thanks!
Scott
Hey scotthco,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 960px) {
nav.main_menu {
display: block !important;
}
#avia-menu .menu-item {
display: none;
}
.av-burger-menu-main.menu-item-avia-special {
display: block;
}
}
Best regards,
Rikard