Before you ask please READ THIS

Different Logo Images for Normal and Fixed (Sticky) Headers?

edited May 2014 in Superior Posts: 5
Is there a way that I can have two different logo images for the normal and fixed headers.. I want my header to go from a light background to a dark when it becomes fixed, and my logo image would need to change to reflect the change in background color. I've tried every trick I can think of with CSS with no results besides changing the background and link colors.

Comments

  • AirAir
    Posts: 10,970
    Hello :-)

    Set background-image on <a>, and when header is fixed set opacity: 0; for <img>. Should do the trick ;-)

    With regards.

  • Posts: 5
    Will give it a shot, thank you!
  • Posts: 5
    It worked! Thank you!! :D
  • AirAir
    Posts: 10,970
    I am glad ;-)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion