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

Tietoa työnantajasta:
( 35 arvostelua ) Huddinge, Sweden

Projektin tunnus: #4276855

Myönnetty käyttäjälle:


Hi, ready to finish this

$30 USD 1 päivässä
(30 Arvostelua)

6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hello Please read more than private message thank you

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

Solution in PM!

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

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)

Please see PMB

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

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)

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

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