Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,110 of 9,110 pages
About the help in other languages
All help pages

Space and a line between sections

The Spacer (Height in pixels, default 32) and Divider (Style, Margin) blocks, or vertical whitespace on the blocks themselves.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/examples/build/spacer-and-divider.md

On this page

Space and a line between sections

Room between two sections, and a thin line.

Life cycle: Build, example 12 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.

Contents

  1. In the Layouts editor
  2. With templates
  3. Which to choose
  4. Check

In the Layouts editor

  1. Open Layouts > Layouts and the layout Landing Page / Home; the editor opens it in a draft.
  2. Open the block palette (+ at the top left) and drag Spacer (group Basic) into the zone main. Height in pixels (default 32).
  3. Open the block palette (+ at the top left) and drag Divider (group Basic) into the zone main. Style (default solid) and Margin in pixels (default 16).
  4. Publish layout. The pages that use the layout show the block on their next view.

Often better: Use vertical whitespace on the Design tab of the blocks themselves (On top, On bottom), which writes whitespace-top-<size> classes the design styles.

With templates

  1. Add the spacing in the stylesheet of your design extension, on the classes of the blocks (Styling your blocks).

Which to choose

Spacing is design: prefer the whitespace option or CSS; the Spacer block for a one-off.

Check

  • The spacing is the same at phone width.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x