only My site

Sunday, August 19, 2012

SharePoint : Hide Left Navigation Panel

The default master page of SharePoint will display the navigation panel (basically a DIV element) on the left hand side of the page. Often, we may not require those panel if we go for a custom UI rather than using a standard SharePoint type pages.

There are two ways

1. If you want to hide permanently in all the pages, then edit the Master Page and add the below style. This will override the style and hide the panel

<style>.ms-navframe{ display:none; }</style>

2. Insert a content editor web part and add the above style code in it, before publishing the page, make sure you set the chrome type to 'None' (this will hide the Title of the web part in the page)

No comments: