Title: Modifying nav-menu-template.php
Last modified: August 30, 2016

---

# Modifying nav-menu-template.php

 *  [hookedupon](https://wordpress.org/support/users/hookedupon/)
 * (@hookedupon)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-nav-menu-templatephp/)
 * Hi,
 * I have created my menu using categories. I have a post that has two categories
   assigned.When I go to that particular post, both the categories highlighted. 
   How can I modify the nav-menu or CSS to highlight only one category.
 * The solution given on stackexchange of using nth-of-child does not help me.
 * Can someone please shed some light ot help me figure out?

The topic ‘Modifying nav-menu-template.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [hookedupon](https://wordpress.org/support/users/hookedupon/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/modifying-nav-menu-templatephp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
