Hide SharePoint Left Navigation Menu using CSS

Posted: March 6, 2013 in Content editor web part, CSS

Just add this style in a content editor web part in the page you want to hide your left navigation. In case you need to hide it in all the pages, add this to your master page.

<style type=”text/css”>
body #s4-leftpanel { display: none; }
.s4-ca { margin-left: 0px; }
</style>

The style applied to body #s4-leftpanel hides the left navigation & the style applied to .s4-ca removes the empty space & moves the other content of the page towards the left side.

 

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s