Hey, I’m pretty new at this, but I’m loving Enfold so far.
I’ve managed to change the logo.png completely in the header when it minimizes and turns sticky, but the first logo seems to minimize first before fading over to the second logo. I was wondering if there’s a way to make the logo simply fade over to the second logo as the header minimizes. Quite open to suggestions for alternative ways to fade over between the exchange. Added the url to the webpage in the private content.
Do ask if I’ve left out any specific details.
Hi hilandi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.header-scrolled .logo a {
-webkit-transition: all 2s ease-in-out;
-moz-transition: all 2s ease-in-out;
-o-transition: all 2s ease-in-out;
-ms-transition: all 2s ease-in-out;
transition: all 2s ease-in-out;
}
Cheers!
Yigit
Thanks for the answer, but that didn’t seem to do anything. Currently the Quick CSS looks like this:
.header-scrolled .logo img { opacity: 0; }
.header-scrolled .logo a { insert the logo here); background-repeat: no-repeat; background-size: contain; }
.header-scrolled .logo a {
-webkit-transition: all 2s ease-in-out;
-moz-transition: all 2s ease-in-out;
-o-transition: all 2s ease-in-out;
-ms-transition: all 2s ease-in-out;
transition: all 2s ease-in-out;
}
Hey!
You need to insert the actual logo there:
.header-scrolled .logo a {
background: url(_logo_url_here_);
background-repeat: no-repeat;
background-size: contain;
)
Cheers!
Josue