Tagged: logo, scroll, sticky header
Until now I had the logo to change to a different image when scrolling down. I used this CSS:
.header-scrolled .logo img { opacity: 0; }
.header-scrolled .logo a {
background-image: url(/wp-content/uploads/2017/01/logo-ruff-cycles-transp-2-sm.png);
background-size: contain;
background-repeat: no-repeat;
}
It worked fine until now, but since the update to Enfold 4 this doesn’t seem to work anymore. It just doesnt show anything when you now scroll down.
Hey Stefan,
Sorry for the late reply!
You are already using a transparent header on your page so you can simply go to Enfold theme options > Header > Transparency Options and upload your transparent logo which will be displayed on page load and in General Settings you can upload the logo you would like to display when scrolled down.
Best regards,
Yigit
Hi. What if I’m not using a transparent header (#fff). Is it possible?
Hi niguli,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
Victoria
hi Victoria. I opened this new thread, thanks.
Hi niguli,
Great :)
We are closing the thread to avoid confusion.
Best regards,
Victoria