Others

Fix SharePoint Highlighting Wrong Navigation Link for Shared Pages

Adam DavisAdam Davis Oct 23, 2026 870 views

Question details

The user needs a way to prevent SharePoint from highlighting the incorrect navigation menu link when the same page is accessible from multiple menu locations.

How to Fix SharePoint Highlighting the Wrong Navigation Link
Product
SharePoint
Device & OS
not provided
Scenario
Navigating a SharePoint site where a single page is linked under multiple different navigation menus (e.g., linked under both 'BG' and 'CZ&SK').
Observed behavior
When the user clicks a specific menu link to open a page, SharePoint highlights a different menu link that also points to that same page. This unexpected behavior occurs across multiple browsers and users.
Before you start

Review your site's navigation hierarchy to identify all folders and dropdowns where duplicate page links are currently placed.

Solution 1Recommended

Change Navigation Layout to Vertical

Switching the site navigation to a vertical layout can sometimes bypass or minimize the impact of duplicate link highlighting issues in SharePoint.

SharePoint handles active state CSS differently depending on the navigation layout. Moving away from cascading or mega menus to a vertical layout has been identified as a functional workaround for multi-link highlighting anomalies.

1
Open Site Settings

Click on the gear icon (Settings) located in the top right corner of your SharePoint site.

2
Access Look and Feel

Select 'Change the look' from the settings panel that appears on the right side of the screen.

3
Modify Navigation Settings

Click on 'Navigation' to view the layout options for your site menu.

4
Apply Vertical Layout

Under the layout options, select 'Vertical' and click 'Save' to apply your changes.

Change Navigation Layout to Vertical
Layout Applied: Test the navigation paths again to ensure the active link highlighting behaves more predictably in the vertical view.
Free Microsoft Office alternative

Looking for a Lightweight Alternative to Microsoft Office?

While SharePoint handles complex team sites and web navigation, dealing with heavy Microsoft environments can be frustrating. For your daily document, spreadsheet, and presentation tasks, try WPS Office. It provides a free, highly compatible, and user-friendly alternative without the enterprise overhead.

  1. 1. Download the Installer: Visit the official WPS website and download the free installer for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the quick on-screen instructions to complete the installation.
  3. 3. Open Your Office Files: Directly open your existing Word, Excel, and PowerPoint files in WPS Office with formatting perfectly preserved.
Fully compatible with Microsoft Office formats including DOCX, XLSX, and PPTX.Lightweight installation with blazing fast startup times on any OS.Familiar, intuitive user interface with zero learning curve.Seamless cloud integration to access documents anytime, anywhere.
microsoft office alternative - wps office

Frequently Asked Questions

Why does SharePoint highlight the wrong navigation link for duplicate pages?

SharePoint relies on the current page's URL to determine which navigation node is active. If the exact same URL exists in multiple navigation locations, SharePoint's engine defaults to highlighting the first structural match it finds in the site map, ignoring the actual path you clicked to get there.

Is there a default SharePoint setting to fix duplicate link highlighting?

No, there is currently no built-in setting in out-of-the-box SharePoint to strictly track and highlight the selected path for duplicate navigation links.

Will changing to a Mega Menu layout resolve the highlighting issue?

No, the incorrect highlighting issue persists across both Cascading and Mega Menu horizontal layouts. The most reliable workarounds are switching to a Vertical navigation layout, restructuring your links to avoid duplicates, or deploying custom SPFx code.