Search This Blog

Sunday, May 2, 2010

Hiding left navigation in SharePoint 2010

To hide the left navigation in SharePoint 2010, you will need to the following to a content editor web part on the page. Place it so that its the first webpart on the page to load, otherwise, you will be able to catch a glimpse of the left navigation.

<style type="text/css">


#s4-leftpanel{

display:none

}

.s4-ca{

margin-left:0px

}

</style>

1 comment: