How to Hide SharePoint Online List Navigation for All Users
Question details
The user wants to permanently hide the left navigation pane on a specific SharePoint Online list so that it is removed for every visitor accessing that list.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Customizing the layout of a modern SharePoint list to maximize screen real estate and create a cleaner view for all site visitors.
- Observed behavior
- Modern SharePoint only offers a temporary expand arrow that hides the navigation for the current user's session, and site-wide navigation settings cannot be isolated to a single list.
Ensure you have Site Administrator privileges, as implementing permanent changes to SharePoint site designs or deploying custom code requires elevated permissions.
Use the SharePoint Framework (SPFx) Application Customizer
The only supported method to permanently hide the left navigation for all users on modern pages is to deploy a custom SPFx extension.
Because modern SharePoint pages do not support classic Script Editor or Content Editor web parts, injecting custom CSS directly onto a page is no longer possible natively.
To achieve a persistent, site-wide, or targeted structural change like hiding the left navigation panel, developers must create an SPFx Application Customizer. This extension can inject CSS to hide the navigation elements globally or based on specific list URLs.
Install Node.js, a package manager, and the Yeoman SharePoint generator (@microsoft/generator-sharepoint) on your local machine.
Run 'yo @microsoft/sharepoint' in your terminal and select 'Extension' > 'Application Customizer' to scaffold the project.
In your extension's TypeScript file, write code to append a custom CSS file to the page head that targets and hides the '#spLeftNav' (or current modern equivalent) CSS class.
Run 'gulp bundle --ship' and 'gulp package-solution --ship' to generate the .sppkg file. Upload this package to your SharePoint Tenant App Catalog and deploy it to your site.
Utilize the Built-in Expand Content Button (Per User)
Use the native expand feature to temporarily hide the navigation pane and header. This must be done manually by each user.
Manage Navigation Links at the Site Level
Remove the links from the left navigation entirely. This removes the links for all users, but it applies to the entire site, not just a single list.
Boost Document Productivity with WPS Office
While SharePoint requires complex development to customize layouts, daily document management shouldn't be complicated. WPS Office provides a lightweight, highly compatible alternative to Microsoft Office for creating, editing, and sharing documents efficiently.
- 1. Download the software: Visit the official WPS Office website and click the Free Download button.
- 2. Install WPS Office: Run the downloaded installer and follow the quick setup instructions on your screen.
- 3. Open and edit files: Launch WPS Office and instantly open your existing Word, Excel, and PowerPoint files without formatting loss.

Frequently Asked Questions
Can I use a Script Editor web part to hide the SharePoint left navigation?
No. The classic Script Editor and Content Editor web parts are not available on modern SharePoint Online pages for security and structural reasons. You must use an SPFx extension instead.
Why does the navigation reappear when I reload the SharePoint list?
The 'Expand content' diagonal arrow only hides the navigation temporarily for your current session. Refreshing the page or navigating away will restore the default layout.
Is it possible to hide the navigation for just one specific list without affecting the rest of the site?
Out of the box, SharePoint Online does not provide a setting to hide navigation for a single list. Navigation settings are managed at the site level. To target a specific list, you must write custom logic in an SPFx Application Customizer.




