In this tutorial, we will show you how to hide quick launch bar in SharePoint 2013 using css Property.
You can hide quick launch bar in SharePoint by using css and also you can remove that by modifying the master page. If you will modify through css code, then this is going to be page specific, mean which page you want to hide, you need to write the css code in that page.
1st Approach – How to Hide Quick Launch Bar in SharePoint
Put the below css code in the page using a script editor web part to hide the quick launch bar. Edit the page and then add a web part and then select script editor web part from the web part gallery.
1 2 3 |
<style> #sideNavBox { display: none } </style> |
Here, sideNavBox is the <div> id of the quick launch bar. n which page you want, you can put the above code in Script editor web part.
2nd Approach – How to Hide Quick Launch Bar in SharePoint
Rather than putting the code in every page, you can put the code in the master page itself. If you put in the master page, then whatever page inherit the master page, will reflect those changes. By default Team site uses seattle.master page. Here one point, before doing any changes to the master page, please take a backup of the page and then modify on the page.
Then, you can edit the master page using Sharepoint 2013 designer and then put the below code inside the <body> tag.
1 2 3 4 |
<style> #sideNavBox { display: none } #contentBox { margin-left: 25px } </style> |
Looking for SharePoint 2013 Hosting on European Server? We can help you a lot!
hostforlifeasp.net is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes. We have customers from around the globe, spread across every continent. We serve the hosting needs of the business and professional, government and nonprofit, entertainment and personal use market segments. Our service is ranked the highest top spot in several European countries, such as: Germany, Italy, Netherlands, France, Belgium, United Kingdom, Sweden, Finland, Switzerland and other European countries. Besides this award, we have also won several awards from reputable organizations in the hosting industry and the detail can be found on our official website.