Docs

Media with text overlay section

The Media with text overlay section of Local shows image or video cards with a caption, title, subtitle and button over the media.

Applies to: Local 4.2.1 and later. Added in: Local 1.0.0. Last checked: 2026-10-13 against Local 4.2.1.

The Media with text overlay section shows cards with an image or a video in the background and text on top: a caption, a title, a subtitle and a button. You choose the number of columns, the card height and the text style, and every card has its own colors, so it adapts to any background.

Where to find it: Online Store → Themes → Customize → Add section → Media with text overlay

Media with text overlay section with two cards on a coffee-bean background, each with a title (The best selection, Amazing variety of flavors) and a short text over the image.

Content

  • Desktop layout sets 1, 2 (default) or 3 cards per row on desktop. On phones the cards stack.
  • Card height sets the minimum height of the cards, as a share of the screen height: Small (40 percent), Large (60 percent, default) or Extra large (80 percent). Cards grow taller when the text needs more room.

Media with text overlay section titled We promise! with two cards, Fresh Bakery and Fruits & Vegetables, each with a caption, title and button over a food image.

Text style

These settings apply to every card of the section:

  • Text alignment places the text in one of nine positions over the media (default Left bottom).
  • Text container width sets Medium (default) or Large text width.
  • Caption size (Small, Regular, Large), Title size (Small, Regular, Large) and Subtitle size (Regular, Large) set the size of each line.
  • Button size (Regular, Large) and Button style (Outline, Solid) set the button.

The section background, Heading text color and the margins are the standard Section design settings: they color the area around the cards, not the cards. See General section styling.

Image blocks

Each Image block is one card.

  • Image is the background of the card; Mobile image (optional) replaces it on phones.
  • Video background plays a video behind the text, muted and looping. The Image shows while the video loads and when it cannot play.
  • Use different media on mobile plays Mobile video background on phones, with its own Mobile video aspect ratio.
  • Caption, Title and Subtitle are the text lines. Leave a line empty to hide it. The title's tag is under SEO → Heading tag.
  • Button label adds a button. Link is where the button goes; Open link in a new window opens it in a new tab.
  • Under Custom card design, Overlay tints the media to keep the text readable, Text sets the text color, and Hide border and Hide shadow remove the card border and shadow.

Media with text overlay section with a white Accessories card and a dark Mouses card, each with a caption, title and text over a product image.

The Link goes on the button. Without a button, it goes on the title. Without a button, title and subtitle, the whole card becomes the link.

Which video files can I use as a background?

Videos you upload to Shopify. Video background opens Shopify's video picker: select a video you already have in Shopify admin → Content → Files, or upload a new one in the picker. YouTube and Vimeo links are not supported here; use the Video section for those.

Video backgrounds must be videos hosted by Shopify (for example MP4 files). Select or upload them in the Video background picker; they are stored in Shopify admin → Content → Files.

Why is the whole card not clickable?

Because the card has a title, a subtitle or a button. The whole card is a link only when all three are empty. Otherwise the Link goes on the button, or on the title when there is no button.

All Media with text overlay settings

Every setting, with its type and default.

On this page