Today while working on a ticket the User wanted to Hide the “View All Site Content” and “Recycle Bin” link from left hand navigation of sharepoint site.
Go to the page where you want to hide these links
1. Site Settings > Edit Page
2. Add a Content Editor Web Part anywhere in the page.
3. Open 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
Go to the page where you want to hide these links
1. Site Settings > Edit Page
2. Add a Content Editor Web Part anywhere in the page.
3. Open 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
Beautiful!!!!!!
ReplyDeleteHow do you collapse the empty space left in place of the view all content and recycle bar?
ReplyDeleteYou Will have to Use Sharepoint Designer for the same .
ReplyDelete