Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hi trying to target the only the first list item of a sub menu with current-menu-item class, but having no joy. Any help link to example jsfiddle

share|improve this question

closed as off topic by Rarst Dec 20 '11 at 18:21

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer

up vote 0 down vote accepted

I was able to get the current menu item to be blue using this:

.current-menu-item li a{
color: blue
}
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.