O'Reilly logo

Microsoft® SharePoint® Designer 2010 Unleashed by Kathy Hughes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required