Hi @ Kriesi,
I like to have the header with the menu sticky on mobile devices. Logo and Main Menu are in the sidebar left in desktop view, so I cannot modify the header section in the enfold options.
Thanks!
Regards,
Hey Sigmund!
try this code in Quick CSS field:
.responsive #top #wrap_all #header {
position: fixed;
}
Regards,
Andy
Hi Any,
I have tried that already, but it deletes the rest of the main page.
http://de.tinypic.com/r/24b7yp2/9
Regards
Hey!
control header’s height with this code in Quick CSS field:
@media only screen and (max-width: 767px) {
.header_bg {
height: 180px;
}}
and adjust as needed.
Cheers!
Andy
Hi Andy,
that works, the header is sticky now. But on mobile the “Arbeiten” Page is under the header now (see link). How do I fix that?
Regards
Hi!
not sure what you mean or where the issue is. Link you have provided to me looks fine to me. What do you want to achieve instead?
Cheers!
Andy
Hi,
the first portfolio entry is hidden under the header. I have made a screenshot.
Regards
Hey!
sure, but you wanted a fixed header on mobile.
You could try to put e.g. an empty color section or anything above your first portfolio element, which you can hide on desktop. Turn on custom class for this: kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Will be quite tricky I think, but maybe you can achieve it.
Or just use whitespace element which you hide on desktop using media queries.
Cheers!
Andy
Hi Andy,
thanks, I have made it your way and it works out fine.
Regards