Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1087578

    Hi,
    I’m using a header menu with widget area. I thought I had set up all the code correctly but I can’t see the menu or header in mobile view. Please help!
    Thanks.

    #1087843

    Hey connect4consulting,

    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){
        #top #header #header_main .widget {
            display: none;
        }
        .responsive #header_main_alternate {
            display: block;
        }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1088080

    Hi Victoria,
    I’m not sure why it’s not working but essentially the logo is in the widget area and now that is missing on the mobile/tablet view.
    Thanks for your help!
    Gabe

    #1088502

    Hi connect4consulting,

    If you want those text/logo, then replace this part of the code Victoria gave:

    #top #header #header_main .widget {
            display: none;
        }

    and replace it with:

    #top #header #header_main .widget {
        display: block;
        padding: 12px 0 24px;
        text-align: center;
    }
    
    .responsive #top #wrap_all .main_menu {
        float: none;
        position: static;
        height: 55px;
    }
    
    .responsive #top .logo {
        display: block !important;
        margin-top: 0;
        width: 100%;
        height: auto !important;
    }

    this is what the whole code should look like:

    @media only screen and (max-width:767px){
        #top #header #header_main .widget {
            display: block;
            padding: 12px 0 24px;
            text-align: center;
        }
    
        .responsive #top #wrap_all .main_menu {
            float: none;
            position: static;
            height: 55px;
        }
    
        .responsive #top .logo {
            display: block !important;
            margin-top: 0;
            width: 100%;
            height: auto !important;
        }
    
        .responsive #header_main_alternate {
            display: block;
        }
    }

    Best regards,
    Nikko

    #1088734
    This reply has been marked as private.
    #1089047

    Hi connect4consulting,

    Can you try adding this css code as well:

    @media only screen and (max-width: 989px) {
      .responsive #top .av_mobile_menu_tablet #header_main_alternate {
        display: block !important;
      }
      
      .responsive #top .logo {
        padding-top: 4px;
        margin-bottom: 0;
      }
    }

    Best regards,
    Nikko

    #1089257

    Thanks Nikko! That worked beautifully!

    #1089324

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Mobile menu not appearing on site’ is closed to new replies.