How to Fix SharePoint Page Content Centered with Horizontal Navigation
Question details
The user wants to keep modern SharePoint page content left-aligned, but the layout unexpectedly shifts to the center with excessive white space on the sides.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Adding or configuring horizontal navigation on a modern SharePoint site page.
- Observed behavior
- Enabling horizontal navigation forces the page container to automatically center itself, creating unwanted extra space on both sides instead of remaining left-aligned.
Confirm that you are editing a modern SharePoint page rather than a classic page, as layout behaviors and customization options differ significantly between the two experiences.
Understand the Design Limitation and Submit Feedback
Recognize that the centered alignment with horizontal navigation is currently a built-in design limitation of modern SharePoint pages, and notify Microsoft.
Modern SharePoint pages are built with a responsive framework that automatically centers the page container when horizontal navigation is applied. Currently, modern pages do not provide a supported script-based option or layout toggle to force the container alignment to the left.
Because there is no official workaround to change the alignment natively, the most effective course of action is to submit feedback directly to Microsoft requesting layout flexibility for modern pages.
Navigate to the official Microsoft Feedback Portal for SharePoint online or use the built-in 'Feedback' button located at the bottom right of your SharePoint environment.
Write a brief description explaining that adding horizontal navigation to a modern page forces the container to center and creates excessive white space.
Click 'Submit' to send your request. High-voted feedback items are regularly reviewed by the Microsoft product team for future updates.

Test with Different Web Parts to Isolate Layout Shifts
Verify if specific web parts on your page are exacerbating the centering behavior when horizontal navigation is active.
Manage Your Documents Seamlessly with WPS Office
While SharePoint modern page layouts have rigid design limitations, managing and collaborating on the actual documents doesn't have to be restrictive. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, allowing you to edit Word, Excel, and PowerPoint files seamlessly without frustrating formatting constraints.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Open Your Office Documents: Launch WPS Office and open your existing Word, Excel, or PowerPoint files directly. The layout and formatting will be perfectly retained.
- 3. Edit and Save Seamlessly: Enjoy full editing capabilities and save your files in standard formats, ensuring flawless compatibility when sharing with Microsoft Office users.

Frequently Asked Questions
Why does my modern SharePoint page have excessive white space on the sides?
When horizontal navigation is enabled on modern SharePoint pages, the underlying responsive framework automatically centers the main layout container. On large monitors, this results in noticeable white space on both sides of the content.
Can I use custom CSS to force left-alignment on a modern SharePoint page?
No, modern SharePoint pages do not support custom CSS injections or custom script-based options to alter the core container alignment. Any attempt to forcefully inject styles is unsupported by Microsoft and can easily break during routine platform updates.
Does switching to a classic SharePoint page fix the alignment issue?
Yes, classic SharePoint pages offer more flexibility through custom master pages and CSS to control alignment. However, reverting to a classic page is generally not recommended because you will lose the responsive design, mobile compatibility, and modern features provided by the updated SharePoint experience.




