Skip to main content
All CollectionsTroubleshooting and FAQsFrequently Asked QuestionsGeneral
How to Remove the Space Between Sections Dividers
How to Remove the Space Between Sections Dividers

Learn how to adjust padding and margin settings, use custom CSS, and configure section dividers to eliminate gaps.

Updated over 6 months ago

Achieving a seamless and cohesive design on your website often involves fine-tuning the spacing between elements. In Divi, section dividers add visual interest but can sometimes leave unwanted space between sections.

In this article, we will guide you through the process of removing the space between section dividers in Divi, ensuring a smooth transition from one section to the next.

The Section Divider allows you to display custom shapes between two different sections. In some cases, there could be an unwanted space between two different sections dividers.

Divi - Unwanted space between two section dividers

Check for custom spacing (Margin, Padding, or Transform)

  1. Open each section's settings by clicking on the Gear icon

  2. Go to the Design Tab → Spacing

  3. Ensure that custom values are not used for Margin Top and Bottom or Padding Top and Bottom

    Divi - checking for custom spacing

Check each Section for Custom CSS code

  1. Open each section's settings by clicking on the Gear icon

  2. Go to Advanced Tab Custom CSS Free Form CSS or Advanced Tab Custom CSS Module Elements

  3. Check for any CSS code that might set a custom value for Margin Top and Bottom or Padding Top and Bottom

    Divi - Module's Advanced Tab Tab

Check the Divi Custom CSS area

  1. Go to Divi → Theme Options → General Tab → Custom CSS

  2. Ensure no custom CSS code is applied to the sections that might create unwanted space.

    Divi - Custom CSS area

Check the Page settings for Custom CSS usage

  1. Click on the Ellipses icon to expand the Visual Builder's toolbar

  2. Click on the Gear icon to open the page settings

  3. Go to Advanced Tab → Custom CSS

    Divi - Page settings Advanced Tab

Fix the unwanted space between two different section dividers

  1. Open the second section's settings by clicking on the Gear icon

  2. Go to the Design Tab → Spacing → Margin

  3. For the Margin Top set, the -1px value

Did this answer your question?