Hide View All Site Content and Recycle Bin in Quick Launch: Resolved
05 May 2010 19 Comments
in Sharepoint 2007 Tags: Content Editor Web Part, moss, moss 2007, Recycle Bin, sharepoint, SharePoint Portal Server, sharepoint server 2007, View All Site Content, Windows SharePoint Services, wss, wss 3.0
I assigned a task to hide “View All Site Content” and “Recycle Bin” link from left hand navigation of sharepoint site. I wanted to implement this without editing the master page in SharePoint Designer. I just open the page where i want to hide these links, i checked the source of that web page by right click and view source in internet explorer. I saw that both links are placed inside different tables that have different style classes. So i did the following steps to hide both links.
1. Site Settings > Edit Page
2. Add a Content Editor Web Part anywhere in the page.
3. Ope tool pane of Content Editor Web Part by clicking “Modify Shared Web Part” option from top right drop down of web part.
4. Click on “Source Editor” button inside tool-pane and in “Text Entry” window paste the following lines.
<style>
.ms-recyclebin {
display:none;
}
</style>
<style>
.ms-quicklaunchheader{
display:none;
}
</style>
5. Click Save
6. Expand Layout section inside toolpane.
7. Check the Hidden checkbox and click OK.
You are done !!!!

Sep 25, 2010 @ 07:50:58
Hi
I am doing a wss 3.o site right now. they wanted me to hide all site content and recycle bin. a google search led me here.
Cheers
Mike
Oct 08, 2010 @ 01:50:19
I am so glad I happened upon your site. You solution fit my needs perfectly. Thank you so much.
Oct 17, 2010 @ 21:48:29
This solution did the trick! Thank you so very much for posting this. Throughout all of my online research everyone all of the instructions to perform this task required the use of Designer. I knew there had to be a better way and I finally found it when I came across your site after weeks of research. This is terrific. Thank you for sharing!
Nov 01, 2010 @ 19:03:27
Thanks, but a potentially significant issue with this approach is that you must do this for every page which can be a pain if you have lots of pages or subsites.
Mar 10, 2011 @ 22:16:53
Thanks this work perfectly.
But i hae one more question. I want to give the space to last tab in the top navigation can we use this same web part for it. Or if you have any idea please let me know
thanks
Apr 20, 2011 @ 16:06:20
Great sharing! Thanks and it is so simple and worked perfectly for my MOSS site. Thanks so much!
Jun 07, 2011 @ 22:28:12
Thank you so much for providing this solution! It works perfectly!
Jun 09, 2011 @ 02:56:28
Love this solution
Jul 20, 2011 @ 15:44:46
Loved it
Thankss
Aug 22, 2011 @ 16:35:15
Thanks for the simple solution !!
Oct 17, 2011 @ 12:38:14
I am able to hide “site content” and “recycle bin” in quick launch with this solution . I am using sharepoint 2010 foundation. Please help….
Oct 18, 2011 @ 09:23:29
Hi Radha,
I implemented this solution for MOSS 2007 and its working fine there. I have to check this with SharePoint Server 2010. Once done i will revert back.
Oct 17, 2011 @ 12:39:15
CORRECTION… I wanted to say i am not able to do so
Oct 18, 2011 @ 16:30:06
Thanks.. Waiting for a solution..
Oct 19, 2011 @ 09:47:48
Hi Radha,
I have resolved the problem and just finished a blog entry regarding this. So you can find solution @ this link:
http://dhondiyals.wordpress.com/2011/10/19/hide-view-all-site-content-and-recycle-bin-in-quick-launch-sharepoint-2010-resolved/
Jan 25, 2012 @ 19:59:36
This trick is great!
But when I click on “Shared documents” it appears again, and it cannot be removed this way as there’s no option to edit Shared Documents page.
Any idea how to remove it from there?
Feb 08, 2012 @ 23:51:59
you rock!
Feb 14, 2012 @ 12:38:49
wow sir!!! Its working .. Thanks..!