Milestone documentation

    Loading suggestions…

    ↑↓ to move ↵ to open esc to close

    Documentation

    Article

    The blog article template: title, publish date, content, and paginated comments with success and error handling.

    Merchant-addable
    No — rendered by the theme
    Settings
    11
    Block types
    —
    File
    sections/article.liquid

    Available in: Article templates.

    Included in supplied templates: Article

    When to use it

    Automatic for every blog article.

    Setting it up

    1. Choose Article heading size: Small, Medium (default), or Large. It uses the shared editorial scale on desktop and 20/24/28px on mobile. This controls the article title; headings within the article body come from its Shopify content. Color defaults to Scheme 7 (stored as scheme-6), with 24px top padding and 16px bottom padding. Featured image, date, author, tags, sharing, and comments are enabled by default. The article opens with a link back to its blog, an editorial title and metadata, and a featured image. Featured images keep their original aspect ratio and are centered. Their height is capped at the height of a full-width 3:2 landscape image at the same viewport width, so square and portrait images become narrower instead of making the page taller. Wider landscape images keep their natural, shorter height. This behavior also applies on phones and works without JavaScript. The back link uses the global text hover effect and extends its arrow to the left from a fixed right endpoint on hover or keyboard focus, matching the blog’s Read more link. Global No motion and reduced motion keep the arrow static. Body content uses a narrower reading column; native numbered lists provide a clear sequence for how-to guides.
    2. Under Motion, enable Show settling entrance (off by default) to settle the article title and featured image into place with the same gentle four-second motion as the blog and collection banner. Each starts when it enters view; the image waits until it has loaded and scales from 110% to rest without fading. The title scale fits its available space and stays clear of the date, author, and header dividers. Body content, metadata, comments, and dividers stay fixed. The title still settles when the featured image is hidden or missing. This uses the shared blog entrance code, runs independently of interface animation speed, respects Reveal sections on scroll, No motion, and reduced motion, and leaves content visible without JavaScript. Active effects cancel when content resizes or the section unloads, and the Theme Editor initializes the effect after reloading the section.
    3. Published comments use softly tinted cards with the global card corner radius and comfortable spacing, with the author on the left and localized posting date and time on the right on desktop; timestamps move below the author on mobile. The comment count is smaller beside the section heading. When comments exist, a Leave a comment link with a speech bubble icon uses the global text hover effect and scrolls smoothly to the form using the global interface animation speed. Reduced motion and the global No motion setting keep this navigation immediate, so readers can contribute without scrolling through the current page of comments. Comments are paginated at 20 per page. The comments area aligns with the article’s reading column, with a top divider, a smaller Leave a comment heading, and a Post comment button. Name and email share one row on desktop and stack on phones. Input corners follow the global input radius up to 12px; square settings stay square. Comment behavior is configured in Shopify admin under Content → Blog posts.

    Where the content comes from

    Shopify article data; section settings control presentation and the optional entrance.

    Set up an article

    Article content

    Shopify article data owns the title, featured image, publication date, author, body content, tags, and comments. Edit those in Shopify admin. Article heading size controls the title. Visibility settings control the featured image, date, author, tags, and share button.

    Show comments also requires comments to be enabled in the blog’s Shopify settings. Published comments paginate in groups of 20. The comment form reports validation errors, successful submission, and moderation when applicable.

    Optional settling entrance

    Show settling entrance is off by default. It uses the same entrance as the blog: the article title and featured image settle over a fixed four seconds as they enter view. Images wait until loaded, and heading scaling stays within its available space. Metadata and divider spacing remain in their normal positions.

    The entrance requires global scroll-reveal animations and a transition other than No motion, and it is disabled for visitors who prefer reduced motion. Interface animation speed does not alter the four-second duration. Theme editor section reloads clean up the previous animation before the new preview starts.

    Article 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.

    Article heading sizeDropdown
    ID
    heading_size
    Default
    Medium
    • Smallsmall
    • Mediummedium
    • Largelarge
    Show featured imageCheckbox
    ID
    show_featured_image
    Default
    On
    Show dateCheckbox
    ID
    show_date
    Default
    On
    Show authorCheckbox
    ID
    show_author
    Default
    On
    Show tagsCheckbox
    ID
    show_tags
    Default
    On
    Show share buttonCheckbox
    ID
    show_share
    Default
    On
    Show commentsCheckbox

    Also turn on comments in your blog settings.

    ID
    enable_comments
    Default
    On

    Motion

    Show settling entranceCheckbox

    Slowly settles the article heading and featured image into place over 4 seconds as they enter view. Matches the blog and collection banner. Respects the global animation setting, No motion, and reduced motion.

    ID
    enable_entrance_animation
    Default
    Off

    Color

    Color schemeColor scheme
    ID
    color_scheme
    Default
    scheme-6

    Padding

    Top paddingSlider
    ID
    padding_top
    Default
    24
    Range
    0px to 100px, in steps of 4px
    Bottom paddingSlider
    ID
    padding_bottom
    Default
    16
    Range
    0px to 100px, in steps of 4px