How to hide or remove quick launch left navigation from SharePoint Online Modern site page

❓️ Why hide SharePoint quick launch ?

Modern SharePoint templates like Communication Sites use navigation menu and give more wider page width allowing you to display more content on the page. It does not provide the left navigation links.
You can even hide the quick launch on Teams Sites by unselecting it from the Navigation settings.

⛏️ How to hide quick launch in Modern SharePoint site ?

  1. Navigate to SharePoint Modern site.
  2. Click Settings.
  3. Click Site Information.
  4. Click View all site settings.
  5. Under Look and Feel, click Navigation Elements.
  6. Click OK.
  7. Uncheck Enable Quick Launch.
Hide quick launch in Modern SharePoint Communication site
Hide quick launch in Modern SharePoint Communication site

⛏️ How to hide quick launch in Classic SharePoint site ?

Add Content/Script Editor web part on the page and add script to hide the HTML DIV element.
Add display:none.
<style type="text/css">  
 #spLeftNav {display: none}  
spLeftNav = respective navigation main div element.

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -