Milestone documentation

    Loading suggestions…

    ↑↓ to move ↵ to open esc to close

    Documentation

    Blocks

    Shopify’s wrapper for theme blocks placed directly by the editor, with a shared color-scheme band and padding.

    Merchant-addable
    Yes, in supported locations
    Settings
    3
    Block types
    —
    File
    sections/_blocks.liquid

    Excluded from: header section groups.

    When to use it

    When the editor places compatible theme blocks directly on a template. The contained blocks own their content.

    Setting it up

    1. Choose Color scheme, Top padding, and Bottom padding for the wrapper.
    2. Add and arrange compatible theme blocks in the editor. Their individual content and controls are listed below under Reusable theme blocks.
    3. This wrapper is excluded from the header section group. The private Protocol cadence/step and Routine tab/step blocks are documented with their owning sections.

    Where the content comes from

    The wrapper owns its background and spacing. Each contained theme or app block owns its content and settings.

    Theme block wrapper

    Shopify uses this wrapper when compatible theme blocks are placed directly by the theme editor. It supplies Color scheme, Top padding, and Bottom padding. The background spans the section, while the contained content uses the shared page-width grid. Phone padding is reduced.

    The wrapper does not create product facts or editorial copy. Use its contained Eyebrow, Heading, Body text, Story detail, Button, and Group blocks for that content. Their complete settings are listed below. Group arranges its children using its layout controls; each child retains its own content. App blocks belong to their installed app.

    The wrapper is excluded from the header group. Protocol cadence/step and Routine tab/step are private blocks used by their owning sections, rather than generic page-building blocks.

    Blocks design

    100%

    Use the zoom controls, then scroll to inspect the image. Press Escape to close.

    Section settings

    Every setting on the section itself, in the order it appears in the theme editor. Group headings match the editor's own grouping.

    Color schemeColor scheme
    ID
    color_scheme
    Default
    scheme-6
    Top paddingSlider
    ID
    padding_top
    Default
    36
    Range
    0px to 100px, in steps of 4px
    Bottom paddingSlider
    ID
    padding_bottom
    Default
    36
    Range
    0px to 100px, in steps of 4px

    This wrapper accepts compatible theme blocks. Each added block provides its own content and settings.

    Reusable theme blocks

    These blocks can be placed in compatible theme-block containers. Group can contain further compatible theme blocks. Private routine and protocol blocks belong to their section guides.

    Button button

    Button labelText
    ID
    label
    Default
    Explore the collection
    Button linkLink
    ID
    link
    Button styleDropdown
    ID
    style
    Default
    Primary
    • Primaryprimary
    • Secondarysecondary
    • Text linklink

    Story detail detail

    LabelText
    ID
    label
    Default
    Material
    ValueText
    ID
    value
    Default
    Thoughtfully selected

    Eyebrow eyebrow

    TextText
    ID
    text
    Default
    Designed with intention

    Group group

    Layout directionDropdown
    ID
    layout_direction
    Default
    Vertical
    • Horizontalgroup--horizontal
    • Verticalgroup--vertical
    AlignmentDropdown
    ID
    alignment
    Default
    Left
    Shown when
    layout_direction is 'group--vertical'
    • Leftflex-start
    • Centercenter
    • Rightflex-end
    PaddingSlider
    ID
    padding
    Default
    0
    Range
    0px to 200px, in steps of 2px

    Heading heading

    HeadingText
    ID
    heading
    Default
    A closer look at what makes it different
    Heading sizeDropdown
    ID
    size
    Default
    Large
    • Smallsmall
    • Mediummedium
    • Largelarge

    Body text text

    Body textRich text
    ID
    text
    Default
    <p>Each piece starts with a short list of materials, chosen for how they feel in daily use and how well they last.</p>
    Text styleDropdown
    ID
    text_style
    Default
    Normal text
    • Titletext--title
    • Subtitletext--subtitle
    • Normal texttext--normal
    AlignmentText alignment
    ID
    alignment
    Default
    left

    App blocks

    This section accepts @app blocks, so apps you install can render inside it directly from the theme editor. Add the app's block the same way you add a theme block.