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

    Hi! I hope everyone is doing OK.

    On my test environment I have created a widget in the header following this documentation: https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area Works great!

    What I want, is to have the widget disappear on scroll, just like the logo does. Can you help me realise this? The link is in the private section.

    Thanks!
    Daniel

    #1194513

    Hey Daniel,

    Add this to quick css:

    header.av_header_transparency .contact-widget {
    display:block!important;
    }
    
    header .contact-widget {
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #1194755

    Hey Jordan,

    Thanks, it works but I am looking for the same effect as with the logo. The two different effects next to each other don’t match now.

    Thanks!
    Daniel

    • This reply was modified 4 years, 9 months ago by Daniel.
    #1194826

    Hi,

    I’m seeing them both fade in and out.

    Best regards,
    Jordan Shannon

    #1194828

    Hi Jordan,

    Yes I figured out how:

    header.av_header_transparency .contact-widget {
      opacity: 1 !important;
    }
    
    header .contact-widget {
      opacity: 0 !important;
      transition: .4s;
    }
    • This reply was modified 4 years, 9 months ago by Daniel.
    #1194836

    Hi,

    Great! Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1194838

    Hi @jordan_s,

    You may close, thanks again for your help! 👍

    Regards, Daniel

    #1194841

    Hi,

    No problem at all my friend! If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Logo disappears on scroll: same for widget in header’ is closed to new replies.