Monday, October 29, 2012

Sharepoint : Hide the left navigation or Quick Launch

Easiest way to hide the left navigation or Quick launch on SharePoint page:-

For an individual page: Add the CSS on page either via HTML(for SP2010) or via Content Editor Web Part.
For SP2010 users, I strongly recommend to add in text file and refer that in your Content Editor Web Part, that way for future addition or change you no need to edit page.

 /*--- Hide left navigation --*/
style>
body #s4-leftpanel 
 {
          display: none;
 }
 .s4-ca
 {  
          margin-left: 0px;
 } 
/style>

You can also add in Page layout to be replicated on multiple existing pages.


 Happy Learning!