Can SharePoint Page Sections Be Added to Site Navigation?
Question details
The user wants to know if they can link directly to a specific section of a SharePoint page from the main site navigation menu and asks if any workarounds exist.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Customizing the site navigation menu to include quick links that jump to specific sections on a modern SharePoint page.
- Observed behavior
- SharePoint Online does not natively support adding page-section anchors directly into the global site navigation menu, and custom JavaScript modifications are not permitted in modern page layouts.
Ensure you have Site Owner or Editor permissions to modify the site navigation, and that the page you want to link to is fully published.
Use Custom Links in Site Navigation via Heading Anchors
While there is no native interface to select a section directly from the navigation editor, you can manually copy a heading's anchor link and add it as a custom URL to your site navigation.
Modern SharePoint automatically generates anchor links for H1, H2, and H3 headings placed inside standard Text web parts.
By copying these links, you can paste them into the navigation menu as standard hyperlinks. Keep in mind that clicking an anchor link from another page will load the page and jump to the section, but navigating from the same page may require a manual page refresh depending on your SharePoint environment.
Edit your SharePoint page, add a Text web part, and style your target text using the Heading 1, Heading 2, or Heading 3 formats.
Publish or save the page as a draft. Hover your cursor over the heading text to reveal a link icon. Right-click the icon and copy the link address.
Click 'Edit' on your site's main navigation menu (usually on the left or top). Click the '+' icon to add a new navigation node.
Choose 'Link' as the option, paste the copied anchor link into the Address field, enter a Display Name, and click 'OK'. Save your navigation menu.

Create an In-Page Navigation Menu using Quick Links
Since global site navigation does not perfectly support anchor jumps on the same page, building an in-page navigation using the Quick Links web part provides a better user experience.
Boost Your Productivity with WPS Office
While SharePoint navigation requires specific workarounds, your daily document management doesn't have to be complicated. If you are looking for a reliable, fast, and free alternative to Microsoft Office for creating Word documents, Excel spreadsheets, and PowerPoint presentations, WPS Office is an exceptional choice.
- 1. Download and install: Get WPS Office for free from the official website and install it on your device (Windows, Mac, Linux, iOS, or Android).
- 2. Open existing Office files: Open your standard .docx, .xlsx, or .pptx files directly in WPS Office without worrying about formatting loss.
- 3. Work seamlessly: Enjoy a familiar interface that requires zero learning curve, allowing you to focus completely on your work.

Frequently Asked Questions
Why don't my SharePoint headings generate anchor links?
Anchor links are only generated automatically for standard Text web parts formatted as Heading 1, Heading 2, or Heading 3. Ensure you are not using a custom web part or title area, and verify that the page is saved or published before hovering to see the link.
Can I use custom JavaScript to fix page section navigation in SharePoint Online?
No. While custom JavaScript could modify page behavior in older classic SharePoint versions, modern SharePoint Online page layouts cannot be modified with custom scripts for security and stability reasons.
Do anchor links in SharePoint work on mobile devices?
Anchor links generally work on mobile web browsers, but their behavior can be inconsistent inside the dedicated SharePoint mobile app. Always test your jump links across devices to ensure the best user experience.




