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

Requirement: Hide site content link from left navigation SharePoint server 2013

How to hide site contents in SharePoint 2013 Quick Launch?

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

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

Hide all site content from quick launch SharePoint 2013 with CSS

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

#sideNavBox a[href$="/_layouts/15/viewlsts.aspx"]
    display: none;

To remove site content from quick launch of SharePoint 2013 sites, Add this CSS to master page, Or you can have it in 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 works 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 is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

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

  • August 27, 2020 at 2:29 PM

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

  • May 24, 2020 at 8:19 PM

    It worked for me too, with SharePoint 2019!

  • July 6, 2019 at 3:46 AM

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

  • June 21, 2019 at 9:13 AM

    remove from Quick Launch is not working in SharePoint 2016

  • February 23, 2019 at 8:05 PM

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

  • January 3, 2017 at 9:14 PM

    Thank you! You saved me from a huge headache!

  • April 28, 2016 at 5:53 PM

    Thank you. This worked like a charm!!


Leave a Reply