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.

Karsten Schneider
About Karsten Schneider 302 Articles
He is Consultant for SharePoint Solutions for collaboration, communication and business processes. He provides his customers applications based on standard features as well as development or combining the power of several microsoft tools like Dynamics CRM. 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.