Cards
Three cards, each with a picture, a heading, a sentence and a link.
Use this element#
Edit a card’s picture, heading, words, and link separately. To copy or move the complete card, select the card owner through its actions or breadcrumb. The Cards collection can add another complete item.
Choose a grid, list, or first-larger layout where offered. The Across setting is available for a compatible grid and can be hidden when the section already owns the layout. Test the last remaining card after saving; it should remain possible to add another.
Availability#
Available through the appropriate content or section picker when the theme and editing context allow it.
Content controls#
These are the controls registered for this element. A control that depends on another setting or the surrounding layout appears only when it applies.
Layout#
| Choice | Stored value |
|---|---|
| Grid | (empty/default) |
| List | layout-list |
| First larger | layout-feature |
This control is conditional on the element’s current state or layout. A hidden control does not indicate that its stored value has been deleted.
Across#
| Choice | Stored value |
|---|---|
| 2 | cb-2 |
| 3 | (empty/default) |
| 4 | cb-4 |
This control is conditional on the element’s current state or layout. A hidden control does not indicate that its stored value has been deleted.
Cards#
Use Add a card to create a complete item. The collection manages its content and structural wrapper together.
Min: 1.
Each item exposes: Heading. Rich content can also be edited directly on the page.
The item includes a picture that can be replaced through the image controls.
Save and check#
- Change one setting and inspect the affected element.
- Use Undo and Redo to check the edit is reversible.
- Save a draft, reopen it, and confirm the content and choices remain.
- Inspect the page at desktop and phone widths.
- Publish only when the result is ready. For interactive elements, check the visitor view because editing mode can suppress interaction.
How it is stored#
The block comes from blocks/70-cards.html. Its editable content is HTML in the page or owning template. Native settings update words, attributes, classes, or supported style properties. Generated interface controls are not saved into that HTML.
The settings registry matches .cb-cards in assets/element-settings.js. Public behavior, when needed, is implemented by the native element runtime in assets/elements.js or assets/blocks.js.