Käynnissä

Get a menu item change color

I have an old site that I am maintaining. I am using JQuery to detect which URL a visitor is on and then set that menu item to "current" by adding a class to that item. I do however have a problem, it might be due to Jquery or CSS specificity, I am not sure. I can change font weight but for some reason I can't change color. The font color is indeed specified in a more specific rule, but using the same rule, just changing the class, doesn't work.

I suspect that this is a noobie problem and those of you who do this kind of stuff on a regular basis would fix it in a flash.

On the page below you see the side navigation item in bold, but I want to change color too.

[url removed, login to view]

I have attached the main css, the Jquery, and an include of the navigation menu.

Taidot: CSS, jQuery / Prototype

Näytä lisää: css menu color change, menu item color, url change menu item color change problem jquery, this class jquery, jquery include, jquery class, include jquery, get prototype, a prototype is, url change, primavera, change url, php font color, php change color, jquery page change, menu color, jquery menu navigation, main menu css, basic prototype php, primavera training, problem jquery menu, site navigation menu php, jquery set menu, regular css, css regular

About the Employer:
( 35 reviews ) Huddinge, Sweden

Projektin tunnus: #4276855

Myönnetty käyttäjälle:

girgis77

Hi, ready to finish this

30 $ USD 1 päivässä
(30 arvostelua)
4.6

6 freelanceria on tarjonnut keskimäärin 30 $ tähän työhön

scriptphp87

Hello Please read more than private message thank you

200 $ USD 3 päivässä
(16 arvostelua)
4.6
arel

Solution in PM!

30 $ USD 0 päivässä
(14 arvostelua)
4.3
tevuasohe

Hello, So you want it to be red? :D. done it. anyway, give me the project and I will fix it now in a few moments :). Best regards! Matei Laurentiu

30 $ USD 1 päivässä
(10 arvostelua)
3.9
AspenProjects

Please see PMB

30 $ USD 1 päivässä
(5 arvostelua)
3.4
suvendukm143

Hello Sir, ready to start. Quick professional service guaranteed. Please Check PMB for more details. Regards, Suvendu

30 $ USD 0 päivässä
(0 arvostelua)
0.0
rade88

Hi I am experienced developer and I can fix you this quickly - now. Regards

30 $ USD 1 päivässä
(0 arvostelua)
0.0