How to hide the sidebar in SharePoint (en)


AfraITshorty
, , ,

Quick and easy, that’s an afraIT shorty!

  1. Simply add a Script Editor Web Part to your page and add the script below.
<style type="text/css">

#sideNavBox {DISPLAY: none}
#contentBox {MARGIN-LEFT: 50px}

.ms-list-itemLink 
	{
		display:none;
	}
</style>

2. Basically the CSS above hides the left navigation Div, and then sets the content area to 50px.

3. You can also set margin-left to e.G. 0px or even -30px.

Not the nicest way, but sometimes a quick and dirty solutions is quite handy. Don’t forget to like my tiwtter or facebook and share my blog post all over the world 🙂

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *