Meditative Folks Theme
Blocks

Flex

How to use the Flex block in the Meditative Folks Theme.

Flex

At a glance

Lays out child blocks in a horizontal or vertical row with alignment controls.

Used in

  • Header (via theme blocks)
  • Custom section
  • Home

Settings

Layout settings

SettingWhat it doesDefaultShows when
WrapControls “Wrap” on the storefront. Open the theme editor to preview live.wrapAlways
GapControls “Gap” on the storefront. Open the theme editor to preview live.12Always

Mobile layout

SettingWhat it doesDefaultShows when
DirectionControls “Direction” on the storefront. Open the theme editor to preview live.rowAlways
Justify contentControls “Justify content” on the storefront. Open the theme editor to preview live.space-betweenAlways
Align itemsControls “Align items” on the storefront. Open the theme editor to preview live.centerAlways
Fill available heightUse with Direction: Column when the parent offers extra height (for example a stretched grid cell). Helps Justify content: Space between pin blocks to the top and bottom.NoAlways

Tablet layout

SettingWhat it doesDefaultShows when
DirectionControls “Direction” on the storefront. Open the theme editor to preview live.rowAlways
Justify contentControls “Justify content” on the storefront. Open the theme editor to preview live.space-betweenAlways
Align itemsControls “Align items” on the storefront. Open the theme editor to preview live.centerAlways
Fill available heightUse with Direction: Column when the parent offers extra height (for example a stretched grid cell). Helps Justify content: Space between pin blocks to the top and bottom.NoAlways

Desktop layout

SettingWhat it doesDefaultShows when
DirectionControls “Direction” on the storefront. Open the theme editor to preview live.rowAlways
Justify contentControls “Justify content” on the storefront. Open the theme editor to preview live.space-betweenAlways
Align itemsControls “Align items” on the storefront. Open the theme editor to preview live.centerAlways
Fill available heightUse with Direction: Column when the parent offers extra height (for example a stretched grid cell). Helps Justify content: Space between pin blocks to the top and bottom.NoAlways

Padding

SettingWhat it doesDefaultShows when
Padding topAdds empty space (padding top) around the section content.0Always
Padding bottomAdds empty space (padding bottom) around the section content.0Always
Padding leftAdds empty space (padding left) around the section content.0Always
Padding rightAdds empty space (padding right) around the section content.0Always

Setting details

Each control from the tables above, explained simply:

Wrap

Controls “Wrap” on the storefront. Open the theme editor to preview live. Default: wrap.

Gap

Controls “Gap” on the storefront. Open the theme editor to preview live. Default: 12.

Direction

Controls “Direction” on the storefront. Open the theme editor to preview live. Default: row.

Justify content

Controls “Justify content” on the storefront. Open the theme editor to preview live. Default: space-between.

Align items

Controls “Align items” on the storefront. Open the theme editor to preview live. Default: center.

Fill available height

Use with Direction: Column when the parent offers extra height (for example a stretched grid cell). Helps Justify content: Space between pin blocks to the top and bottom. Default: No.

Direction

Controls “Direction” on the storefront. Open the theme editor to preview live. Default: row.

Justify content

Controls “Justify content” on the storefront. Open the theme editor to preview live. Default: space-between.

Align items

Controls “Align items” on the storefront. Open the theme editor to preview live. Default: center.

Fill available height

Use with Direction: Column when the parent offers extra height (for example a stretched grid cell). Helps Justify content: Space between pin blocks to the top and bottom. Default: No.

Direction

Controls “Direction” on the storefront. Open the theme editor to preview live. Default: row.

Justify content

Controls “Justify content” on the storefront. Open the theme editor to preview live. Default: space-between.

Align items

Controls “Align items” on the storefront. Open the theme editor to preview live. Default: center.

Fill available height

Use with Direction: Column when the parent offers extra height (for example a stretched grid cell). Helps Justify content: Space between pin blocks to the top and bottom. Default: No.

Padding top

Adds empty space (padding top) around the section content. Default: 0.

Padding bottom

Adds empty space (padding bottom) around the section content. Default: 0.

Padding left

Adds empty space (padding left) around the section content. Default: 0.

Padding right

Adds empty space (padding right) around the section content. Default: 0.

Tips

  • Place this block inside a wrapper if it should only show on certain screen sizes.
  • Preview in the theme editor on mobile and desktop.

On this page