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!
Hey stacieclark!
Add this to your custom CSS.
@media screen and (max-width: 767px) {
#top #main {
top: 80px !important;
position: relative;
}
}
Cheers!
Elliott
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?
Hi,
Please try the following instead:
@media only screen and (max-width: 767px) {
#av-layout-grid-1 {
margin-top:82px !important;
}
}
Cheers!
Rikard
Thanks Rikard! That worked awesome!
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.
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