I’m working on this site: https://woodbridgechurch.org/ and had to add some custom CSS in order to remove the hamburger menu from showing up on desktop view (because the option within the theme itself wasn’t working) and when I did that it pushed all of the menu items down and also makes them go over top of the logo sometimes.
I’ve been trying to fix it for quite a while with no avail. Any suggestions?
Hey Arctic,
Add this to quick css:
.avia-menu.av-main-nav-wrap{
margin-top:-35px!important;
}
#menu-item-search{
margin-top:35px!important;
}
Best regards,
Jordan Shannon
Well, that worked for the main menu but now it made the hamburger menu in the wrong spot (it’s now up way too high). And it still doesn’t solve the problem of the menu being able to go on top of the logo if you start slowly resizing your browser window down.
This is everything I have in quick CSS (including what you put up above.)
@media only screen and (min-width: 768px) {
.av-hamburger {
display:none!important;
}
}
@media only screen and (max-width: 768px) {
.menu-item-top-level {
display: none!important;
}
}
.avia-menu.av-main-nav-wrap{
margin-top:-35px!important;
}
#menu-item-search{
margin-top:35px!important;
}
On that note, fixed the hamburger menu. I kept putting code in the wrong spot.
Seems like the only way to fix the menu going over top of the logo problem is to make the responsive menu pop up really early. Is that the only solution?
Hi,
You can go mobile sooner. Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 1024px) {
nav.main_menu {
display: block !important;
}
#avia-menu .menu-item {
display: none;
}
.av-burger-menu-main.menu-item-avia-special {
display: block;
}
}
Change the value 1024 to the pixel value of your choice.
Best regards,
Jordan Shannon
Thank you! Looks like that’s working!
Hi,
Perfect, I’m happy to help. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon