Sticky web part

Bitar 6 Reputation points
2022-08-18T12:45:58.457+00:00

Hello guys I am a beginner in SharePoint online, I want to create a table of contents on the right side of the page. I already made it with the Text web part, but it goes up as the mouse scroll down. How can I make the web-part sticky? is there a 3rd party web part that I can use to solve this problem? please help me and thank you

Microsoft 365 and Office SharePoint Development
Microsoft 365 and Office SharePoint For business Windows
{count} vote

1 answer

Sort by: Most helpful
  1. Jing Sun_MSFT 956 Reputation points
    2022-08-19T05:55:37.237+00:00

    Hi @Bitar ,
    There are currently no relevant settings to make the position of a web part fixed and make the web part not scroll with the page. To achieve this, you could inject CSS/JS to the page using SharePoint Framework (SPFx) Extensions.
    Please take a reference to this article:

    Overview of SharePoint Framework (SPFx) Extensions | Microsoft Learn


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.