Page 1 of 1

Change text color & background in menu on mouseover?

Posted: Mon Jul 30, 2007 8:36 am
by r00ki3
Hi there,

I've a sort of yellow menu and when you're moving your mouse over a menuitem, the item gets blue.
the problem is...the text in the menu is already blue, so if you're moving your mouse over the menu the text becomes unreadable.

I can change background color and so on but nothing works the way i want it  >:(

the example can be found here: http://pcs-neurofeedback.martinstruik.nl

Any help would be much appreciated!

Re: Change text color & background in menu on mouseover?

Posted: Mon Jul 30, 2007 8:48 am
by RonnyK
Don't you want the blue-ish effect, or do you want a different text-color:

The text-color is set in the "#primary-nav LI A" where "COLOR: #437bb9;" is the text-color.

The background on hovering is done in:

Code: Select all

#primary-nav LI.menuh {
	BACKGROUND-COLOR: #437bb9
}
You now have both the same color, leading to a problem when hovering, you might want to change one of the colors, change the color additionally on hovering, to have it blue with a different color.

Ronny

Re: Change text color & background in menu on mouseover?

Posted: Mon Jul 30, 2007 2:20 pm
by r00ki3
Yeah i know...but that's the problem...
it's hard to explain but let's give it a try  ;D

In "normal mode"
1. Background has always to be yellow
2.Text has to be blue

On hover:
1.Background has to be blue
2 Text has to be yellow

As active:
1.Background has to be blue
2 Text has to be yellow

thnx...maybe someone can help me with that...