Changing the font color of just one Main Menu Item

Posted in: Newspaper
Post count: 3

I am stumped. I managed to change the font color of a top menu item, but I can get one (real estate) on the main menu to change color.

Here is the custom css I have presently

#menu-item-528 a{
color: #FF0000; font-weight:bold;
}

#menu-item-360 a{
color:#FF0000; font-weight:bold;
}

The site is http://www.nerdexpress.com/

REAL ESTATE on the main menu is what I want to be red..item 360

Item 528 is a top menu item and it seems to be fine.

Thanks for your help.

Post count: 22421

Hello,
The code does not apply first because yopu use an id selector # not a class selector: . (top menus uses id’s, the main menu uses classes)
and you also need to have it set to important so it will not get overwritten:
.menu-item-360 a{
color:#FF0000!important;
font-weight:bold!important;
}

I hope this helps.
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.