Change text color & background in menu on mouseover?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

Change text color & background in menu on mouseover?

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

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

Post 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
Last edited by RonnyK on Mon Jul 30, 2007 8:51 am, edited 1 time in total.
r00ki3
Forum Members
Forum Members
Posts: 87
Joined: Thu Apr 12, 2007 11:16 am

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

Post 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...
Post Reply

Return to “CMSMS Core”