Free cookie consent management tool by TermsFeed Generator
All Products & Integrations

jalpi page builder docs

Spacing

Configure padding, margin, gaps, and layout flow with Jalpi Page Builder's visual Box Spacing controls and responsive dimension units.

Active Feature Styling
1 min read Β· November 2026

Spacing Overview#

Spacing controls in Jalpi provide independent four-sided dimension adjustments (Top, Right, Bottom, Left) with optional linking to adjust all four sides simultaneously.

The Box Spacing Control#

The BoxSpacingControl is embedded across Element Properties, the Global Classes style modal, and Container settings:

  • Linked Mode: Enter a single value (e.g. 24px) to apply evenly to all four edges.
  • Unlinked Mode: Set custom asymmetric spacing (e.g. 40px 20px 60px 20px).
  • Supported Units: px, rem, em, %, and vh/vw.

Margins vs Paddings in Jalpi#

In Jalpi's flex and CSS grid containers:

  • Padding: Creates internal breathing room between a container's border and its child elements. Background fills and borders expand around the padding.
  • Margin: Creates external clearance pushing neighboring widgets and containers apart.

Responsive Spacing & Breakpoints#

Spacing adapts automatically across devices. Tablet and Mobile viewports can scale down large desktop section padding (e.g. reducing 80px section padding to 32px on Mobile) either directly on widgets or via responsive Global Classes.

Last updated: November 2026