Hide the Quick Launch

From SharePoint Knowledge Base

Jump to: navigation, search

Hiding the Quick Launch (something that you really should be able to do through the admin UI) can be done fairly easily by adding some CSS code to your page. This could be added to the master page, but probably makes the most sense to add to page layouts. That way you can have page layouts specifically designed to hide the left nav bar.

To hide the left nav bar, add this CSS code to your master page or page layout:

<style type="text/css">
#LeftNavigationAreaCell { display: none !important; }
</style>

On some pages you may also need to include the following:

#TitleAreaImageCell { display: none !important; }

You can also drop the above code into a Content Editor Web Part if you want a quick-and-dirty way of applying it to select pages.

Personal tools