Friday, 15 June 2012

Hide the Quick Launch in SharePoint 2010

There is no way out of the box to hide the Quick Launch and the Tree View navigation in SharePoint 2010.

The easiest way is to use the CEWP trick just add the Web Part that now has the name Content Editor and add the following text in the HTML Source mode:

<style>
 #s4-leftpanel{
 display:none
 }
 .s4-ca{
 margin-left:0px
 }
</style>

The value for the left panel ID can be set to not be displayed. See the output below:

No comments:

Post a Comment