Milestone documentation

    Loading suggestions…

    ↑↓ to move ↵ to open esc to close

    Documentation

    Hero banner

    The page-opening hero. Each Hero scene block is one full-width scene with its own media, copy, and buttons — add a second scene and the section becomes a slideshow.

    Merchant-addable
    Yes, in supported locations
    Settings
    49
    Block types
    1
    Max blocks
    8
    File
    sections/hero-banner.liquid

    Excluded from: header, footer section groups.

    Included in supplied templates: Home

    When to use it

    The top of the home page, and landing pages.

    Setting it up

    1. Add the section as the first item on the template.
    2. Set Desktop height and Mobile height. The hero always runs edge to edge; these set how tall it is.
    3. Open the Hero scene block, pick a Scene layout, and add your media, heading, and buttons.
    4. Under Desktop layout, set Content position and Content surface so the text stays readable over your image.
    5. Under Mobile layout, set Mobile scene layout and choose Primary mobile media type independently of desktop. For Media duo, turn on Show paired media to choose Secondary mobile media type separately. Choose Image or Video to reveal its picker; blank uploads fall back to the desktop slot. Keep existing media preserves earlier selections.
    6. Add more Hero scene blocks only if you want a slideshow, up to eight, then set Motion.

    Where the content comes from

    Blocks own all hero content. The section owns the height, the color scheme, and the motion settings shared by every scene.

    Notes and cautions

    • As the largest above-the-fold image, the hero is almost always your Largest Contentful Paint element. Upload a properly sized image — the theme and Shopify serve responsive variants; appropriately sized, compressed sources still help, particularly for videos.
    • Keep the heading to one line at desktop if you can. Two lines of display type is a lot of screen.
    • Text and scene controls follow the page-width column while the media runs edge to edge. Content position offers six placements, including Bottom center, and Content area can confine text to one half of a Media duo. When positioned against the seam between the two images, the panel keeps the page margin as its inset as the preview widens. Center positions stay centered within the selected half.
    • Scene dots appear on their own whenever there is more than one scene. Show scene arrows only adds the previous and next arrows on desktop. Control background switches the desktop bar and mobile chips between Solid and Translucent.
    • On the home page, the first scene's heading becomes the page's main heading. Give it a real heading rather than leaving it to a later scene.

    Scenes, layout, and motion

    The hero banner is built from Hero scene blocks. Each scene is one complete opening — its own media, heading, body text, and buttons. One scene gives you a still hero. Two or more turn the section into a slideshow, and the theme adds the controls for moving between them automatically.

    The section settings — height, color scheme, and everything under Motion — apply to every scene at once. Everything else belongs to the individual scene.

    Pick a scene layout

    Scene layout is the first setting in every scene, and it decides what the rest of the scene looks like. Choose it before you spend time on the other settings.

    Scene layoutWhat it isUse it for
    Full canvasOne image or video filling the whole hero, with the text laid over it.Most heroes. Start here.
    Media duoTwo pieces of media side by side, with the text over them. Adds the Secondary media group.Pairing a product shot with a detail or a short video.
    Editorial splitThe text gets its own column beside the media instead of sitting on top of it.Long headings, or images too busy to hold text.

    Full canvas

    One image fills the hero and the text sits over it. This scene uses Soft glass and Bottom left.

    Full canvas hero scene with a soft glass text panel at the bottom left over a product photograph

    Media duo

    Two pieces of media share the hero. Here the right-hand media is a video, and Content area is set to Second media, so the text panel sits inside it instead of straddling the seam. Each side can be an image or a video.

    Media duo hero scene with a photograph on the left and a video on the right, with the text panel inside the right-hand video

    Editorial split has no text panel and no media overlay, because the text never touches the image. Content surface and Media overlay disappear from the editor when you choose it — that is expected, not a fault.

    Place the text

    Text placement is set per scene under Desktop layout:

    • Content position has six choices: Middle left, Middle center, Middle right, Bottom left, Bottom center, and Bottom right. Bottom positions rest on the same edge as the scene dots and arrows, so the text and the controls read as one composed base.
    • Text alignment is Left or Center and sets how the lines sit inside the text block.
    • Content area appears only for Media duo. Whole scene positions the text against the full width, which can put a panel across the seam between the two images. First media and Second media confine the text to one image so the panel sits inside a single photograph. This applies above 750px, where the two images sit side by side.

    The media always runs edge to edge. The text and the scene controls follow the same page-width column as every other section, so on a wide display the heading lines up with the content below it instead of floating out near the window edge.

    Keep the text readable over your image

    This is the part of the hero most worth spending time on. Three settings work together, and all three live under Style and Desktop layout:

    • Media overlay darkens the image behind the text. The default of 25% suits most photographs.
    • Content surface puts a panel behind the text. Solid is the scheme’s background color, Soft glass is a frosted panel, and No surface sets the text straight onto the image.
    • Text color over media picks the light or dark half of your color scheme, and only applies when the surface is No surface.

    Soft glass is the default and it looks best over images with something going on in them. It is partly transparent, so how readable it is depends on your photograph: over a very dark image the text can lose contrast. If your hero image is dark or heavily textured, switch Content surface to Solid. A solid panel removes the photograph from behind the text; its scheme still needs a readable text/background pair.

    With No surface, the text sits straight on the media, so it only works over a calm, even area of the image or video. This scene is a background video with No surface and Text color over media set to Dark. The screenshot is a single frame, so check the text against the whole clip, not just its opening.

    Full canvas hero scene with no text surface, dark text set directly on a sand-colored background video

    Check the result on your own image rather than on the placeholder. The overlay and surface that suit a bright studio shot are rarely the ones that suit a dim lifestyle photo.

    Mobile is set up separately

    Below 750px the hero rebuilds itself, and it uses its own settings rather than shrinking the desktop ones. Everything under Mobile layout is independent — set it, then look at it.

    Mobile scene layout is the main choice:

    Mobile scene layoutWhere the text goes
    Stacked storyBelow the media, on the section background. Always readable.
    Floating noteIn a card overlapping the bottom of the media. The default.
    Overlay text boxOver the media, like the desktop layout.

    Stacked story

    Mobile hero scene with the photograph on top and the heading, text, and button below it on the section background

    Floating note

    Mobile hero scene with a rounded card overlapping the bottom of the photograph

    Overlay text box

    Here with Mobile content surface set to No surface and dark text over a calm photograph.

    Mobile hero scene with the heading, text, and button set directly over the photograph

    Only Overlay text box puts text on the photograph, so only it offers Mobile content surface, Overlay position, and Mobile vignette. Mobile vignette fades a band of your color scheme behind the text and works alongside the surface, which helps when a busy image makes text hard to read but you do not want a full panel.

    Floating note width appears with Floating note and chooses Narrow or Wide for the card. Mobile text alignment is Left or Center, and is separate from the desktop alignment.

    A phone screen is small, so you can drop parts of a scene on mobile without deleting them from desktop. Show eyebrow, Show body text, and Show secondary button each hide one piece below 750px. Mobile content size scales the eyebrow and buttons together — the heading is set by Heading size, which applies to both screen sizes.

    If your scene uses Media duo, only the primary media shows on mobile. Turn on Show paired media to fit both in.

    Choose optional mobile media

    Each scene can use a different image or video below 750px. In the scene’s Mobile layout group, set Primary mobile media type to Image or Video, then choose the file in Primary mobile image or Primary mobile video. The mobile type is independent of desktop: a desktop image can become a mobile video, and a desktop video can become a mobile image.

    Keep existing media is the default. It preserves your previously selected mobile upload of the desktop type, or uses the desktop file when no mobile upload exists. To edit an existing mobile upload, choose Image or Video first; its saved file stays selected. The scene block owns these files; no product data or metafield is required.

    For Media duo, turn on Show paired media to reveal Secondary mobile media type. Choose its type separately from both the primary mobile slot and the desktop secondary slot. You can use two mobile images, two mobile videos, or one of each. Only the selected type’s picker appears for each slot.

    Leave a selected mobile picker blank to reuse that slot’s desktop media, including its original type. For example, choosing Image with no mobile image on a desktop video slot still shows the desktop video. Each slot falls back independently. Turning paired media off hides its type selector, picker, and second tile without deleting the saved selection. The primary mobile choice works with all three mobile scene layouts.

    The desktop media remains in use at 750px and wider. Mobile images keep their own Shopify focal point, and a mobile video uses its own preview image when paused or when reduced motion is requested. If you select mobile media before adding desktop media, desktop keeps its placeholder.

    One scene, or a slideshow

    Add a second Hero scene block and the section becomes a slideshow. The hero holds up to eight scenes. Past that, the scene dots no longer fit on a phone, so the theme stops you adding more. The controls appear on their own:

    • Scene dots appear whenever there is more than one scene. You cannot turn them off, because they are how a shopper reaches scenes 2 and 3.
    • Show scene arrows adds previous and next arrows beside the dots on desktop. Turning it off leaves the dots in place.
    • Swipe works on phones and tablets without any setting. The scene follows the shopper’s finger with the next one sliding in beside it, and the page stays still while the swipe is sideways. A drag past a fifth of the width or a short flick moves to the next scene, and anything less springs back. The dots update as soon as the finger lifts, and the scenes loop in both directions. A mostly vertical gesture scrolls the page as usual.
    • Enable autoplay advances the scenes on its own, every Autoplay speed seconds. It is on by default and only has an effect when there are two or more scenes. When the hero opens the home page, automatic rotation begins after the visitor’s first scroll gesture, touch, pointer action, or key press. This keeps the opening scene steady while the page loads. The theme editor previews autoplay immediately. The countdown starts after the visible scene’s still images finish loading, so loading time does not shorten its display interval. The next scene’s images prepare shortly before rotation; its video waits until that scene is visible.
    • Play background videos lets a scene’s video play while its scene is showing. Hero videos are silent and loop. Turn this off and they do not play, and shoppers see the video’s preview image.
    • A pause control appears automatically whenever something is moving — autoplay is advancing two or more scenes, or a scene has a background video that is allowed to play. Motion control style chooses between a text label and a pause icon, and only appears when the pause control does.

    Control background, next to Motion control style, chooses Solid or Translucent. Translucent is the default for a new section. It applies to the joined desktop control bar and the mobile scene dots and pause chip. Solid uses the section color scheme’s opaque background without blur. Translucent lets the photograph show through a frosted background, like the content box. Check its visibility against every scene; choose Solid when the image or video makes the controls hard to see. The setting changes only appearance; navigation, keyboard focus, and pause behavior stay the same.

    Do not use the slideshow to fit more in. Most shoppers see only the first scene, so put the message you most want read there and treat later scenes as a bonus.

    Motion and accessibility

    Scene change animation sets how one scene gives way to the next: Soft fade, Rise into view, Soft scale, Slide across, Slide over, Slide away, or No motion.

    Two things override it, and both are deliberate:

    • Setting your theme’s global motion style to No motion turns off scene animation everywhere, whatever this setting says.
    • A shopper whose device requests reduced motion gets no rotation and no playing video, even with autoplay on. Their scenes change instantly when they use the dots or arrows.

    The hero also works with JavaScript turned off. The scenes simply stack down the page instead of layering, so nothing is lost or hidden.

    Headings and search engines

    On the home page, the first scene’s heading becomes the page’s main heading — the one search engines read as the subject of the page, when the hero is the first section on the page. Later scenes, any hero further down the page, and every scene on other templates are sub-headings.

    So give the first scene a real heading that describes your store. If you leave it blank, the theme falls back to your shop name so the page is never left without a main heading, but your own wording will almost always be better.

    Heading size offers Small, Medium, and Large. All three shrink on mobile, so a heading that fits a phone at Large is still a display-sized heading on a desktop.

    Speed

    The hero’s first image is usually the largest thing on the page and the last thing to finish loading, which makes it the single biggest influence on how fast your store feels.

    The theme does the technical work: it generates the responsive sizes for every screen and asks the browser to load the first scene’s image at high priority. Images in later scenes are loaded lazily to reduce competition with the first view. Shopify serves responsive derivatives of uploaded images, but later scenes and videos still add work. Use appropriately sized, compressed sources and check the storefront on a phone connection.

    When you choose mobile media, the browser selects the image for that screen instead of downloading both versions. Only the visible scene’s matching video is loaded for playback. A secondary video hidden by the phone layout does not start playing or download just because it was selected.

    More than one hero on a page

    You can add the hero banner to a page more than once, for example a second slideshow lower on the home page. Each hero has its own scenes, controls, and motion settings, and pausing or moving through one does not affect the others.

    The hero in the first position on the page opens it, so it is the only one that:

    • provides the home page’s main heading, as described above
    • loads its first image at high priority
    • plays the first-load text entrance on desktop; the opening home-page copy appears immediately on phones for faster loading

    Heroes further down the page load their images lazily as shoppers scroll toward them. Each one pauses its automatic rotation while it is out of view.

    If something looks wrong

    What you seeWhat to check
    Text is hard to read over the imageRaise Media overlay, or set Content surface to Solid.
    You cannot add another sceneThe hero holds up to eight. Remove a scene first.
    The hero looks fine on desktop, cramped on a phoneMobile layout is separate. Set Mobile scene layout, and use Mobile content size.
    A wide image loses its subject on mobileSet Primary mobile media type to Image, choose Primary mobile image, and set that image’s focal point in Shopify. Leave it blank to keep using the desktop image.
    The second mobile media picker is missingChoose Media duo and turn on Show paired media. Then choose Secondary mobile media type → Image or Video.
    A setting you expected is missingSome settings only apply to one layout. Content surface is hidden for Editorial split; Overlay position and Mobile vignette only appear for Overlay text box.
    Scenes after the first never showThe shopper has to use the dots or swipe on a phone or tablet, unless Enable autoplay is on.
    No pause button on a rotating heroIt only appears when autoplay has two or more scenes to move between, or when Play background videos is on and a scene has a video. A single still scene has nothing to pause.
    The opening scene is not rotatingWith Enable autoplay on, interact with the home page to start its timer. Check pause, reduced motion, and whether the hero is visible. Later images prepare shortly before their scheduled rotation.

    Normal body paragraphs follow Theme settings → Typography → Body font size, with a 15px minimum below 750px. Heading and content-size controls do not change paragraph sizes.

    Hero videos and scene rotation pause when the hero leaves the viewport or the browser tab is hidden. They resume when it returns, unless the visitor paused motion or requests reduced motion. Browsers that support Shopify’s adaptive stream use it to match playback to the connection. Other browsers use an MP4 rendition capped at 720p on phones or 1080p on desktop when available. The selected files and crops stay the same.

    Hero banner 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

    Desktop layout

    Desktop heightSlider
    ID
    desktop_height
    Default
    700
    Range
    480px to 900px, in steps of 20px

    Mobile layout

    Mobile heightSlider

    Sets the total height of the mobile hero, including media, content, and navigation.

    ID
    mobile_height
    Default
    580
    Range
    280px to 760px, in steps of 20px

    Motion

    Scene change animationDropdown

    Plays when a shopper moves between scenes. No motion in the theme's global motion style turns this off.

    ID
    scene_animation
    Default
    Soft fade
    • Soft fadefade
    • Rise into viewrise
    • Soft scalescale
    • Slide acrossslide
    • Slide overcover
    • Slide awayreveal
    • No motionnone
    Enable autoplayCheckbox
    ID
    autoplay
    Default
    On
    Autoplay speedSlider
    ID
    autoplay_speed
    Default
    10
    Range
    5s to 12s, in steps of 1s
    Shown when
    autoplay
    Play background videosCheckbox
    ID
    play_videos
    Default
    On
    Show scene arrowsCheckbox

    Adds previous and next arrows on desktop. Scene dots always appear when the section has more than one scene.

    ID
    show_controls
    Default
    On
    Control backgroundDropdown
    ID
    controls_surface
    Default
    Translucent
    • Solidsolid
    • Translucenttranslucent
    Motion control styleDropdown
    ID
    motion_control_style
    Default
    Pause and play icon
    Shown when
    autoplay or play_videos
    • Text labeltext
    • Pause and play iconicon

    Blocks

    Blocks are added, reordered, duplicated, and removed inside the section. Each type has its own settings.

    Hero scene scene

    Scene layoutDropdown
    ID
    composition
    Default
    Full canvas
    • Full canvascanvas
    • Media duoduo
    • Editorial splitstory

    Primary media

    Primary media typeDropdown
    ID
    primary_media_type
    Default
    Image
    • Imageimage
    • Videovideo
    Primary imageImage
    ID
    primary_image
    Shown when
    primary_media_type is 'image'
    Primary videoVideo
    ID
    primary_video
    Shown when
    primary_media_type is 'video'

    Secondary media

    Secondary media typeDropdown
    ID
    secondary_media_type
    Default
    Video
    Shown when
    composition is 'duo'
    • Imageimage
    • Videovideo
    Secondary imageImage
    ID
    secondary_image
    Shown when
    composition is 'duo' and secondary_media_type is 'image'
    Secondary videoVideo
    ID
    secondary_video
    Shown when
    composition is 'duo' and secondary_media_type is 'video'

    Content

    EyebrowText
    ID
    eyebrow
    Default
    The new collection
    HeadingText
    ID
    heading
    Default
    Objects for everyday rituals
    Heading sizeDropdown
    ID
    heading_size
    Default
    Small
    Shown when
    heading is set
    • Smallsmall
    • Mediummedium
    • Largelarge
    Body textRich text
    ID
    body
    Default
    <p>Thoughtfully made pieces that bring a little more ease to the day.</p>

    Actions

    Primary button labelText
    ID
    primary_label
    Default
    Explore the collection
    Primary button linkLink
    ID
    primary_link
    Default
    /collections/all
    Shown when
    primary_label is set
    Secondary button labelText
    ID
    secondary_label
    Secondary button linkLink
    ID
    secondary_link
    Shown when
    secondary_label is set

    Style

    Media overlaySlider
    ID
    overlay_opacity
    Default
    25
    Range
    0% to 70%, in steps of 5%
    Shown when
    composition is not 'story'

    Desktop layout

    Applies on screens 750px and wider.

    Text alignmentDropdown
    ID
    text_alignment
    Default
    Left
    • Leftleft
    • Centercenter
    Content areaDropdown

    Narrows content position to one half of the media duo. Applies above 750px, where both media sit side by side.

    ID
    content_area
    Default
    Whole scene
    Shown when
    composition is 'duo'
    • Whole scenescene
    • First mediafirst
    • Second mediasecond
    Content positionDropdown
    ID
    content_position
    Default
    Bottom left
    • Middle leftmiddle-left
    • Middle centermiddle-center
    • Middle rightmiddle-right
    • Bottom leftbottom-left
    • Bottom centerbottom-center
    • Bottom rightbottom-right
    Content surfaceDropdown
    ID
    content_surface
    Default
    Soft glass
    Shown when
    composition is not 'story'
    • Solidsolid
    • Soft glassglass
    • No surfaceplain
    Text color over mediaDropdown

    Applies when the content surface is No surface. Picks the matching color from the scheme.

    ID
    on_media_text
    Default
    Dark
    Shown when
    content_surface is 'plain' and composition is not 'story'
    • Darkdark
    • Lightlight

    Mobile layout

    Applies below 750px, where scene content sits below or over the media.

    Mobile scene layoutDropdown
    ID
    mobile_layout
    Default
    Floating note
    • Stacked storystacked
    • Floating notefloating
    • Overlay text boxoverlay
    Floating note widthDropdown
    ID
    mobile_floating_width
    Default
    Narrow
    Shown when
    mobile_layout is 'floating'
    • Narrownarrow
    • Widewide
    Show paired mediaCheckbox

    Displays the secondary media beside the primary below 750px. Off shows the primary media only.

    ID
    mobile_show_paired_media
    Default
    Off
    Shown when
    composition is 'duo'
    Primary mobile media typeDropdown
    ID
    primary_mobile_media_type
    Default
    Keep existing media
    • Keep existing mediaexisting
    • Imageimage
    • Videovideo
    Primary mobile imageImage

    Optional. Uses the primary desktop media when blank.

    ID
    primary_mobile_image
    Shown when
    primary_mobile_media_type is 'image'
    Primary mobile videoVideo

    Optional. Uses the primary desktop media when blank.

    ID
    primary_mobile_video
    Shown when
    primary_mobile_media_type is 'video'
    Secondary mobile media typeDropdown
    ID
    secondary_mobile_media_type
    Default
    Keep existing media
    Shown when
    composition is 'duo' and mobile_show_paired_media or mobile_layout is 'paired'
    • Keep existing mediaexisting
    • Imageimage
    • Videovideo
    Secondary mobile imageImage

    Optional. Uses the secondary desktop media when blank.

    ID
    secondary_mobile_image
    Shown when
    secondary_mobile_media_type is 'image' and composition is 'duo' and mobile_show_paired_media or mobile_layout is 'paired'
    Secondary mobile videoVideo

    Optional. Uses the secondary desktop media when blank.

    ID
    secondary_mobile_video
    Shown when
    secondary_mobile_media_type is 'video' and composition is 'duo' and mobile_show_paired_media or mobile_layout is 'paired'
    Overlay positionDropdown
    ID
    overlay_position
    Default
    Middle center
    Shown when
    mobile_layout is 'overlay'
    • Top centertop
    • Middle centermiddle
    • Bottom centerbottom
    Mobile content surfaceDropdown

    Sets the panel behind the scene text below 750px, where the text sits under or over the media.

    ID
    mobile_content_surface
    Default
    Solid
    Shown when
    mobile_layout is 'overlay'
    • Solidsolid
    • Soft glassglass
    • No surfaceplain
    Mobile text color over mediaDropdown
    ID
    mobile_on_media_text
    Default
    Dark
    Shown when
    mobile_content_surface is 'plain' and mobile_layout is 'overlay'
    • Darkdark
    • Lightlight
    Mobile text alignmentDropdown
    ID
    mobile_text_alignment
    Default
    Use theme setting
    • Use theme settingtheme
    • Leftleft
    • Centercenter
    Mobile vignetteDropdown

    Fades a band of the color scheme behind the text so it stays readable over the media. Independent of the content surface.

    ID
    mobile_vignette
    Default
    None
    Shown when
    mobile_layout is 'overlay'
    • Nonenone
    • Softsoft
    • Strongstrong
    Show eyebrowCheckbox
    ID
    mobile_show_eyebrow
    Default
    On
    Shown when
    eyebrow is set
    Show body textCheckbox
    ID
    mobile_show_body
    Default
    On
    Shown when
    body is set
    Show secondary buttonCheckbox
    ID
    mobile_show_secondary_button
    Default
    On
    Shown when
    secondary_label is set
    Mobile content sizeDropdown

    Scales the eyebrow and buttons below 750px. Paragraphs follow the Body font size theme setting. Set the heading with Heading size.

    ID
    mobile_content_size
    Default
    Small
    • Smallsmall
    • Mediummedium
    • Largelarge