Title: Multiple menu items highlighted when using anchors
Last modified: August 24, 2016

---

# Multiple menu items highlighted when using anchors

 *  [wsnz](https://wordpress.org/support/users/wsnz/)
 * (@wsnz)
 * [11 years ago](https://wordpress.org/support/topic/multiple-menu-items-highlighted-when-using-anchors/)
 * Hi there,
 * On the home of our WP site we’ve embedded a number of anchors in different sections
   within the same page. We’ve created a menu bar and have successfully linked menu
   items to their respective anchors.
 * The issue is that by default, all of the menu items that have links to anchors
   on the home page are highlighted when any anchor on that page is selected. What
   we’d like is for just the menu item that has been selected to be highlighted.
 * What’s the simplest solution for this?
 * Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [spacexgen](https://wordpress.org/support/users/spacexgen/)
 * (@spacexgen)
 * [11 years ago](https://wordpress.org/support/topic/multiple-menu-items-highlighted-when-using-anchors/#post-6152499)
 * Please give link of your website, It will easy to understand problem.
 *  Thread Starter [wsnz](https://wordpress.org/support/users/wsnz/)
 * (@wsnz)
 * [11 years ago](https://wordpress.org/support/topic/multiple-menu-items-highlighted-when-using-anchors/#post-6152520)
 * The dev site is internal only at the moment, but here’s a screenshot of the menu
   state that hopefully explains things better.
 * Screenshot 1: The user has selected HOME or SHOP in the menu bar. Both HOME and
   SHOP anchors are on the same wordpress page, with the same page_ID. You can see
   in the screenshot both HOME and SHOP are highlighted whenever a user clicks either
   HOME or SHOP.
 * Screenshot 2: The user has selected the FAQ page. Only that menu item is currently
   highlighted. FAQ’s have a completely separate page_ID.
 * [<A/>](http://imgstorage.blob.core.windows.net/public/Menu_2.png)
 * How can I configure the site so that menu items that are anchors on the same 
   page, don’t cause other menu items to also appear highlighted?
 * Hopefully that clarifies things a bit.
 *  Thread Starter [wsnz](https://wordpress.org/support/users/wsnz/)
 * (@wsnz)
 * [11 years ago](https://wordpress.org/support/topic/multiple-menu-items-highlighted-when-using-anchors/#post-6152521)
 * The dev site is internal only at the moment, but here’s a screenshot of the menu
   state that hopefully explains things better.
 * Screenshot 1: The user has selected HOME or SHOP in the menu bar. Both HOME and
   SHOP anchors are on the same wordpress page, with the same page_ID. You can see
   in the screenshot both HOME and SHOP are highlighted whenever a user clicks either
   HOME or SHOP.
 * [Screenshot one](http://imgstorage.blob.core.windows.net/public/Menu_1.png)
 * Screenshot 2: The user has selected the FAQ page. Only that menu item is currently
   highlighted. FAQ’s have a completely separate page_ID.
 * [Screenshot two](http://imgstorage.blob.core.windows.net/public/Menu_2.png)
 * How can I configure the site so that menu items that are anchors on the same 
   page, don’t cause other menu items to also appear highlighted?
 * Hopefully that clarifies things a bit.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multiple menu items highlighted when using anchors’ is closed to new 
replies.

## Tags

 * [anchor](https://wordpress.org/support/topic-tag/anchor/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [wsnz](https://wordpress.org/support/users/wsnz/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/multiple-menu-items-highlighted-when-using-anchors/#post-6152521)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
