Hiding the left Navigation
Summary: In some cases, you may want to have a webpage that does not display the left navigation to discourage users from navigating through the site. Here is a script that you can add to the page to hide the left navigation.
Instructions:
- Edit the page
- Add a HTML Forms web part
- Edit the web part and add this to the source – Version A removes the page indentation from where the left nav was. Version B – leaves an indentation /space for where the left nav was
- <style>.ms-core-navigation { DISPLAY: none }#contentBox { margin-left: 0px }</style>
- <style>.ms-core-navigation { DISPLAY: none }#contentBox </style>
- Save the page