Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1406390

    Hi
    I have the header set to transparency mode with changing colors when scrolling down (which are the same colors as in mobile view).
    I managed to bring the position of the logo to the front (z-index:0) in mobile view (in transparency mode the whole logo is by default fully visible) but I could not figure out which is the right css code for bringing it up front also in scrolling mode. Can you help me here?
    Thanks in advance
    regards,
    Verena

    #1406478

    Hey landhausaustria,
    Please link to your page so we can examine it and make a recommendation.

    Best regards,
    Mike

    #1406481
    This reply has been marked as private.
    #1406490

    Hi,
    Thank you for the link to your site, when I check your logo it hangs out of the header and over the page content on desktop and mobile, please see the screenshots in the Private Content area.
    As I read your original post again you seem to be asking about the scrolling mode of the mobile header, but on mobile devices the header is not sticky or fixed by default and I don’t see any customization to make the mobile header fixed, is this what you are asking for?
    If so try this css:

    @media only screen and (max-width: 767px) { 
    .html_header_sticky.html_mobile_menu_tablet #top #wrap_all #header,
    .html_header_sticky.html_header_transparency #top #wrap_all #header,
    .html_header_sticky #top #wrap_all #header {
        position: fixed;
    }
    
    .html_header_sticky #top #header_main .container,
    .html_header_sticky #top .main_menu ul:first-child>li a {
        height: inherit !important;
        line-height: inherit !important;
    }
    .html_header_sticky #top #wrap_all #main {
        padding-top: 119px !important; 
    }
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1406945

    Hi Mike

    thank you so much for your reply and suggestion. I am in fact asking about the scrolling mode of the desktop header, not the mobile header. I am satisfied with the mobile header just as it i, especially with the overlapping logo. I want the logo to be as overlapping as in mobile view when scrolling down on desktop.The lower part of the logo seems to remain overlapping but the “head” of the logo gets covered by the small header (green). (Please see image below)

    Thanks again for your advise
    Regards, Verena

    #1406948

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #header #header_meta {
        z-index: 1;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1407043

    Thank you so much Mike, now its working as expected :-)

    We can close this one thx
    Regards,
    Verena

    #1407074

    Hi,

    Glad to know that the solution is working! Thanks to @Mike. Please let us know in a different thread if you have more questions.

    Have a nice day.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to make changes in header in scrolling mode’ is closed to new replies.