What this section controls
This section controls vertical spacing with the following capabilities:- Adjustable vertical spacing (None, S, M, L, XL)
- Separate top and bottom spacing controls for desktop
- Independent mobile spacing settings
- Section borders (None, Top, Bottom, Both)
- Color scheme selection for background
- Full-width or standard width options
- No content blocks - purely for layout control
Section Settings
Color & Design
Color Scheme
Color Scheme
Setting ID:
Type: Color Scheme
Default:
color_schemeType: Color Scheme
Default:
scheme-1Choose the color scheme for the spacing section background. This determines the background color of the spacing area.Use Cases:- Match the surrounding sections for seamless transitions
- Use contrasting colors to create clear visual breaks
- Coordinate with your overall page design theme
Section Border
Section Border
Setting ID:
Type: Select
Options:
section_borderType: Select
Options:
none- No bordertop- Border at topbottom- Border at bottomboth- Borders at top and bottom
noneAdd decorative borders to the top, bottom, or both edges of the spacing section.Use Cases:- Create horizontal dividers between content sections
- Add subtle visual separation without additional elements
- Frame specific page areas with border pairs
Spacing Controls
Top Spacing
Top Spacing
Setting ID:
Type: Select
Options:
spacing_topType: Select
Options:
0- None1- Small (S)2- Medium (M) ⭐ Default4- Large (L)6- Extra Large (XL)
- None (0): No top spacing - section sits flush with content above
- Small (1): Minimal breathing room (~20-30px equivalent)
- Medium (2): Standard spacing for general use (~40-50px)
- Large (4): Significant separation (~80-100px)
- Extra Large (6): Maximum spacing for dramatic breaks (~120-150px)
Bottom Spacing
Bottom Spacing
Setting ID:
Type: Select
Options:
spacing_bottomType: Select
Options:
0- None1- Small (S)2- Medium (M) ⭐ Default4- Large (L)6- Extra Large (XL)
Common Use Cases
1. Visual Breaks Between Content
Add breathing room between dense content sections:- Spacing Top: Medium (2)
- Spacing Bottom: Medium (2)
- Section Border: None
- Color Scheme: Same as surrounding sections
2. Page Dividers with Borders
Create clear visual separators between page areas:- Spacing Top: Large (4)
- Spacing Bottom: Large (4)
- Section Border: Bottom
- Color Scheme: Contrasting scheme for visibility
3. Whitespace-Only Separation
Add clean, minimal spacing without any borders:- Spacing Top: Extra Large (6)
- Spacing Bottom: Extra Large (6)
- Section Border: None
- Color Scheme: Match background
4. Framed Content Areas
Use dual borders to frame specific sections:- Spacing Top: Small (1)
- Spacing Bottom: Small (1)
- Section Border: Both
- Color Scheme: Highlight scheme
Layout & Positioning
Section Class
- Class:
section-spacing - Tag:
<section>
<section> tag and applies the .section-spacing class for styling.
Best practices
Consistent Spacing Scale
Use the same spacing values (S, M, L, XL) consistently throughout your site to create visual rhythm and hierarchy.
Strategic Border Use
Don’t overuse borders - reserve them for major page divisions or important content separators.
Color Coordination
Match spacing section color schemes with adjacent sections for seamless flow, or use contrast for dramatic breaks.
Mobile Consideration
Remember that spacing values may adjust on mobile - test your layouts on multiple screen sizes.
Design Tips
Creating Visual Hierarchy
Light Spacing (S): Use between closely related content sectionsBorder Strategies
Borders inherit styling from your theme’s border settings. They typically use subtle colors that complement your color schemes.
- Top border: Starts a new content area
- Bottom border: Closes/ends a content area
- Both borders: Frames/isolates important content
- Often paired with contrasting color schemes
Technical Details
Schema Structure
Section Limits
- No limit: Add as many spacing sections as needed
- No blocks: This section contains no child blocks
- Pure utility: No content, text, or media settings
Accessibility Considerations
Accessibility Best Practices:- Use sparingly to avoid creating disorienting empty spaces
- Don’t rely on spacing alone to convey meaning or structure
- Ensure spacing doesn’t break logical content relationships
- Test with screen readers to verify smooth navigation flow
Preset Configuration
The section comes with one preset: Default Spacing Preset:- Category: Basic
- Spacing Top: Medium (2)
- Spacing Bottom: Medium (2)
- Section Border: None
- Color Scheme: Scheme 1
Example Implementations
1. Homepage Content Separator
Goal: Separate hero from product grid with clean whitespace2. Bordered Content Divider
Goal: Create visible separation with horizontal line3. Dramatic Section Break
Goal: Maximum visual separation for page transitionsTroubleshooting
Spacing appears too large/small
Spacing appears too large/small
Problem: The spacing doesn’t match your expectationsSolutions:
- Check theme’s CSS custom properties - spacing multipliers may vary
- Remember mobile viewports may use different spacing scales
- Test on actual devices, not just browser resize
- Consider cumulative effect with adjacent section spacing
Borders not visible
Borders not visible
Problem: Selected borders don’t appearSolutions:
- Verify border color isn’t matching background color
- Check theme customizer for global border settings
- Ensure color scheme supports visible borders
- Try different color scheme combinations
Section creates unwanted gaps
Section creates unwanted gaps
Problem: Spacing section disrupts page flowSolutions:
- Reduce spacing values (use S instead of L)
- Check if adjacent sections already have spacing
- Remove the section and use built-in section spacing settings instead
- Verify section is placed in correct position
Color scheme doesn't apply
Color scheme doesn't apply
Problem: Background color not showingSolutions:
- Increase spacing values - color only visible when section has height
- Check if transparent backgrounds are intended
- Verify color scheme is properly configured in theme settings
- Test with contrasting color scheme to confirm
Related Sections
- All Sections: The Spacing section can be used between any other sections
- Works particularly well with content-heavy sections like:
- Featured Products
- Testimonials
- Rich Text
- Full Width Banner
- Featured Collections
Quick Reference
| Setting | Purpose | Default |
|---|---|---|
| Color Scheme | Section background color | scheme-1 |
| Spacing Top | Padding/margin above | 2 (Medium) |
| Spacing Bottom | Padding/margin below | 2 (Medium) |
| Section Border | Decorative borders | none |
Summary
The Spacing section is a simple but powerful utility for controlling vertical rhythm and visual hierarchy on your pages. Use it strategically to: Add breathing room between content sectionsCreate visual breaks with optional borders
Control page flow and reader attention
Maintain consistent spacing throughout your site