Hi there,
I wanted no logo to appear in the header until I scroll down. In order to accomplish I created a transparent logo as a place holder for the regular logo...
I then used data-sticky-logo to set the regular logo...
It is now performing the way I would like...
But I imagine there is a more elegant way to accomplish this... Is there?
In short, I would like NO logo on page load... But as soon as I scroll I would like the logo to appear...
Here is the code I used to accomplish what I wanted.
<!-- Logo
============================================= -->
<div id="logo">
<a
href="index.html"
class="standard-logo"
data-dark-logo="ca-img/carrier-advisors-logo-clear.png"
data-sticky-logo="ca-img/carrier-advisors-logo.png"
>
<a
href="index.html"
class="retina-logo"
data-dark-logo="ca-img/carrier-advisors-logo-clear@2.png"
data-sticky-logo="ca-img/carrier-advisors-logo@2.png"
>
</div>
<!-- #logo end -->
You can see this live here
https://www.carrieradvisors.info/about-us.html
Thank you for your help!!!!!
