0

I want to be able to set a navigation link on a Team site to point to an anchor of a page. Something like this:

https://xxxxxx.sharepoint.com/sites/xxxxxx/SitePages/Page1.aspx#section4

When I set the address to that when editing the navigation link, it strips out the #section4 part of the URL after saving. Is there a way around this?

On a Communication site, it does NOT strip out the anchor tag from the URL in the top navigation, and it works as it should.

1 Answer 1

0

This is a known issue in SharePoint online modern experience.

You can follow this thread: On page Anchors/bookmarks issue found

I have also noticed that the anchored links work on other communication sites but not in root communication site top navigation.

Here are few things you can try/consider:

  1. Create links to headings at the top of page & add page URL in site navigation --> Unfortunately it increases on additional click
  2. Anchored links work in Quick links web part --> If possible create a quick links web part with anchored links on the site home page
1
  • Hi @Robby. Please Upvote(^) and accept as an Answer if it helped you any way & it will help others with similar question in future to find the correct answer easily. It also removes this question from "Unanswered questions" list. Commented Sep 24, 2021 at 6:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.