Skip to content
Cameron Themes

Cardinal docs/Blocks

Content blocks

Heading, subheading, paragraph, button, icon, image, column, group and Custom Liquid — the pieces every section is built from.

Cardinal uses Shopify's theme blocks, which means one set of content blocks works everywhere. The heading block in a slideshow is the same block as the heading in a rich text section, a banner, or a column. Learn these once and every section is familiar.

Blocks inherit the color scheme of whatever section they sit in, so text on a dark section is light automatically. Heading, subheading and paragraph each have a Text color setting for the times you want to override that deliberately — leave it empty and the block follows the scheme.

Where blocks can go

Section or blockAccepts
SlideshowSlide blocks.
Slide, Banner, Image with text, Collage scrollIcon, heading, subheading, paragraph and button, plus Custom Liquid and app blocks. Collage scroll shows them when Content type is Content blocks.
Rich textThe same, plus image and column.
MulticolumnColumn blocks.
ColumnIcon, heading, subheading, paragraph, button and image.
Custom section, GroupAny theme block, plus app blocks.
FAQCollapsible rows.
Product pageThe product blocks, plus heading, paragraph, button, icon, group, Custom Liquid and app blocks.
Featured productThe product blocks except Tabs, plus Custom Liquid and app blocks.
FooterThe footer blocks, plus Custom Liquid and app blocks. See Footer.

Heading

The main line of a section. Three sizes map onto the theme's fluid type scale, so a Large heading is large relative to the viewport rather than a fixed pixel value.

TextRich text
Default: Heading
Heading HTML tagSelect

H1 · H2 · H3 · H4 · H5 · H6 · Paragraph · Span · Div

Default: H2
SizeSelect

Small · Medium · Large

Default: Large
Text colorColor

Leave empty to follow the color scheme.

—
GradientGradient

When set, the gradient is applied to the heading text and replaces the text color.

—

The optional Gradient applies a color gradient across the heading text and replaces the text color. Used once on a page it is striking; used three times it is noise.

Subheading

A smaller line in the heading font, usually above the heading. It is the theme's eyebrow — a category label, a season, a short qualifier. It renders as a paragraph by default; give it a heading tag only when it genuinely heads the content below it.

TextRich text
Default: Subheading
Heading HTML tagSelect

H2 · H3 · H4 · H5 · H6 · Paragraph · Span

Default: Paragraph
Text colorColor

Leave empty to follow the color scheme.

—

Paragraph

Body copy, with rich text formatting — bold, italic, links, lists. Three sizes are available; Large works well as a lead paragraph directly under a heading. Lines are capped at a comfortable reading length, even in a full-width section.

ContentRich text
Default: Use this text to share information about your brand with your customers. Describe a pro…
SizeSelect

Small · Medium · Large

Default: Medium
Text colorColor

Leave empty to follow the color scheme.

—

Button

Three styles and three sizes, taking their colors from the section's scheme. Multiple buttons in the same section sit side by side and wrap onto a new line when they run out of room.

StyleSelect

Fill · Outline · Text

Default: Fill
SizeSelect

Small · Medium · Large

Default: Medium
LabelText
Default: Button
LinkLink
—
Background colorColor
—
Label colorColor
—
Show arrow iconToggle
Default: Off
  • Background color and Label color override the scheme for this one button. Background color applies to Fill; on Outline the label color sets both the text and the border. The Text style always uses the scheme's text color.
  • A button with no label is not shown at all.
  • A button with no link shows in its disabled state — a visible reminder, in the editor, that it goes nowhere yet.

Icon

Seventeen presets covering the usual commerce ideas — truck, shield, refresh, lock, gift, leaf, headphones, clock, star and more — or upload your own. The background shape turns a bare icon into a badge.

IconSelect

Arrow right · Chat · Check · Clock · Coupon · Gift · Headphones · Heart · Leaf · Lock · Music · Refresh · Shield · Sparkles · Star · Tag · Truck

Default: Music
Custom iconImage

240 x 240px .png recommended. Replaces the preset icon.

—
Icon widthSlider · 16–120px
Default: 32px
Background shapeSelect

None · Circle · Square · Rounded

Default: None
Background colorColor
—
Icon colorColor
—

A custom icon replaces the preset entirely. A 240 × 240px PNG with a transparent background works best; the icon renders at whatever Icon width you set.

Image

An image inside a content flow — a logo, a signature, a small illustration. For a full image-and-text layout, use Image with text, which is built for it.

ImageImage
—
Image widthSlider · 10–100%
Default: 100%
Corner radiusSlider · 0–48px
Default: 0px
Alt textText

Describe the image for screen readers. Leave empty if the image is decorative.

—

Column

A container. Add column blocks to a section and put content blocks inside each one, and they lay out side by side on desktop and stack on mobile. This is how Multicolumn is built, and how Rich text becomes a multi-column layout.

A column accepts icon, heading, subheading, paragraph, button and image blocks. It has no settings of its own — spacing, alignment and column count come from the section around it.

Group

A group holds other blocks and lays them out horizontally or vertically, with its own alignment and padding — useful for putting two small blocks on one row, like a pair of trust badges under the buy button. It is available on the product page and in a Custom section, and groups can nest inside each other.

In the block picker it appears twice, under Layout: Row adds a horizontal group and Column a vertical one. In a Custom section, where the Column content block is listed too, the one under Layout is the group.

Layout directionSelect

Horizontal · Vertical

Default: Vertical
AlignmentSelect

Left · Center · Right

Default: Left
PaddingSlider · 0–200px
Default: 0px
  • Horizontal spreads its blocks across the row, from one edge to the other, and keeps them on one line at every screen size. Keep a row to two or three small blocks, and check it on a phone.
  • Vertical stacks its blocks; Alignment lines them up left, center or right, and only shows for vertical groups.
  • Padding applies to the sides of a horizontal group and to the top and bottom of a vertical one.

Custom Liquid

Outputs whatever Liquid or HTML you paste into it — an app's install snippet, an embed code, a line of Liquid that shows a metafield. It is available wherever app blocks are. There is a section version too; both are covered in Custom Liquid.

Custom LiquidLiquid

Add app snippets or other code to make advanced customizations.

—

Still stuck? Contact support and we will help.