Tagged: mobile menu
Under Enfold theme options > Header Layout > Mobile Menu
There is an option to activate the mobile menu at 990px for tablets etc How can I customize this to activate at larger pixel size? 1024px for example where is the file located that I can edit this thanks.
Hey!
Try adding this code to the Quick CSS:
@media only screen and (max-width: 1024px) {
.main_menu, #header_main_alternate{display:none;}
.container #advanced_menu_toggle, #advanced_menu_hide{display:block;}
#mobile-advanced{display:block;}
}
Cheers!
Josue
Hi!
This code doesn´t work in the new version of Enfold.
Can you help me?
Thanks!
Hi contalento,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 1024px) {
.menu-item {
display: none;
}
.main_menu {
display: block !important;
}
.av-burger-menu-main.menu-item-avia-special {
display: block;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
It works perfect.
Thank you very much Victoria!
Hi contalento,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria,
I have noticed that when this css is inserted the cart icon disappears from the menu.
Do you think there is a workaroud that?
Best,
Alexander
Hey Alex,
Did you have a link to the site/page in question so we can look into this further?
Best regards,
Jordan Shannon
Hi Alexander,
Please add following code to Quick CSS as well
#menu-item-shop.cart_dropdown {
display: block;
}
Best regards,
Yigit
Hi Yigit,
It works! Thank you lots and have a good one!
Best,
Alexander