Hide View All Site Content and Recycle Bin in Quick Launch: Resolved

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 !!!!

Advertisement

19 Comments (+add yours?)

  1. Michael
    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

    Reply

  2. Kathryn
    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.

    Reply

  3. Karen
    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!

    Reply

  4. Dean
    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.

    Reply

  5. ketan
    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

    Reply

  6. Fun
    Apr 20, 2011 @ 16:06:20

    Great sharing! Thanks and it is so simple and worked perfectly for my MOSS site. Thanks so much!

    Reply

  7. Shawna
    Jun 07, 2011 @ 22:28:12

    Thank you so much for providing this solution! It works perfectly!

    Reply

  8. Amanda
    Jun 09, 2011 @ 02:56:28

    Love this solution

    Reply

  9. anusinghai
    Jul 20, 2011 @ 15:44:46

    Loved it :) Thankss

    Reply

  10. Vikram
    Aug 22, 2011 @ 16:35:15

    Thanks for the simple solution !!

    Reply

  11. radha
    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….

    Reply

    • dhondiyals
      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.

      Reply

  12. radha
    Oct 17, 2011 @ 12:39:15

    CORRECTION… I wanted to say i am not able to do so

    Reply

  13. radha
    Oct 18, 2011 @ 16:30:06

    Thanks.. Waiting for a solution..

    Reply

  14. Trackback: Hide View All Site Content and Recycle Bin in Quick Launch SharePoint 2010: Resolved « Dhondiyals's Blog
  15. Nik
    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?

    Reply

  16. Joao Freire
    Feb 08, 2012 @ 23:51:59

    you rock!

    Reply

  17. Hardeep
    Feb 14, 2012 @ 12:38:49

    wow sir!!! Its working .. Thanks..!

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 27 other followers