Others

How to Fix SharePoint Web Parts Overlapping and Negative Margins

Steve KSteve K Nov 3, 2026 869 views

Question details

SharePoint modern pages display overlapping content and insufficient spacing beneath web parts when viewed in view mode.

How to Fix SharePoint Web Parts Overlapping and Negative Bottom Margins
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Viewing SharePoint modern pages containing dynamic web parts or custom CSS.
Observed behavior
Web parts lack proper bottom margins and overlap each other in view mode, though they display correctly in edit mode.
Before you start

Before modifying any site styling, verify if the page relies on custom CSS web parts and ensure you have administrative or edit permissions for the SharePoint site.

Solution 1Recommended

Review and Adjust Custom CSS Classes

Identify and modify custom CSS rules that may be conflicting with recent SharePoint backend updates.

SharePoint occasionally pushes service-side styling updates that alter default padding and margins. If your site uses custom CSS to force empty margins, these backend changes can cause content to overlap in view mode.

1
Enter Edit Mode

Open the affected SharePoint modern page and click the Edit button in the top right corner.

2
Locate Custom Styling

Look for any Script Editor or Custom CSS web parts that apply specific styling to the page layout.

3
Check Specific Classes

Search for CSS rules targeting specific control zones, such as .ControlZone--clean { margin: 0; padding: 0 !important; }.

4
Test and Republish

Temporarily disable or remove these custom margin rules, save your changes, and republish the page to see if the overlapping is resolved.

Review and Adjust Custom CSS Classes
Avoid Undocumented Styling: Relying on undocumented SharePoint CSS classes can lead to unexpected formatting issues when Microsoft updates their platform.
Free Microsoft Office alternative

Enhance Your Document Workflow with WPS Office

While you wait for backend SharePoint issues to be resolved, ensure your local document workflow remains uninterrupted. WPS Office is a free, lightweight suite that serves as an excellent Microsoft Office alternative, providing full compatibility and a familiar interface without the hefty subscription fees.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to set up the software.
  3. 3. Open Your Documents: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files to continue working effortlessly.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptxFamiliar user interface makes transitioning seamless with zero learning curveLightweight installation saves system resources and ensures rapid startupFree to use for everyday document creation, editing, and sharing
microsoft office alternative - wps office

Frequently Asked Questions

Why do SharePoint web parts overlap in view mode but look fine in edit mode?

Edit mode typically utilizes different container classes to enable drag-and-drop functionality, which naturally adds extra padding. View mode removes these specific containers, exposing underlying margin issues caused by recent styling changes.

Can I fix SharePoint overlapping margins permanently with custom CSS?

While custom CSS was previously a common workaround, undocumented backend changes by Microsoft can break these rules unexpectedly. It is generally safer to utilize default SharePoint layouts or wait for an official patch.

How do I report a SharePoint backend styling bug?

You must ask your organization's Microsoft 365 administrator to log into the Microsoft 365 admin center and open a formal support ticket so Microsoft engineers can investigate the service-side issue.