Removing the Left-hand Menu from Master Pages

One question often asked in regard to navigation is how to remove the left-hand navigation. There are several ways you can remove (or hide) the left-hand navigation on SharePoint pages. For instance, Chapter 6 shows you how to hide the left-hand navigation by employing the HTML Form Web Part and adding CSS to the Web part’s source code editor. Similarly, when working with master pages, you can employ CSS to completely remove the left-hand navigation by adding the following class to the site’s CSS file (assuming that the CSS file is also referenced in the master page using the <SharePoint:CssRegistration> or relative link:

# s4-leftpanel {display:none}

Alternatively, you may add the display:none value ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.