Thursday, October 25, 2012

How to Hide View All Site Content and Recycle Bin in Quick Launch



Code

<style>

.s4-specialNavLinkList {

display:none;

}

</style>



1)Browse to the page where the  View All Site Content and Recycle Bin needs to be hidden. Add a Content Editor webpart on the page.Put the above style code in a content editor web part.



2) Edit the web part, click in the content zone, then on the ribbon, Editing Tools -> Format Text area, select the HTML drop down and click Edit HTML source. Paste the code in there, and save.




3) In the webpart properties , make the Chrome Type as None and under Layout , check Hidden.





4) Stop editing the page and save it. 

4 comments:

  1. It works, but hides it for full control permission and shows it for read only!

    ReplyDelete
  2. Perfect answer! Worked :) Thank you

    ReplyDelete
  3. Is there a way to do this on library pages or other pages with no web parts?

    ReplyDelete