Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1209673

    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?

    #1209727

    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

    #1209974

    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;
    }
    #1209977

    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?

    #1210106

    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

    #1210347

    Thank you! Looks like that’s working!

    #1210486

    Hi,

    Perfect, I’m happy to help. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Menu Wonky After Removing Hamburger Menu from Desktop’ is closed to new replies.