Others

Hide the Left Navigation Pane on a Modern SharePoint Site Contents Page

Huma Ashraf ChHuma Ashraf Ch Nov 14, 2026 868 views

Question details

Determine whether the left navigation pane can be hidden on a modern SharePoint Online Site Contents page using a master page or custom code.

Product
SharePoint Online
Device & OS
not provided
Scenario
A site owner wants to remove the left navigation pane from the modern Site Contents page.
Observed behavior
Classic master page changes do not provide the same result on modern SharePoint pages.
Before you start

Confirm that the Site Contents page is using the modern experience and that you have permission to change the site's appearance. Available navigation settings can vary by site type.

Solution 1Recommended

Check modern navigation settings and submit feedback

Check whether the site offers a supported navigation option, then request a Site Contents-specific option if needed.

Modern SharePoint does not support custom master pages, custom page layouts, or custom JavaScript in the same way as classic SharePoint. Changing from the Seattle master page to Oslo may affect a classic site, but it is not a solution for the modern Site Contents page.

1
Open the site appearance settings

On the SharePoint site, select Settings (the gear icon) > Change the look, then look for Navigation.

2
Check available navigation options

If a site navigation visibility option is available, review it and test its effect on Site Contents. The option may vary by site type and does not guarantee that the pane will be hidden on that page.

3
Submit a feature request

Open the Microsoft Feedback portal, find the SharePoint feedback area, and submit a request to hide left navigation specifically on the modern Site Contents page.

Check modern navigation settings and submit feedback
Custom code limitation: SharePoint Framework extensions support defined customization points, but directly changing SharePoint's page DOM to hide navigation is not a reliable, supported Site Contents customization.
Free Microsoft Office alternative

Work with Office documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and support for common Office formats, making it easy to move everyday document work. It does not manage SharePoint navigation or change the Site Contents page.

Edit documents associated with SharePoint workflows after opening them in WPS OfficeCompatible with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXFamiliar interface for a straightforward transition from Microsoft OfficeFree, lightweight tools for everyday document work
QA img-9

Frequently Asked Questions

Can I switch to the Oslo master page to hide navigation on a modern Site Contents page?

No. Switching from Seattle to Oslo may hide navigation in a classic site, but modern SharePoint does not use custom master pages in the same way.

Where can I check whether my site can hide navigation?

Select Settings > Change the look > Navigation on your SharePoint site. Available options depend on the site type, and a visibility setting may not hide navigation on Site Contents.

Can an SPFx extension reliably hide the Site Contents navigation?

SPFx offers supported extension points, but directly manipulating the SharePoint page DOM to hide navigation is not a reliable, supported customization. Ask the SharePoint community for guidance on your specific scenario.

How can I request a supported option for hiding the pane?

Use the Microsoft Feedback portal's SharePoint feedback area to request a navigation visibility option for the modern Site Contents page.