Put a Container inside a column or another Container
Place a Container inside a column, or inside another Container, to build card layouts. The Container fits neatly inside the space you drop it into. A Container has columns, like a Row, plus card styling: Expand / Contain sizing, alignment, border and box shadow.Before you start
- Open an email in the builder, in Design mode.
- Add a Row with more than one column (for example 2 Column), or a Container.
Put a Container in a Row column
- From Components, drag a Container onto one of the Row’s columns.
- Optional: drag a second Container into the other column. The two cards sit side by side.
- Select a Container to set its background, Expand / Contain sizing and layout.
- To add space inside the card, select the Column inside it and set its Padding.
Put a Container in another Container
- Select a Container on the canvas.
- From Components, drag another Container into it.
- Select the inner Container and set its layout, Expand / Contain sizing, alignment and background.
Good to know
- Expand makes the card fill the column it’s in. Contain keeps the card the size of its content. Each Container has its own setting.
- A Container inside another Container fits the width of its parent card, not the whole email.
- Space inside a Container comes from each Column’s Padding. Rows use your brand’s layout grid spacing.