Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #561978

    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,

    #562022

    Hey Sigmund!

    try this code in Quick CSS field:

    .responsive #top #wrap_all #header {
        position: fixed;
    } 
    

    Regards,
    Andy

    #562067

    Hi Any,
    I have tried that already, but it deletes the rest of the main page.
    http://de.tinypic.com/r/24b7yp2/9

    Regards

    #563204

    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

    #563219

    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

    #563259

    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

    #563306

    Hi,
    the first portfolio entry is hidden under the header. I have made a screenshot.

    Regards

    #563333

    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

    • This reply was modified 8 years, 11 months ago by Andy.
    #563436

    Hi Andy,
    thanks, I have made it your way and it works out fine.

    Regards

    #563728

    Hi,

    Great, glad you got it working :-)

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Sticky Menu on mobile (desktop has left side menu)’ is closed to new replies.