Strata

Flexible media grid

Compose an editorial grid from image, video, and text blocks.

Flexible media grid combines image, video, and text blocks in one editorial layout. Use it for lookbooks, campaign stories, and collection introductions where each item needs its own size and role.

Flexible media grid with four image cards and one text card arranged at different sizes.

Four desktop columns with individual block spans create this composition.

Add Flexible media grid

  1. Open Online Store > Themes > Edit theme.
  2. Use the page selector to open the template where the grid should appear.
  3. Select Add section, then choose Flexible media grid.
  4. A new section starts with one 2 × 2 Image item, one 2 × 1 Video item, and two 1 × 1 Image items. Reorder or resize them to fit the story.

The section supports up to 8 blocks and can be added to templates and to the Footer group, but not to the Header or Overlay groups.

Content

Flexible media grid Content settings in the Theme Editor: Eyebrow, Heading, Text.

The Content group in the Theme Editor. Values shown are from the demo store, not defaults.

Use these settings for the introduction above the grid:

SettingOptions and use
EyebrowShort label above the heading. Default: Editorial layout.
HeadingMain introduction. Default: Build a visual story.
TextSupporting rich text. A new section includes a short explanation of the mixed-media grid.

Leave the heading fields blank when the media should begin immediately.

Layout

Flexible media grid Layout settings in the Theme Editor: Full width, Desktop columns, Mobile columns, Row height, Grid gap, Heading alignment, Content width.

The Layout group in the Theme Editor.

SettingOptions and use
Full widthExtends the grid beyond the normal page container when on. Default: Off.
Desktop columns2, 3, or 4 columns. Default: 4. A block’s horizontal span should fit the selected column count.
Mobile columns1 or 2 columns. Default: 1. The block-level Mobile span setting is useful when 2 is selected.
Row heightCompact, Standard, or Tall. Default: Standard. Changes the base row height before block spans are applied.
Grid gapNone, Small, Medium, or Large. Default: Small.
Heading alignmentLeft, Center, or Right. Default: Center.
Content widthSmall, Medium, or Large. Default: Medium.

The same block order is used at both sizes, while the column choice and each block’s span determine the responsive composition.

Colors

Flexible media grid Colors settings in the Theme Editor: Background color, Text color.

The Colors group in the Theme Editor.

SettingWhat it controlsDefault
Background colorThe section surface around the grid.Leave blank to inherit Theme settings > Colors > General; selecting a color in this section overrides the inherited value.
Text colorThe default text color for the section heading and supporting copy.Leave blank to inherit Theme settings > Colors > General; selecting a color in this section overrides the inherited value.

Block-level colors in Image item, Video item, and Text item can still override their own surfaces or copy.

Spacing

Flexible media grid Spacing settings in the Theme Editor: Section spacing, Top spacing, Bottom spacing.

The Spacing group in the Theme Editor.

SettingOptions and use
Section spacingSmall, Medium, or Large. Default: Medium.
Top spacingAdds the section’s top spacing. Default: On.
Bottom spacingAdds the section’s bottom spacing. Default: On.

Blocks

Add up to 8 blocks. The available block types are Image item, Video item, and Text item. Reorder blocks in the Theme Editor to change the story order.

Image item

Image item block settings in the Theme Editor: Image, Mobile image, Media fit, Eyebrow, Heading, Text, Button label, Button link.

Image item block settings.

Media

SettingWhat it controls
ImageThe primary image for the block. Shopify uses its alt text when the section needs an image description.
Mobile imageOptional replacement for the narrow layout. When blank, the main Image is reused.
Media fitCover fills the block and can crop; Contain keeps the full image visible. Default: Cover.

Content

SettingWhat it controls
EyebrowShort label above the block heading.
HeadingThe block’s main heading.
TextRich text supporting the block.
Button labelThe visible action label. It appears with a destination only when Button link is also set.
Button linkDestination for the button.
Button styleText link, Primary, or Secondary. Default: Text link.

Layout

SettingOptions and use
Content horizontal positionLeft, Center, or Right. Default: Left.
Content vertical positionTop, Middle, or Bottom. Default: Bottom.
Content widthSmall, Medium, or Large. Default: Medium.
Horizontal span1–4 columns in whole-number steps. Default: 1 for Image blocks and 2 for Video blocks. The visible result is limited by the section’s desktop column count.
Vertical span1–4 rows in whole-number steps. Default: 1.
Mobile span1 column or 2 columns. Default: 1 column. Used when Mobile columns is 2.

Colors

SettingOptions and use
Text colorColor for copy over the image. New Image item and Video item blocks default to white.
Enable overlayAdds the color layer behind overlaid copy. Default: On. Turn it off when the image already provides enough contrast.
Overlay opacity0–80% in 5% steps. Default: 30%.

Video item

Media

SettingWhat it controls
Desktop background videoHosted video used in the desktop composition.
Mobile background videoOptional narrow-layout video. When blank, the desktop video is reused.
Fallback imageStill image used when the block has no playable video or motion is reduced.
Mobile fallback imageOptional narrow-layout fallback. When blank, the main Fallback image is reused.
Media fitCover fills the block and can crop; Contain keeps the full media frame visible. Default: Cover.

Content, Layout, and Colors

The Video item uses the same Content, Layout, and Colors controls as the Image item. A new Video item uses the heading Create a video block and spans two desktop columns by default.

Keep important information in the text fields or fallback image; do not make the video the only way to understand the message.

Text item

Text item block settings in the Theme Editor: Eyebrow, Heading, Text, Button label, Button link, Button style, Content padding, Content horizontal position.

Text item block settings.

Content

The Text item provides Eyebrow, Heading, Text, Button label, Button link, and Button style. A button appears only when its label and link are both present. Choose Text link, Primary, or Secondary for Button style; the default is Text link.

Layout

Content padding adds internal spacing around the text and is on by default. Turn it off only when the surrounding composition supplies the required spacing.

The Text item uses Content horizontal position, Content vertical position, Content width, Horizontal span, Vertical span, and Mobile span with the same options and defaults as the Image item. It has no Media fit setting.

Colors

SettingOptions and use
Background colorBackground of the text block. The default follows the global background color.
Text colorColor for the block copy. The default follows the global brand color.

Desktop and mobile behavior

The same four image cards and text card stacked in one column on mobile.

Mobile columns: 1. The same cards follow their configured order.

The section has separate desktop and mobile column controls. At a narrow size, one column stacks blocks; two columns allow Mobile span to keep a block at one column or span both. Review reflow, text wrapping, and reading order after choosing spans.

Long Text-block copy can be shortened when two mobile columns are selected. Keep the mobile composition understandable without relying on every line of that copy.

Media recommendations

Use an image alt description in Shopify Files for informative images. Supply a fallback image for every Video item, and add mobile-specific media only when the desktop crop does not preserve the subject. Review each crop and span at desktop and mobile sizes.

Accessibility and motion

  • Keep headings and button labels meaningful without reading text embedded in an image.
  • Check overlay and text color against the lightest and darkest parts of each image.
  • Use Contain when cropping would remove information that visitors need to see.
  • Treat video fallback images as the readable alternative when motion is unavailable or reduced.
  • Review keyboard focus, reduced-motion behavior, and video playback before publishing.

Common issues

  • A block is wider than expected: check Desktop columns, Horizontal span, and Vertical span together.
  • The mobile grid feels crowded: try Mobile columns: 1, or give the important block Mobile span: 2 columns when using two columns.
  • Text is hard to read over an image: enable the overlay and adjust Overlay opacity and Text color together.
  • A button is missing: confirm both Button label and Button link are populated.
  • Video content is unavailable: confirm the hosted video and its fallback image, then preview with reduced motion enabled.
  • Image with text for one focal image and one message.
  • Media hero for one full-width hero or a controlled slideshow.
  • Video for a focused video section.
  • Animation for reduced motion and parallax controls.

Search documentation

Search across the Strata guide