How to Control Spacing Between Rows in Page Builder by SiteOrigin
Content
One of the most common questions from new users of the Page Builder by SiteOrigin plugin is about the default, seemingly large gap between rows. While this spacing is intentional for design clarity, it's not always what you want for your specific layout. This guide will explain why this happens and show you the simple built-in controls to adjust it to your liking.
Why is there so much space between my rows?
The plugin applies default bottom margins to rows and widgets to create a clear visual separation and prevent content from appearing cramped. This is a standard design practice that ensures readability, especially for users who are quickly building a page without fine-tuning each element's style. However, the desired amount of spacing is highly subjective and depends entirely on your theme and design preferences.
How to Adjust the Row Spacing
Fortunately, Page Builder by SiteOrigin provides two straightforward methods to control this spacing: globally for your entire site, or on a per-row basis for precise control.
Method 1: Adjust Spacing for a Single Row
This is the quickest way to change the gap below one specific row.
- In the Page Builder interface, click on the row you want to edit to select it.
- Click the Edit Row button (it looks like a pencil).
- In the row settings panel that opens on the right, navigate to the Layout settings group.
- Look for the Bottom Margin setting. By default, this is likely set to a value like 30px or 1.5em.
- Reduce this number to decrease the space, or increase it to add more. You can use units like
px,em, or%. Setting it to0will remove the gap entirely. - Click Done to save your changes for that row.
Method 2: Change the Global Default Spacing
If you find yourself consistently changing the spacing for every row, it's more efficient to change the default value site-wide.
- From your WordPress dashboard, go to Settings > Page Builder.
- Click on the Layout tab.
- Look for the setting named Widget/Row Bottom Margin.
- Enter your new desired default value (e.g.,
10px,0.5em,0). - Click Save Changes. This new value will now be the default for all new rows you create.
Pro Tip: You can use these two methods together. Set a global default that you're happy with for most rows, and then use the per-row settings for any exceptions that need unique spacing.
What if the spacing doesn't change?
If you adjust these settings and don't see a change on the front end of your site, it's likely that your theme is applying its own CSS margins that are overriding the Page Builder settings. In this case, you would need to add custom CSS, either in your theme's customizer or in a custom CSS plugin, to target the specific rows and apply your desired spacing.
By using these built-in settings, you can quickly gain full control over the layout and spacing of your pages, ensuring they look exactly how you envision.
Related Support Threads Support
-
Change display order of ‘PreBuilt Layouts’https://wordpress.org/support/topic/change-display-order-of-prebuilt-layouts/
-
How to add a slider to current theme layouthttps://wordpress.org/support/topic/how-to-add-a-slider-to-current-theme-layout/
-
SiteOrigin Pagebuilder Rows Filter Hookhttps://wordpress.org/support/topic/siteorigin-pagebuilder-rows-filter-hook/
-
row with shortcodehttps://wordpress.org/support/topic/row-with-shortcode/
-
Easily Disable Rows or Widgets (temporarily)https://wordpress.org/support/topic/easily-disable-rows-or-widgets-temporarily/
-
Gravity form problemhttps://wordpress.org/support/topic/gravity-form-problem/
-
Issue with div stackinghttps://wordpress.org/support/topic/issue-with-div-stacking/
-
Boxed content inside a full width row?https://wordpress.org/support/topic/boxed-content-inside-a-full-width-row/
-
Nested rowshttps://wordpress.org/support/topic/nested-rows-3/
-
How to reuse a snipped (Include Page)?https://wordpress.org/support/topic/how-to-reuse-a-snipped-include-page/
-
Global Element creationhttps://wordpress.org/support/topic/global-element-creation/
-
Load more between elements?https://wordpress.org/support/topic/load-more-between-elements/
-
Semantic elementshttps://wordpress.org/support/topic/semantic-elements/
-
woo pages?https://wordpress.org/support/topic/woo-pages/
-
Adding shortcodehttps://wordpress.org/support/topic/adding-shortcode-10/
-
Suggestion: Visual cues in back end for different row layoutshttps://wordpress.org/support/topic/suggestion-visual-cues-in-back-end-for-different-row-layouts/
-
Why such huge gap between blocks?https://wordpress.org/support/topic/why-such-huge-gap-between-blocks/
-
Request: Save Row as Prebuilt Layouthttps://wordpress.org/support/topic/request-save-row-as-prebuilt-layout/
-
Adding – Continue Content in the Next Columnhttps://wordpress.org/support/topic/adding-continue-content-in-the-next-column/
-
Custom styles/product pagehttps://wordpress.org/support/topic/custom-styles-product-page/
-
Custom pricing blockhttps://wordpress.org/support/topic/custom-pricing-block/
-
Row title?https://wordpress.org/support/topic/row-title/
-
Edit Table : add columns, etc.https://wordpress.org/support/topic/edit-table-add-columns-etc/