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

    Hi there,
    I’ve entered some custom css to keep the header “sticky” for mobile but now it is covering some of the page content. As you can see in the link below (on mobile), the header is covering some of the photo at the top. Please help me fix this!

    #559670

    Hey stacieclark!

    Add this to your custom CSS.

    @media screen and (max-width: 767px) {
    #top #main {
        top: 80px !important;
        position: relative;
    }
    }

    Cheers!
    Elliott

    • This reply was modified 8 years, 10 months ago by Elliott.
    #559694

    that doesn’t work… did you test it and see it work on your side? You can see the issue on any of the dropdowns under “Solutions” since all those pages are laid out the same…. I have removed the code you sent since it didn’t work. Any other ideas?

    #559802

    Hi,

    Please try the following instead:

    @media only screen and (max-width: 767px) {
    #av-layout-grid-1 {
    margin-top:82px !important;
    }
    }

    Cheers!
    Rikard

    #560279

    Thanks Rikard! That worked awesome!

    #560449

    Hi,

    Great, glad we could help :-)

    Cheers!
    Rikard

    #864570

    Hello, I’m having the same issue. This worked for me but not when the header menu is sticky? How do you get them both to work.

    #864849

    Hi nteinert,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

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