SOLVED: How to Remove the Left Menu Bar from A Sharepoint 2013 Site / Page
It is not difficult to remove the left menu bar from Sharepoint 2013 but unfortuately it is not as simple as clicking a checkbox and the steps are tedious:
Click EDIT (top right of your site)
Click inside the body of your site
Click INSERT (top menu)
Click WEBPART
Click MEDIA AND CONTENT then CONTENT EDITOR
Click the ADD button (bottom right)
Click the CONTENT EDITOR box that just appeared then select the drop down in the top right of that box and select EDIT WEB PART
If you skip the EDIT WEBPART, it will not work
the small black drop down arrow will not appear (in the top right) until you mouse over the Content Editor box
Click the CLICK HERE TO ADD NEW CONTENT link at the bottom of the CONTENT EDITOR box
Click INSERT (top menu tab)
Click EMBED CODE
Paste the following into the box (and make sure it is plain text when you paste it… i.e. it looks just like what you see below): .
<style unselectable=”on”>
/* hide left menu bar */
#sideNavBox
{
display: none;
}
/* adjust position of content */
#contentBox
{
margin-left:20px;
}
</style>
Click the INSERT button
In the CONTENT EDITOR (edit WebPart) box on the right side of the screen click the + to expand the APPEARANCE section
Change the TITLE to something small like a period .
This will effectively hide the code from the viewers
Click OK (right side of screen)
There, now wasn’t that easy! What a pain in the butt.
View Comments
I couldn't get this to execute. Followed everything step by step
Hi Brian; It is tedious. You may find these screen shots helpful:
http://108.163.210.10/~angsarap/macaalay.com/wp-content/uploads/2014/01/1-script-editor.jpg
http://108.163.210.10/~angsarap/macaalay.com/wp-content/uploads/2014/01/2-codes-to-remove-menu.jpg
That worked a treat. One slight variation is, rather than use a . as the title change the chrome type in appearance to none. Anyway thanks again.
Thanks it has worked.