Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
This is going to be strange for my first support request but i got to have it…. if i can… your logo for your site the little elephant that moves could i get a code snippet of how you did it? I would like to re-purpose it and i would give credit to you guys….
Thank You
The Teck Walker
Hi Teck Walker
Thanks for reaching out.
You’ll need a bit of a background in HTML/CSS to make use of this. If you’re using this with a WordPress theme/Vantage, please don’t forget to use a child theme.
Here we go:
HTML:
CSS:
#masthead #logo { line-height: 0; position: relative; width: 190px; height: 44px; display: block; float: left; margin-top: -9px; } #masthead #logo img { position: absolute; top: 0; left: 0; } #masthead #logo .hover-text { opacity: 0; position: absolute; line-height: 1; font-family: 'Short Stack', cursive; font-size: 9px; text-indent: 0; color: #777777; text-decoration: none !important; left: 57px; bottom: 40px; pointer-events: none; -webkit-transition: all 0.35s ease; -moz-transition: all 0.35s ease; -o-transition: all 0.35s ease; transition: all 0.35s ease; } #masthead #logo .hover-logo { display: none; } #masthead #logo:hover .hover-logo, #masthead #logo:hover .hover-text { display: block; opacity: 1; } #masthead #logo:hover .normal-logo { display: none; }I’m going to repeat a little section of CSS from above, you shouldn’t/don’t need to repeat it. This is the important bit:
#masthead #logo .hover-logo { display: none; } #masthead #logo:hover .hover-logo, #masthead #logo:hover .hover-text { display: block; opacity: 1; } #masthead #logo:hover .normal-logo { display: none; }We’re basically hiding the hover logo and the displaying it on hover while also hiding the original on hover.
Hope that helps.