Support » Themes and Templates » Change color of current menu item

  • Resolved Shr.Khr

    (@shrkhr)


    I am experimenting with a theme for WP 3.5 which can be found here.

    For hours now I have been trying to change the color of the current menu item, however my efforts have been fruitless.

    So, I was hoping that someone here can help me.

    This is what I am trying to achieve:

    When I am on the ‘Home’ page, I want its menu text color to change to blue, while the others will remain black.

    When I am on the ‘Sample Page’ page, I want its menu text to turn blue while the others will remain black.

    I can see in the style.css file that there is a ‘current-menu-item’ rule; but I am unable to use it.

    Can someone please tell me what CSS to use here.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change color of current menu item’ is closed to new replies.