Tagged: Fixed Header, mobile header, sticky header
Hey guys,
is there any way to get the header working as on desktop?
So is there a chance to get working on mobile/tablet?
Thanks in advance! :)
Hey,
Please refer to this post – https://kriesi.at/documentation/enfold/header/#sticky-header-on-mobile
Regards,
Yigit
Hey Yigit,
well okay I implemented the code and switched the max-width to 988px. But unfortunately on tablet, the header is not sticky.
Any suggestions?
Hi,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
@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;
}
}
After applying the css, Please clear your browser cache and check.
Best regards,
Mike