Docs

Flex cards section

The Flex cards section of Local shows a grid of cards, each with media, theme blocks and its own width in a 12-column layout.

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

The Flex cards section shows a row of cards with media on top and theme blocks below, for promotions, categories or collections. Each card sets its own width on a 12-column grid, so you can mix wide and narrow cards.

Where to find it: Online Store → Themes → Customize → Add section → Flex cards

Theme editor with a Flex cards section open: three Card blocks, each with Caption, Heading, Empty space and Button blocks; the panel shows Heading, Content (Desktop media height, Preserve media height on mobile, Don't show media), Text style, Section design, SEO and Visibility, beside three product category cards.

Heading

The section heading has Heading, Subheading, Text alignment and an optional section link (Show section link, Link text, Link). See General section styling.

Content

These settings set the media area at the top of every card:

  • Desktop media height sets its height on desktop, 100 to 600 px (default 300 px). The image is cropped to fill it.
  • Preserve media height on mobile (on by default) shows each image at its own proportions on phones, uncropped.
  • Mobile media height (100 to 500 px, default 200 px) appears when you turn off Preserve media height on mobile, and gives every card the same media height on phones.
  • Don't show media hides the media of all cards, for a grid of text cards.

Text style

  • Text alignment aligns the blocks inside the cards: Left, Center or Right.
  • Text spacing sets the space between the blocks: Small (default) to Extra large.
  • Text padding sets the space around the content: Regular or Large.

Card block

Each Card is one card of the row. It holds theme blocks and app blocks under its media; see Blocks.

  • Image is the card media. Video file plays a Shopify-hosted video instead, muted and looping, with the image as fallback. Use different media on mobile plays Mobile video file on phones, at its Mobile video aspect ratio.
  • Desktop columns (2 to 12, default 2) sets the width of the card on the 12-column grid. Cards wrap onto a new row when the columns add up to more than 12. On phones every card is full width.
  • Hide on mobile hides the card on screens narrower than 768 px.
  • Custom card design overrides the card colors (Background, Text, Accent, Border, Shadow) and can hide the border or shadow.

The Card block has no link of its own. To make a card lead somewhere, add a Button block or a Quick buy button block inside it.

Setting up Flex cards

Add the section

Select Add section and choose Flex cards. It starts with three cards.

Set the media height

In Content, set Desktop media height. Turn off Preserve media height on mobile if all cards should have the same media height on phones, then set Mobile media height.

Size the cards

Select each Card and set Desktop columns. Three cards of 4 fill one row; a card of 8 and a card of 4 make a wide and a narrow card.

Fill the cards

Pick the Image of each card, then add blocks inside it with Add block (Caption, Heading, Text, Button) and drag them into order.

Can I change the corner radius of the cards?

Not in the section. The card corners follow Theme settings → Borders → Cards, like every card in the theme. See Borders theme settings.

How do I make the whole card clickable?

You cannot: the Card block has no link setting. Add a Button block with the link inside the card. If the whole card must be clickable, use a Text card of the Flex grid section, which has a Link.

All Flex cards settings

Every setting, with its type and default.

On this page