Hi
I have only one menu item in my main menu and i would like it to stay the same regardless of site width. In other words: I don´t want it to break to that toggle symbol on mobile.
I´ve been searching all over this forum, but found no solutions that worked for my site.
Hi @isveian;
something as this code may help you :
@media only screen and (max-width: 767px) {
/*HIDE MOBIL MENU*/
.container #advanced_menu_toggle, #advanced_menu_hide{display: none !important;}
/*SHOW ALLWAYS MAIN MENU*/
.main_menu .avia-menu, #header_main_alternate, .fallback_menu{display: block !important;}
}
It works, thanks! :)
I just have to use some more css to make it look good, because when the site breaks to mobile view the position of the logo and menu item is a bit off from where I want it.
Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
@media only screen and (max-width: 767px) {
.main_menu .avia-menu {
display: block;
float: right;
margin-top: -80px;
}}
@begrafiks thanks for your help :)
Best regards,
Yigit
Perfect!
Thanks both of you :)