How do I stop the header changing colour when I rollover?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
beeswax

How do I stop the header changing colour when I rollover?

Post 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.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: How do I stop the header changing colour when I rollover?

Post 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
beeswax

Re: How do I stop the header changing colour when I rollover?

Post by beeswax »

That creates another problem, as it changes the colour of the menu items on roll over as well.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: How do I stop the header changing colour when I rollover?

Post 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
Locked

Return to “Layout and Design (CSS & HTML)”