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

    Hey Hoernchen089,

    Try adding this css code in Quick CSS (located in Enfold > General Styling):

    @media only screen and (max-width:767px) {
      .responsive #top .logo, 
      .responsive #top .logo a {
        display: block;
        margin: 0 auto;
      }
    
    
      .responsive #top .logo img {
        margin: 0 auto;
      }
    
      .responsive #top #wrap_all .main_menu {
        position: static;
        height: auto;
      }
    
      .responsive #top .av-logo-container .avia-menu {
        width: 100%;
        text-align: center;
      }
    
      .responsive #top .av-logo-container #avia-menu {
        margin: 0 auto;
        width: 29px;
      }
    
      #top #wrap_all #header .av-small-burger-icon a {
        height: auto !important;
        line-height: 3 !important;
      }
    }

    Hope this helps :)

    Best regards,
    Nikko

    #862866

    Thanks it helps, but I changed the height of the header to 150px and the logo is cut off now. I guess it’s the max-height setting from a and img but I cant change it because it is generated with Javascript, isnt it?
    Any ideas on that?

    #862898

    Hi,

    You can change it, you can override inline css generated by javascript, for example javascript sets height to 150px you can just add !important to override that value for example:

    .responsive #top .logo {
        height: 100px !important;
    }

    Best regards,
    Nikko

    #863362

    Weird, I thought I tried that and it didnt work. Apparently it’s all good now.
    Thanks for the help.
    I appreciate it.

    #863776

    Hi,

    Glad that it worked. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Center Logo and Burger Menu on Mobile Devices’ is closed to new replies.