Hide recycle bin in SharePoint 2010

How to hide recycle bin and view all site contents in SharePoint 2010 or Remove ‘All Site Content’ and ‘Recycle Bin’ link ?

Hide recycle bin in SharePoint 2010

1. Open your master page.  In this example, I opened V4.Master.  Go above </head> and past the following CSS code

 1: <style>  
 2: .s4-specialNavLinkList
 3: {   
 4: display:none !important;
 5: }  
 6: </style>

CSS code to Hide Recycle Bin in SharePoint 2010

2. Check in your master page and publish your master page as Major version for everyone to see your change.  Now go back to you site and you won’t see View All Site Contents and Recycle Bin in SharePoint 2010 Pages.

Removed 'All Site Content' and ‘Recycle Bin’

Removed ‘All Site Content’ and ‘Recycle Bin’ link in SharePoint 2010 using CSS code

Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

8 thoughts on “Hide recycle bin in SharePoint 2010

  1. Hi Aryan,

    I’ve used your HTML to remove the recycle bin and all site content but it leaves a box at the top left where the recycle bin and all site content was which stops the rest of the page moving to the left.
    Could you tell me how to remove the box?
    Otherwise very good
    Many thanks Simon

  2. Hi, thanks for the help, it works but only the administrators see the changing, the users or visitants see the all site content…can you help?

  3. Hi,
    Can you tell me how can we remove or hide the “Lists” link button which is used to create new list. If we delete from navigation then the lists name under “Lists” link button is spliting. I mean, if we create 2 lists with large name which will go under “Lists” link button. if we delete this “Lists” link button from navigation then my list name is spliting in new line. So i want to hide the option “Lists” link button from left navigation.How can i do this?

  4. Hi,
    I have tried to remove both (Recycle bin and All sitecontent) with this code in v4.master. If Sharepoint\admin is logged everything looks well, this two links are disabled. For other users NOT. Any idea?
    Thanks a lot.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: