Milestone documentation

    Loading suggestions…

    ↑↓ to move ↵ to open esc to close

    Documentation

    404 page

    The not-found page: a clear message, a search field, and a route home.

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

    Available in: 404 templates.

    Included in supplied templates: 404

    When to use it

    Automatic. Shown whenever a URL does not resolve.

    Setting it up

    1. Choose Content alignment: Theme default preserves the layout, while Left, Center, or Right applies to the introduction and actions on desktop and mobile. For Image layout → Background, choose Content box style → Glass (default) or Solid. Mobile background panels have 24px above and below, and grow with their content. Configure the Search group, then Color and Padding. The search placeholder automatically uses the current Shopify store name: Search within [store name]. The old custom placeholder control has been removed. The home-page action uses a compact, lightly outlined button without an underline; suggested links have no resting underline on phones.

    Where the content comes from

    Shopify owns the store name and automatic product suggestions; section settings own the page message, home action label, artwork, and optional suggestions.

    404 page

    The background image treatment uses a lifestyle placeholder behind the text. The split treatment uses the standard image placeholder. Choose desktop and optional mobile artwork; no product data or metafields are required.

    Selected images always fill their media area on desktop and mobile. Images crop to cover the available space while respecting the selected focal point; a wide image does not leave an empty band underneath in the mobile split layout.

    Heading size sets the “Page not found” heading to Small, Medium, or Large. Medium is the default.

    Configure the recovery page

    Open the 404 template; this section is supplied there rather than added to ordinary pages. Write Eyebrow, Heading, and Body text, then set Button label for the home-page recovery action. This action is a compact, lightly outlined button with no underline, including on phones. Choose Image layout, Desktop image, and optional Mobile image. Image overlay opacity changes the image treatment where that layout uses an overlay. Assign Color scheme, Top padding, and Bottom padding.

    Preview a missing storefront URL as well as the editor. Confirm the home action, search, and suggested destinations take customers to working pages. The section does not change Shopify’s HTTP error behavior or redirect missing URLs.

    When Show search form is on, the 404 page shows the same search bar as the search page: a field with a clear button once a shopper types, an arrow submit button, and a Suggested row of searches underneath. The field and button follow the Corner style in theme settings, including the custom control corner radius when it is turned on.

    The placeholder automatically reads Search within [store name], using the current Shopify store name, for example Search within Purely. The former custom Search placeholder control has been removed; saved text such as Search Lux no longer overrides the store name. The same wording is used on the search page and in header search. Suggested links have no resting underline on phones; keyboard focus indicators remain visible.

    Search field label is available when Show search form is on. It supplies the field’s accessible name for assistive technology; leave it blank to use the localized Search label. Existing saved search_label values are retained for compatibility and used for this accessible name. They do not change the visible store-name placeholder.

    SettingWhat it does
    Suggested links menuOptional. A nonempty menu replaces automatic product suggestions and custom search terms. Only top-level links appear.
    Use product suggestionsOn by default. Shows up to four distinct available product names from the storefront catalog in catalog order. The names update automatically from Shopify product data, and each starts a fresh search. Hidden while a suggestions menu is selected.
    Suggested search termsAvailable when product suggestions are off and no menu is selected. Separate custom phrases with commas; each starts a fresh search for products, articles, and pages. Existing saved terms remain available in this mode.

    Automatic suggestions use Shopify product names and availability. If there are no available catalog products, the row stays hidden. These suggestions work without JavaScript. To hide suggestions manually, clear the menu, turn off Use product suggestions, and leave Suggested search terms empty.

    Content box and alignment

    Content alignment, under Content, offers Theme default, Left, Center, and Right. Theme default preserves the layout’s existing desktop and phone composition. An explicit choice aligns the introduction, home action, search block, and suggestion row on desktop and mobile. The search field retains its normal typing direction.

    With Image layout → Background, Content box style appears under Media:

    • Glass (default) uses a lightly translucent color-scheme surface with background blur. Browsers without backdrop blur use a solid surface for readability.
    • Solid uses the color scheme’s opaque background without blur.

    Both styles keep the global surface corners and color scheme. On phones, the background image has 24px of space above and below the box and 16px at each side. The area grows with long copy and suggestions so the box never loses its top spacing.

    404 page 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.

    Content

    EyebrowText
    ID
    eyebrow
    Default
    404
    HeadingText
    ID
    heading
    Default
    Page not found
    Heading sizeDropdown
    ID
    heading_size
    Default
    Medium
    • Smallsmall
    • Mediummedium
    • Largelarge
    Body textText
    ID
    body_text
    Default
    The page you were looking for does not exist. Search the store or return to a familiar ritual.
    Button labelText
    ID
    button_label
    Default
    Return to the home page
    Content alignmentDropdown
    ID
    content_alignment
    Default
    Theme default
    • Theme defaultauto
    • Leftleft
    • Centercenter
    • Rightright

    Search

    Show search formCheckbox
    ID
    show_search
    Default
    On
    Search field labelText
    ID
    search_label
    Shown when
    show_search
    Suggested links menuMenu

    Optional. Replaces automatic product suggestions and custom search terms. Only top-level links appear.

    ID
    suggested_links
    Use product suggestionsCheckbox

    Shows up to four available product names from the catalog. Updates automatically as products change. A selected suggestions menu takes priority.

    ID
    enable_product_suggestions
    Default
    On
    Shown when
    show_search and suggested_links is empty
    Suggested search termsText

    Used when product suggestions are turned off. Separate phrases with commas. Each phrase starts a fresh search.

    ID
    suggested_terms
    Shown when
    show_search and suggested_links is empty and enable_product_suggestions is false

    Media

    Image layoutDropdown

    A Shopify placeholder appears until you select a desktop image.

    ID
    image_layout
    Default
    Split
    • Splitsplit
    • Backgroundbackground
    • No imagenone
    Content box styleDropdown
    ID
    content_box_style
    Default
    Glass
    Shown when
    image_layout is 'background'
    • Glassglass
    • Solidsolid
    Desktop imageImage

    16:9 aspect ratio recommended.

    ID
    image
    Shown when
    image_layout is not 'none'
    Mobile imageImage

    4:5 aspect ratio recommended. Custom desktop images also appear on mobile when left blank.

    ID
    mobile_image
    Shown when
    image_layout is not 'none'
    Image overlay opacitySlider

    Adds the selected color scheme over the background image.

    ID
    image_overlay_opacity
    Default
    20
    Range
    0% to 80%, in steps of 5%
    Shown when
    image_layout is 'background'

    Color

    Color schemeColor scheme
    ID
    color_scheme
    Default
    scheme-6

    Padding

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