Skip to content
Cameron Themes

Cardinal docs/Getting started

The theme editor

A tour of the editor, and the sections, blocks and templates that explain every screen in it.

Everything in this documentation happens in Shopify's theme editor: Online Store → Themes → Customize. Cardinal is an Online Store 2.0 theme, so almost nothing about a page is fixed — you add, reorder and remove pieces yourself.

Finding your way around

  • The page selector, at the top, switches which kind of page you are editing — the home page, products, collections, pages and so on. It is also where you create alternate templates.
  • The left sidebar has three views: Sections (the page's sections in order, with the header above and the footer below), Theme settings (styles, colors, typography, layout and the other store-wide settings) and App embeds.
  • Selecting a section or block — in the list or by clicking it in the preview — opens its settings.
  • The preview can switch between desktop and mobile from the top bar. Check both; most sections have separate mobile settings.
  • Save applies your changes. On your published theme they go live for customers immediately, so make large changes on an unpublished copy.

Sections

A section is a full-width horizontal band of a page — a slideshow, a row of products, an image next to some text. You add sections in the left sidebar, drag them into the order you want, and each one carries its own settings: color scheme, padding, layout.

Almost every section in Cardinal has a Color scheme setting and four Section padding settings, with separate values for mobile. That is deliberate: it means any section can sit next to any other and still look intentional. Sections default to 64px of padding above and below on desktop and 48px on mobile; Slideshow and Banner default to 0. See Layout.

Blocks

A block is a piece of content inside a section — a heading, a paragraph, a button, an icon, an image. Cardinal uses Shopify's theme blocks, which means the same heading block works in the slideshow, in a banner, in a rich text section and inside a column. Learn it once.

Because blocks are shared, the order you put them in is the order they render. Want the button above the paragraph? Drag it. Want two buttons side by side? Add two — they wrap onto one row automatically.

Templates

A template decides which sections a kind of page starts with. There is a product template, a collection template, a page template, and so on. Change the product template and every product changes with it.

You can also create alternate templates — a second product template for a launch product, say. In the page selector, choose the page type and then Create template. Then assign it to a product, collection or page from its admin screen, under Theme template.

Section groups

Some sections appear on every page, so they live in section groups above and below the template area instead of inside it. The Header group holds the header (which includes the mobile menu drawer), the Footer group holds the footer, and the Overlay group holds the search drawer and the cart drawer. You can add more sections to the header and footer groups the same way you would anywhere else.

Where the width comes from

Every section uses a two-layer width model. The section's background always fills the browser window edge to edge, while its content is capped to the page width you set in Theme settings → Layout. That is why changing a section's color scheme never leaves white gutters at the sides.

The per-section Make section full width toggle removes the content cap so the content spans the window too. Because the page width is 1440px or 1760px, it only makes a visible difference on monitors wider than that — except on Slideshow and Banner, where it decides whether the image runs edge to edge or sits inside the page margins.

Still stuck? Contact support and we will help.