SharePoint Document Issues

How to Fix SharePoint Page Content Centered with Horizontal Navigation

Nimra MalikNimra Malik Nov 3, 2026 868 views

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.

How to Fix SharePoint Page Content Centered with Horizontal Navigation
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.
Before you start

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.

Solution 1Recommended

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.

1
Access the SharePoint Feedback Portal

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.

2
Describe the Alignment Issue

Write a brief description explaining that adding horizontal navigation to a modern page forces the container to center and creates excessive white space.

3
Submit Your Request

Click 'Submit' to send your request. High-voted feedback items are regularly reviewed by the Microsoft product team for future updates.

Understand the Design Limitation and Submit Feedback
No Custom Script Support: Injecting custom CSS or JavaScript to alter the modern page container alignment is unsupported by Microsoft and may break as SharePoint updates its framework.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 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. 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.
Highly compatible with standard Microsoft Office formats (.docx, .xlsx, .pptx)Handles complex document layouts effortlessly without rigid formatting restrictionsFamiliar and intuitive user interface requires zero learning curveLightweight application that runs smoothly on older devices
microsoft office alternative - wps office

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.