Page 1 of 1
How do I stop the header changing colour when I rollover?
Posted: Mon Jan 28, 2008 8:06 pm
by beeswax
I'm knocking up a little site for our ICT dept here -
http://www.falingepark.com/ICT/. If you roll over the header section it changes colour as if it was a menu item. Where can I locate the code to stop this happening?
I'm using 1.2.3 Black Rock.
Re: How do I stop the header changing colour when I rollover?
Posted: Mon Jan 28, 2008 8:27 pm
by RonnyK
In the default there is a
Code: Select all
/* remove underline on hover and change color */
a:hover {
text-decoration: none;
background-color: #C3D4DF;
color: #385C72;
}
that causes the effect on hovering, as the header has a link inside.....
Ronny
Re: How do I stop the header changing colour when I rollover?
Posted: Mon Jan 28, 2008 9:10 pm
by beeswax
That creates another problem, as it changes the colour of the menu items on roll over as well.
Re: How do I stop the header changing colour when I rollover?
Posted: Mon Jan 28, 2008 9:11 pm
by RonnyK
If you delete the background-color part of it, you could insert that logic in the menu-styling specifically if you want it over there.....
Ronny