FOLLOW US

Friday, February 17, 2012

How to hide Recycle Bin and All Site Content in SharePoint 2010

If you want to hide Recycle Bin and All site Content in the Quick Launch menu in SharePoint 2010, you can use custom CSS for this.


For one of our customers, we've created a custom CSS named CoreOverrides.css in SharePoint 2010. In this CSS we inserted a display:none element as follows:

/* Hide All Site Content and Recycle Bin */
.s4-specialNavLinkList
{
display:none !important;
}


How to apply the custom CSS in SharePoint 2010
To apply the custom CSS:
1. Go to Site Actions | Site Settings
2. Click on Master Page (in Look and Feel)
3. Specify a custom CSS file in Alternate CSS URL as shown below
4. Click OK




2 comments:

  1. The directions were straight forward and easy to follow - thank you.

    ReplyDelete
  2. Very simple and straight to the point. Thank you so much.

    ReplyDelete