SharePoint 2010 How to hide the recycle bin and the all site content links

Sometimes you wish that your users or the users of your customer could not click or see the links like recycle bin and all site content.You can deactive the recycle bin or set permissions to not see the all site content, but what if that does not fit to the rest of your SharePoint Site? What if you do not want to deactivate it?

Well, it is not that difficult as you might expect.

Step 1: Add a Content Editor Webpart to your site

you can also add the css-stylesheet for the class in master page or your custom css file. But then it will hide the recycle bin and the link all site content on each page. So if you only want to hide these on a certain page it would not help to put it into the masterpage.

This css code changes / overwrites the original css file. After that you can hide the content editor webpart, so that the user won’t see your trick 🙂

Step 2: Hide the content editor webpart

Et voilá – the result of the left side.

As you can see you cannot see the recylce bin nor the all site content

Hope this helps you to hide some functionality of SharePoint 🙂


The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.

About Karsten Schneider 312 Articles
Consultant for Microsoft 365 Applications with a strong focus in Teams, SharePoint Online, OneDrive for Business as well as PowerPlatform with PowerApps, Flow and PowerBI. I provide Workshops for Governance & Security in Office 365 and Development of Solutions in the area of Collaboration and Teamwork based on Microsoft 365 and Azure Cloud Solutions. In his free time he tries to collect tipps and worthy experience in this blog.

2 Trackbacks / Pingbacks

  1. Sharepoint | Pearltrees
  2. How To Hide Your Recycle Bin | Triphasic Chart

Leave a Reply

Your email address will not be published.