SharePoint Online - How do i hide 'Edit Links' for all users?

helloworldfromed 51 Reputation points
2020-08-24T21:57:58.45+00:00

sdfafsfasfsdaf

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

3 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,126 Reputation points
    2020-08-25T02:15:36.447+00:00

    You could use some code in your master page to hide "Edit Links".

    The code is in the below attachment: code.txt

    20051-image.png


    If the response is helpful, please click "Accept Answer" and upvote it.


  2. MichaelHan-MSFT 18,126 Reputation points
    2020-08-27T09:46:37.463+00:00

    Hi @EdwardKim-1648,

    If you are using modern sites in SharePoint Online. There's no OOB ways to hide Edit Links in Navigation,

    If you are familiar with SharePoint devlopment, you could deploy the SPFX: react-application-injectcss

    Then inject a custom Cascading Style Sheet (CSS) on modern pages to hide the Edit Links.

    0 comments No comments

  3. Karnov 1 Reputation point
    2022-10-28T23:49:08.397+00:00

    Any update to this? Seems like a lot of half-baked implementation of SPO going on.

    0 comments No comments

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.