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
In the Layouts editor
- Open Layouts > Layouts and the layout Landing Page / Home; the editor opens it in a draft.
- Open the block palette (+ at the top left) and drag Spacer (group Basic) into the zone
main. Height in pixels (default 32). - Open the block palette (+ at the top left) and drag Divider (group Basic) into the zone
main. Style (defaultsolid) and Margin in pixels (default 16). - 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
- 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.
Related pages
- The Design tab
- Styling your blocks
- Build examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
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.