Hide SharePoint Left Navigation Menu using 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.

 

Advertisements

2 thoughts on “Hide SharePoint Left Navigation Menu using CSS

Add yours

  1. This works great! How can I modify it to display custom navigation? For example, within each document library page, I only want to link to specific locations but modifying the navigation changes the settings for all document library pages.

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: