Flex cards section
The Flex cards section shows promotion cards in a row, each with media and theme blocks, and a width you set in a 12-column grid in Kingdom.
Applies to: Kingdom 6.2.0 and later. Added in: Kingdom 6.0.0. Last checked: 2026-10-13 against Kingdom 6.2.0.
The Flex cards section shows promotion cards in rows. Each card has an image or a video on top, theme blocks such as a heading, a text and a button below it, and a width you set on a 12-column grid. Kingdom 6.0.0 added it, with the Flex grid section and the theme blocks.
Where to find it: select Add section in the theme editor, then choose Flex cards (Add section category Promotions).
Adding cards
The section is built from Card blocks; the editor calls each one Card, and these docs call it the Flex card. A new Flex cards section starts with four cards in two rows, 7 + 5 and 5 + 7 columns wide, each with a caption and a heading.
- Select Add block → Card to add a card. There is no limit on the number of cards.
- Inside a card, select Add block to add theme blocks: Button, Caption, Content group, Custom Liquid, Divider, Empty space, Heading, Image, Text, Star rating, or an app block. See Blocks.
- Heading shows a title above the cards (default "Promotion cards"). Heading tag sets its HTML tag, see General section settings.
A Flex cards section with no cards shows nothing on the page.
Setting up card widths
On screens 768 px wide or more, the section is a grid of 12 columns. Each card's Desktop columns (2 to 12) sets how many of them it takes.
Add the section
In the theme editor, select Add section and choose Flex cards.
Set the width of each card
Select each Card and set Desktop columns so that the cards of one row add up to 12, for example 7 and 5, or 4, 4 and 4.
Add the media
In each card, upload an Image or select a Video file.
Add the content
Inside each card, select Add block and add a Heading, a Text and a Button. Drag the blocks to order them.
Set the media height
Select the section and set Desktop media height, then check the mobile preview and set the mobile options.
On screens narrower than 768 px, every card takes the full width, one card per row. Turn on Hide on mobile in a card to leave it out on phones.
Media size and text
These section settings apply to every card:
- Desktop media height sets the height of the image or video area, 100 to 600 px (default 300). The media is cropped to fill it.
- Preserve media height on mobile (default on) shows each image at its own proportions on screens 768 px wide or less. Turn it off to use Mobile media height instead, 100 to 500 px (default 200).
- Don't show media hides the image and video area of every card, for text-only cards.
- Gap between cards sets the space between the cards: None, Small (Theme settings → Layout → Columns margin) or Large (Theme settings → Layout → Horizontal padding).
- Text alignment places the blocks of each card on the left, in the center or on the right.
- Hide border removes the thin border around each card.
- Text padding sets the space between the card edge and its blocks, from None to Extra large.
- Text spacing sets the space between the blocks inside a card, from Small to Extra large.
Each card also has its own colors, see Flex card.
Why do my cards wrap onto a new row?
Because the Desktop columns of the cards add up to more than 12. A card that does not fit in what is left of a row moves to the next row, and the first row ends with an empty space. Lower Desktop columns on one of the cards so the row adds up to 12.
Why are all my cards the same width on my phone?
Because on screens narrower than 768 px, Kingdom shows every card at full width, one per row. Desktop columns applies only to wider screens. Kingdom does not have a mobile width setting for flex cards; use Flex grid when you need two cards side by side on phones.
Can I use theme blocks in other sections?
No. Theme blocks work only inside the cards of the Flex cards and Flex grid sections. The other Kingdom sections have their own blocks, listed on each section's page.
All Flex cards settings
Every setting in this group, with its type and default.
Accepts these blocks: Card.
Heading (text field, default: "Promotion cards"): Shows a title above the cards. Leave it empty for no title.
Flex cards section: Size & alignment
Where to find it: Flex cards → Size & alignment
Desktop media height (slider 100 to 600 px, step 10, default: 300 px): Sets the height of the image or video area of every card on screens 768 px wide or more. The media is cropped to fill it. Shown only when Don't show media is off.
Preserve media height on mobile (checkbox, default: on): Shows each card image at its own proportions on screens 768 px wide or less. Off, the cards use Mobile media height. Shown only when Don't show media is off.
Mobile media height (slider 100 to 500 px, step 10, default: 200 px): Sets the height of the image or video area on screens narrower than 768 px. Shown only when Don't show media is off and Preserve media height on mobile is off.
Gap between cards (dropdown, default: Small): Sets the space between the cards: Small uses Theme settings → Layout → Columns margin, Large uses Horizontal padding. Options: None, Small, Large.
Text alignment (dropdown, default: Left): Places the blocks inside each card on the left, in the center or on the right. Options: Left, Center, Right.
Don't show media (checkbox, default: off): Hides the image and video area of every card, for text-only cards.
Hide border (checkbox, default: off): Removes the thin border around each card.
Flex cards section: Typography
Where to find it: Flex cards → Typography
Text padding (dropdown, default: Small): Sets the space between the card edge and its blocks. Options: None, Small, Regular, Large, Extra large.
Text spacing (dropdown, default: Small): Sets the space between the blocks inside each card. Options: Small, Medium, Large, Extra large.
Flex cards section: SEO
Where to find it: Flex cards → SEO
Heading tag (dropdown, default: H2): Specify heading level to help search engines index the structure of your page. Options: H1, H2, H3, H4, span.
Related pages
- Flex card: the Card block and its colors.
- Flex grid section: cards that span columns and rows, for collages.
- Blocks: the theme blocks you add inside a card.
- How Kingdom is built: sections, cards and theme blocks.