Skip to main content

Spacing

Section margins, container widths and the gaps between cards.

Theme settings > Spacing sets the rhythm of the whole store. Sections refer to these values through their Horizontal container and Vertical spacing settings, described in Section settings.

Sections

  • Margin: Space between sections on desktop. The Vertical spacing setting of each section multiplies it. Tablets get three quarters of it, phones half.

Containers

  • Padding: Side padding of the page content on desktop. Smaller screens get a scaled-down value.

  • Max width (narrow): Content width when a section's Horizontal container is Small.

  • Max width: Content width when a section's Horizontal container is Medium.

  • Max width (wide): Content width when a section's Horizontal container is Large.

  • Max width (rich text): Longest line of running text, in characters.

Grid

  • Horizontal spacing: Horizontal gap between cards and columns. Also the unit of the Spacer block.

  • Vertical spacing: Vertical gap between rows of cards.

The three max widths are what a section's Horizontal container means by Small, Medium and Large. None runs edge to edge, Extra large runs edge to edge with one grid gap of side padding.

Did this answer your question?