Share via

Share Point Menu Option

Anonymous
2021-02-02T21:52:25+00:00

Hello, 

Is there a way I can anchor a specific section of a page, onto the Navigation Menu on the SharePoint site?

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2021-02-03T05:35:13+00:00

    Hi again,

    We can modify the page layout from the back end with some script like this,  but it doesn't seem be able to be realized in SharePoint Online since we can not change the layout. 

     if($(window).width() < 1438)
    {
    $("#arrow-down").click(function() {
        $('html,body').animate({
            scrollTop: $("#officina-page").offset().top -120},
            'slow');
    });
    }
    
        else if($(window).width() > 1439 && $(window).width() < 1558)
    {
       $("#arrow-down").click(function() {
        $('html,body').animate({
            scrollTop: $("#officina-page").offset().top -130},
            'slow');
    });} 
    

    Regards,

    Jason

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-02-03T01:16:26+00:00

    Thank you, yes anchoring to a section on the page has worked for me previously. I was interested in anchoring a section of the page to the navigation menu. Is there a work around or timeline as it is temporary?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2021-02-03T01:05:14+00:00

    Hi, 

    We’ve shipped anchors on pages for all text web part headings (H1, H2, H3). Simply hover over a heading on a modern page and you’ll see the link symbol to that anchor. but it seems that we temporarily cannot add onto the Navigation Menu, it may involves modifying the properties of the web page.

    This video will show you the detailed steps to anchor a section on a page.

    Refer to: Using On Page Anchors in SharePoint Online

    Hope this helps you.

    Regards,

    Jason

    Was this answer helpful?

    0 comments No comments