Easily Hide the Quick Launch in SharePoint 2013

Donal McCarthy
By | Updated July 25, 2013 | 2 min read
problem definition

In SharePoint 2010, the Quick Launch was missing from web part pages and I addressed how to remedy this in the Enabling the Quick Launch post.

In SharePoint 2013, the problem is the opposite – the Quick Launch is mandatory! In this post, I’ll address how to remedy this for one page and also how to make it really easy to do it for all pages on a page-by-page basis.

 

 

Easily Hide the Quick Launch in SharePoint 2013

  1. Add a Script Editor web part to a page.
    ql-1-add-script-editor-web-part
  2. Click EDIT SNIPPET and paste in the below code:
    <style type="text/css">
     #sideNavBox {DISPLAY: none}
     #contentBox {MARGIN-LEFT: 5px}
    </style>
  3. Click Insert and the Quick Launch will disappear.
    ql-1-add-code

See below for an extra tip to make this easier in the future:

  1. Click Edit Web Part on the web part menu, expand Advanced, select Export All Data from the Export Mode menu and click Apply.
  2. Click Export on the web part menu and save the web part to your desktop.
  3. Navigate to the Site Collection home page and click Settings | Site settings.
    settings-site-settings
  4. Click Web parts in the Web Designer Galleries section.
  5. Click Files | Upload Document and select the exported web part.
  6. Give it a good Name and Title (e.g. Remove QL).
  7. Add to a group or create a new group and click Save.

Now the web part will be available for you to add it to any page!

If your users ask how do I get back to the site home page, tell them to click the Site Logo in the top left of the page.

 

Image credit 

Donal McCarthy
Donal McCarthy

Donal has been a BrightWorker for so long, he remembers when his desktop got Windows XP. Starting as a technical writer, he is now responsible for making sure all the marketing systems make life beautiful for our website visitors, prospects and sales teams. He is a firm Microsoftie, and enjoys writing 'how to' articles and posts about the latest in technology from Microsoft. Outside of BrightWork, he is a family man who enjoys reading, cooking, and following the Irish and Connacht rugby teams.

Read Full Bio
Don't forget to share this post!