Hide “Site Contents” Link from SharePoint 2013 / 2016 Quick Launch Navigation

Requirement: Hide site content link from left navigation in the SharePoint 2013 or 2016.

How to hide site contents in SharePoint Quick Launch?

In SharePoint, Anyone can see the “Site contents” link to the Quick Launch bar by default. This can be helpful when you want to find the items on your site quickly. However, there may be times when you would like to hide it from some or all of the site’s users. This article will show you how to hide site contents in the Quick Launch.

We can use CSS to hide the “Site Contents” link from SharePoint 2016 quick launch navigation.

Hide "Site Contents" Link from SharePoint 2013 Quick Launch Navigation

Hide all site content from quick launch SharePoint with CSS

Edit your SharePoint Master page, insert a “Script Editor” web part and add the below code in it. 

<style>
#sideNavBox a[href$="/_layouts/15/viewlsts.aspx"]
 {
    display: none;
 }
</style>

To remove site content from the quick launch of SharePoint 2013 sites, add this CSS to the master page, Or you can have it in the Alternate CSS sheet.

 remove site contents from sharepoint 2013

Save and Publish your master page.

If you want to remove the “Site Contents” link permanently, You can: Click on “Edit Links” under Quick Launch, edit, and remove the “Site Contents” link. Same can be done by: Go To Site Settings >> Quick Launch >> site content  >> click on edit icon >> Delete.

hide all site content from quick launch sharepoint 2013

The above methods work on SharePoint 2016 as well!

Related Post: How to Hide View All Site content & Recycle Bin Links in SharePoint 2010/MOSS 2007?

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

8 thoughts on “Hide “Site Contents” Link from SharePoint 2013 / 2016 Quick Launch Navigation

  • Go to Site Settings, Tree view, turn off, Enable Tree View. This will “hide” the Site Contents items.

    Reply
  • It worked for me too, with SharePoint 2019!
    Thanks!

    Reply
  • quick launch does not show the site content. I am unable to remove it.

    Reply
  • remove from Quick Launch is not working in SharePoint 2016

    Reply
  • This is just what I was after. Couldn’t find the publish button though but appears to have worked just saving. LEGEND!

    Reply
  • Thank you! You saved me from a huge headache!

    Reply
  • Thank you. This worked like a charm!!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *