Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #913397

    Hello,
    I’m trying to get a solid black background to the header menu on mobile. Right now on mobile, it just shows a floating hamburger menu with no background (transparent) that looks odd to me. How do I go about getting a solid background to the header on mobile? I appreciate your help, thank you!

    #913430

    Hey Firoze,

    Try adding the following to quick css:

    @media only screen and (max-width: 767px)  {
    .av-burger-menu-main.menu-item-avia-special.av-small-burger-icon{
        background: #000;
        padding: 10px;
    }
    
    .av-hamburger-inner, .av-hamburger-inner::after, .av-hamburger-inner::before{
    background-color:#fff!important;
    }}

    Best regards,
    Jordan Shannon

    #913458

    Thanks Jordan. Unfortunately that only added a background immediately surrounding the hamburger icon. I’m looking for a solid background that spans the entire header bar. Somehow I have achieved this on my other website http://www.truenaturemed.com , but I can’t figure out what the difference is.

    #913762

    Hi fulleffect256,

    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: 767px) {
      .av-burger-menu-main.menu-item-avia-special.av-small-burger-icon {
        background: #000;
        padding: 20px;
      }
      .responsive #top #wrap_all #header {
        min-height: 40px;
     }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #913992

    Thank you. I ended up solving it with this code:

    @media only screen and (max-width: 767px) {
    .av-burger-menu-main.menu-item-avia-special.av-small-burger-icon {
    margin-top:-15px;
    }
    .responsive #top #wrap_all #header {
    min-height: 55px;
    }
    }

    #914031

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Solid Background for Mobile Hamburger Menu?’ is closed to new replies.