Hi,
is there any quick CSS that makes the top nav and secondary menu sticky on Mobile?
Thanks
Hey woogie07,
Could you post a link to where we can see the elements in question please?
Best regards,
Rikard
Hi
Website link in private
thanks
Hi,
Please try this code in the General Styling ▸ Quick CSS field
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all #header {
position: fixed !important;
}
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike
Hi,
Since adding the CSS, when you view on a mobile, the top of the content on each page is cut off (just under the header section)
Please advise.
Thanks
Hi,
Try this css instead:
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all #header {
position: fixed !important;
}
.html_header_transparency #wrap_all #main,
.responsive #top #wrap_all #main {
padding-top: 100px !important;
}
}
After applying the css, please clear your browser cache and check.
Best regards,
Mike