Skip to content

Sections and blocks

How sections and blocks work in your theme and how to build a page with them.

Updated

A page is a stack of sections. A section can hold blocks, such as text, a button or an image. You add, reorder and remove both in the theme editor. Section and block names vary, so see your theme's guides for the full list.

Add and arrange

  1. Open the page in the editor and click Add section.
  2. Pick a section. Drag it up or down to change its place.
  3. Inside a section, click Add block to see the blocks it accepts. Not every section accepts blocks.

The header, announcement bar and footer are section groups shared by every page. Some sections only work in one place. For example, sections for product recommendations or reviews usually go only on the product template.

Blocks that work in many sections

Themes usually include general blocks that sections with open block lists accept, such as button, image, text, video, spacer and group. A group holds other blocks and app blocks.

Build a free-form section

When no ready-made section fits, start from a free-form section if your theme has one and fill it with blocks.

Product blocks

The product page has its own blocks, such as title, price and variant picker. They only appear on product sections.

Using sections well

  • Check the section list for your theme before you build something custom. Themes often have many specific sections.
  • Sections with limits show them in the editor.
  • Blocks that read a metafield hide themselves, or show a note in the editor, when there is no value. See Metafields and metaobjects.
  • Change the order and watch the mobile view. Preview a long page on a phone width before you publish.

Still stuck? Get theme support