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
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
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
Hi,
I’m seeing them both fade in and out.
Best regards,
Jordan Shannon
Hi Jordan,
Yes I figured out how:
header.av_header_transparency .contact-widget {
opacity: 1 !important;
}
header .contact-widget {
opacity: 0 !important;
transition: .4s;
}
Hi,
Great! Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon
Hi,
No problem at all my friend! If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon