SharePoint – How To Hide Recycle Bin & View All Site Content links in SharePoint 2010 and 2007

Sometimes more functionality is confusing to the end user.  While I think these are good features to have, just like with the article from last month : http://iedaddy.com/2010/02/how-to-hide-left-display-panel-in-sharepoint-2010/ the owner wants the site to “look less sharepointy”.  And so here’s how to remove the Recycle bin from your pages as well:

The easiest way is to use the old school CEWP trick that worked even back in 2003, just add a the Web Part that now has the name Content Editor and add the following text in the HTML Source mode:

In a 2007 site:

<style type="text/css">
.ms-quicklaunchheader{display: none;}
.ms-recyclebin{display: none;} 
</style>

In a SharePoint 2010 Site:

<style type="text/css">

/* To Hide both */
.s4-specialNavLinkList{display:none;}

/* To Hide "Recycle bin" */
.s4-rcycl{display:none;} 

/* To Hide "All Site Content" */
#ctl00_PlaceHolderLeftNavBar_PlaceHolderQuickLaunchBottom_PlaceHolderQuickLaunchBottomV4_idNavLinkViewAllV4{display:none;}

</style>

One thought on “SharePoint – How To Hide Recycle Bin & View All Site Content links in SharePoint 2010 and 2007”

Leave a Reply