Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #985959

    Hi, how can I make the mobile menu fixed so it will always stick to the top of the site even when scrolling?

    Thanks.

    #986007

    Hey DROR,

    Add this to quick css:

    .av-hamburger{
        position: fixed!important;
        background: #fff!important;
        padding: 0px 0px!important;
        border-radius: 80px!important;
        width: 80px!important;
        height: 80px!important;
    }

    Best regards,
    Jordan Shannon

    #986294

    Thanks Jordan but that looks very bad… I want the entire top section of the site to remain the same when scrolling. Not just the menu icon. The logo and the menu icon along with the white background.

    #986468

    Hi bakbek,

    Can you try adding this css code in QUick CSS (Located in Enfold > General Styling):

    @media only screen and (max-width:767px) {
      .responsive #top #wrap_all #header {
        position: fixed;
        top: 0;
      }
    
      .responsive #top #main {
        padding-top: 80px !important;
      }
    }

    Best regards,
    Nikko

    #986520

    Thanks!

    I tried implementing on another site but it isn’t working the same way. Do I need a different code for every site?

    #986549

    Hi,

    Yes each site would need its own unique implementation based on classes, id, etc.

    Best regards,
    Jordan Shannon

    #986878

    Thanks Jordan. Can you tell me what would be the code to use on this site to make it work?

    #987057

    Hi bakbek,

    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) {
        .responsive #top .av-main-nav .menu-item-avia-special {
            position: fixed;
        }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #987072

    Hi Victoria, that didn’t work.

    #987532

    Hi,

    Add this to the very top of quick css so that it runs first:

    @media only screen and (max-width:767px) {
      .responsive #top #wrap_all #header {
        position: fixed !important;
      }
    
      .responsive #top #main {
        padding-top: 150px !important;
      }
    }

    Best regards,
    Jordan Shannon

    #988437

    Still not working… any idea why?

    #988636

    Hi bakbek,

    I have checked your site on my phone and the code works properly.
    I could see the mobile menu fixed on top even when I’ve scrolled the page.

    Best regards,
    Nikko

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.