Tagged: ipad landscape, sticky header
I am using a sticky header for a new website. The sticky header is disabled by default on mobile screens which is fine be me,. However, I would also like to disable the sticky header on a iPad landscape (width 1024px) screen.
How can I do that?
Thank you very much for your help :)
Alwin
Hey Alwin,
Thank you for the inquiry.
You can add this css code in the Quick CSS field to disable the sticky header when the screen width is less than 1024px.
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.responsive.html_mobile_menu_tablet #top #wrap_all #header {
position: relative;
width: 100%;
float: none;
height: auto;
margin: 0 !important;
opacity: 1;
min-height: 0;
}
}
Best regards,
Ismael