Hi,
I wanted to have a fixed header on mobile. So i added the following code:
@media (max-width: 979px) {
.site {
margin-top: 69px;
}
.x-navbar {
position: fixed !important;
width: 100%;
left: 0;
top: 0;
right: 0;
}
}
The fixed header works almost fine on mobile. But since the header is fixed the content lags. I tested it on a iphone 6.
How can i fix this?
Thank you in advance.