Title: Dropdown Menu Highlighting Issue
Last modified: August 20, 2016

---

# Dropdown Menu Highlighting Issue

 *  [IkeGordon](https://wordpress.org/support/users/ikegordon/)
 * (@ikegordon)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/dropdown-menu-highlighting-issue/)
 * I’m still trying to figure out this issue with my drop down menu for this site.
   [http://0364e38.netsolhost.com/wordpress1/](http://0364e38.netsolhost.com/wordpress1/)
 * I would like the parent page along with the current page to highlight blue depending
   on what page is active. I’ve been able to create code so that the current and
   the parent from the main nav highlight blue, but have been unsuccessful in getting
   the second level subnav parent to highlight without highlighting my entire 3rd
   level list of pages.
 * Here’s my code.
 * #header ul.nav li ul li.current-menu-item a,
    #header ul.menu li ul li.current-
   menu-item a, #header ul.nav li ul li.current_page_item a, #header ul.menu li 
   ul li.current_page_item a { color: #165B94; }
 * #header ul.nav li.current-menu-ancestor a,
    #header ul.menu li.current-menu-ancestor
   a, #header ul.nav li.current-menu-parent a, #header ul.menu li.current-menu-parent
   a, #header ul.nav li.current_page_parent a, #header ul.menu li.current_page_parent
   a, #header ul.nav li.current_page_ancestor a, #header ul.menu li.current_page_ancestor
   a { color: #165B94; }
 * #header ul.nav li ul li.current-menu-ancestor a,
    #header ul.menu li ul li.current-
   menu-ancestor a, #header ul.nav li ul li.current-menu-parent a, #header ul.menu
   li ul li.current-menu-parent a, #header ul.nav li ul li.current_page_parent a,#
   header ul.menu li ul li.current_page_parent a, #header ul.nav li ul li.current_page_ancestor
   a, #header ul.menu li ul li.current_page_ancestor a { color: #165B94; }
 * #header ul.nav li ul li a:link,
    #header ul.menu li ul li a:link { color:#fff;}
 * Can someone help?

Viewing 1 replies (of 1 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 7 months ago](https://wordpress.org/support/topic/dropdown-menu-highlighting-issue/#post-3156503)
 * Try to avoid modifying the theme’s files as any changes you make will erase once
   you update the theme.
 * If you want to add CSS, do so through a [Child Theme](https://wordpress.org/support/topic/dropdown-menu-highlighting-issue/codex.wordpress.org/Child_Themes?output_format=md)
   stylesheet or a [Custom CSS](http://wordpress.org/extend/plugins/custom-css-manager-plugin/)
   plugin.
 * This should resolve the issue.

Viewing 1 replies (of 1 total)

The topic ‘Dropdown Menu Highlighting Issue’ is closed to new replies.

## Tags

 * [Ancestor](https://wordpress.org/support/topic-tag/ancestor/)
 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/dropdown-menu-highlighting-issue/#post-3156503)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
