Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1367589

    Dear team,
    on my draft page below the logo / burger does not stick on smartphone (tablet it looks ok)

    I use the following CSS:

    /*Sticky header*/
    @media only screen and (max-width: 989px) {
    .html_stretched.responsive.html_mobile_menu_tablet.html_header_top #top #main {
    margin-top: 90px !important;
    }
    .html_stretched.responsive.html_mobile_menu_tablet #top #wrap_all #header {
    position: fixed !important;
    }
    }

    How to modify the CSS in order to fix this?

    thx a lot & best regards Tilman

    #1367657

    Hey Tilman,

    Thank you for the inquiry.

    We modified the css code above to re-enable the fixed header on mobile view.

    /*Sticky header*/
    @media only screen and (max-width: 989px) {
      .html_stretched.responsive.html_header_top #top #main {
        margin-top: 90px !important;
      }
    
      .html_stretched.responsive #top #wrap_all #header {
        position: fixed !important;
      }
    }
    

    Please toggle or temporarily disable the Enfold > Performance > File Compression settings.

    Best regards,
    Ismael

    #1367683

    Dear Ismael,
    cool – this works :-)

    thx a lot & best regards Tilman

    #1367738

    Hi,

    Glad to know that the modification is working. Please let us know if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Logo / header not sticky on mobile’ is closed to new replies.