Milestone documentation

    Loading suggestions…

    ↑↓ to move ↵ to open esc to close

    Documentation

    Blog

    The blog index: article cards with linked titles, images, and excerpts, with pagination.

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

    Available in: Blog templates.

    Included in supplied templates: Blog

    When to use it

    Automatic for every blog.

    Setting it up

    1. Choose Sort posts by: Newest first (default), Oldest first, Most comments, Title, A–Z, or Title, Z–A. Dates use the Shopify article publish date, and Most comments uses the number of published comments. Posts, titles, dates, tags, and comment counts come from Shopify blog and article data; this section owns the display order. Ordering applies across all pages and within the active tag filter. Single-page blogs sort without JavaScript. Custom sorting on multi-page blogs loads the remaining article pages with up to three requests at a time, then keeps pagination and browser back/forward in the selected order without downloading those pages again. A loading message is announced while this completes. If JavaScript is disabled or loading fails, native newest-first pagination stays available; a loading failure shows a message with a reload instruction. Newest first uses native Shopify pagination without additional requests. Comments can be enabled in Shopify admin under Content → Blog posts.
    2. Enable Show tag filters (on by default) to display All stories and up to three native blog tags as inline links. When the blog has more than three tags, the whole tag list becomes a subtle dropdown showing the current tag or All stories, with a small chevron. Open it to browse every tag; long lists scroll inside the panel. The dropdown opens and closes with measured-height motion at the global Interface animation speed (Standard, Relaxed, or Slow), using the selected motion style. No motion and reduced motion use an immediate toggle. Keyboard navigation, Escape, outside-click dismissal, and native disclosure behavior without JavaScript are supported. Its panel and option corners follow Corner style (Soft or Sharp), independently of the custom control corner radius. Hovered, keyboard-focused, and selected dropdown rows use a subtle background instead of an underline. Inline tag links retain their active underline. Filters appear only when tags exist and use Shopify tag pages with normal pagination. Shopify blog posts own the tag names; add or edit tags in the admin. Selecting a tag resets pagination.
    3. Set Page heading size to Small, Medium (default), or Large. This control appears when Show blog title is enabled. Under Card content, set Blog post heading size for the regular cards and Featured post heading size for the first story on page one independently to Small, Medium, or Large. Regular post headings default to Small and featured post headings default to Medium. On desktop, the featured story uses the editorial scale and the remaining cards use the compact scale. The featured heading size control appears only while Show featured image is enabled and Blog layout is Featured post and grid. With images turned off, every post uses the regular card width and Blog post heading size, and Read more links align at the bottom of each row. Both scales reduce to 20/24/28px on mobile. Titles always wrap in full.
    4. Under Layout, choose Blog layout: Featured post and grid (default) opens page one with a full-width first story when Show featured image is enabled and that story has an image. Simple grid uses the selected column count and regular post heading size for every card, including the first. Later pages always use the regular grid. The featured story follows the selected post order and tag filter. This choice works with native pagination and custom sorting, with or without JavaScript. Existing blog sections keep the featured layout until changed. Content alignment: Left (default) or Center aligns each card’s title, metadata, excerpt, and Read more link. The journal masthead stays left aligned. All rows start from the left, including incomplete rows, with images enabled or disabled, to keep the stories on a consistent reading grid. Numbering continues across pages, and each folio uses the article’s first tag or the blog title. When comments are enabled for the blog in Shopify admin, each card displays a localized comment count linking to that article’s comments.
    5. Choose the visible details under Card content. With Show featured image enabled, set Image layout to Landscape (3:2, default), Square (1:1), Portrait (4:5), or Adapt to image (original proportions). Fixed layouts crop using the image focal point; Adapt to image shows the full image and uses a landscape placeholder for articles without an image. The defaults show images, dates, authors, and excerpts, with 10 posts per page and three columns on desktop. Color defaults to Scheme 7 (stored as scheme-6), and top and bottom Padding both default to 52px.
    6. Under Motion, enable Show settling entrance (off by default) to use the collection banner’s gentle four-second settle for the blog masthead, post images, and post headings as they enter view. Photographs scale from 110% to rest only after loading; heading scales stay within the available space so long titles remain readable. The effect uses no fade, keeps card frames and dividers fixed, and runs independently of interface animation speed. It respects Theme settings → Cart and animations → Reveal sections on scroll, Motion → No motion, and the device’s reduced-motion preference. Content remains visible without JavaScript. Sorting waits for the final post order before starting post entrances, and pagination initializes newly displayed posts. Resizing or unloading the section cancels active effects.
    7. Article titles stay free of underlines. Hovering anywhere within a story card, or focusing one of its links with the keyboard, activates the image and Read more effects selected under Theme settings → Motion, including None. The Read more arrow extends from a fixed starting point on card hover and keyboard focus, using the global interface animation speed. Reduced motion and the global No motion option keep it static.

    Where the content comes from

    Shopify blog and article data.

    Set up the blog

    Content and layout

    Shopify blog and article data owns the blog title, post titles, featured images, publication dates, authors, excerpts, tags, and comments. Edit those in Shopify admin. Section settings control their presentation.

    Choose Blog layout → Featured post and grid to feature the first post on page one when Show featured image is on and that post has an image. Otherwise it uses the regular card treatment. Simple grid gives posts equal emphasis. Set Posts per page from 3 to 24 and Columns on desktop from 2 to 4. Page heading size, Blog post heading size, and Featured post heading size control their respective headings independently.

    Tags and ordering

    Show tag filters uses the blog’s tags. Up to three tags appear as links; more than three use a dropdown. Selecting a tag opens its filtered blog page. No tags means no filter navigation.

    Sort posts by offers Newest first, Oldest first, Most comments, Title, A–Z, and Title, Z–A. Ordering applies across all pages and within filtered tag results. Multi-page ordering needs JavaScript; without it or if loading fails, posts remain newest first. A single page can be ordered without JavaScript. Most comments counts published comments and requires comments to be enabled in the blog’s Shopify settings.

    Optional settling entrance

    Show settling entrance is off by default. When enabled, the blog heading, post images, and post headings settle into place over a fixed four seconds as they enter view. Images wait until they load, and heading scaling is bounded to keep text within its available space.

    The entrance also requires global scroll-reveal animations to be enabled and a global transition other than No motion. It is disabled for visitors who prefer reduced motion. Interface animation speed does not change the four-second settling duration. Changing the section in the theme editor cleans up the old animation and initializes the new preview.

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

    Show blog titleCheckbox
    ID
    show_title
    Default
    On
    Page heading sizeDropdown
    ID
    heading_size
    Default
    Medium
    Shown when
    show_title
    • Smallsmall
    • Mediummedium
    • Largelarge
    Show tag filtersCheckbox
    ID
    show_tag_filters
    Default
    On
    Sort posts byDropdown

    Orders all posts, including filtered tag results. Multi-page sorting uses JavaScript and falls back to newest first if unavailable. Most comments uses published comments; enable comments in your blog settings.

    ID
    sort_by
    Default
    Newest first
    • Newest firstnewest
    • Oldest firstoldest
    • Most commentsmost_comments
    • Title, A–Ztitle_ascending
    • Title, Z–Atitle_descending

    Layout

    Blog layoutDropdown

    Featured post and grid highlights the first post on page one when it has an image.

    ID
    layout
    Default
    Featured post and grid
    • Featured post and gridfeatured
    • Simple gridgrid
    Posts per pageSlider
    ID
    posts_per_page
    Default
    10
    Range
    3 to 24, in steps of 1
    Columns on desktopDropdown
    ID
    columns_desktop
    Default
    3 columns
    • 2 columns2
    • 3 columns3
    • 4 columns4
    Content alignmentDropdown
    ID
    content_alignment
    Default
    Left
    • Leftleft
    • Centercenter

    Card content

    Show featured imageCheckbox
    ID
    show_image
    Default
    On
    Image layoutDropdown
    ID
    image_layout
    Default
    Landscape
    Shown when
    show_image
    • Landscapelandscape
    • Squaresquare
    • Portraitportrait
    • Adapt to imageadapt
    Show dateCheckbox
    ID
    show_date
    Default
    On
    Show authorCheckbox
    ID
    show_author
    Default
    On
    Show excerptCheckbox
    ID
    show_excerpt
    Default
    On
    Blog post heading sizeDropdown
    ID
    post_heading_size
    Default
    Small
    • Smallsmall
    • Mediummedium
    • Largelarge
    Featured post heading sizeDropdown
    ID
    featured_heading_size
    Default
    Medium
    Shown when
    show_image and layout is 'featured'
    • Smallsmall
    • Mediummedium
    • Largelarge

    Motion

    Show settling entranceCheckbox

    Slowly settles the blog heading, post images, and post headings into place over 4 seconds as they enter view. Matches the 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
    52
    Range
    0px to 100px, in steps of 4px
    Bottom paddingSlider
    ID
    padding_bottom
    Default
    52
    Range
    0px to 100px, in steps of 4px