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
- Add the section as the first item on the template.
- Set Desktop height and Mobile height. The hero always runs edge to edge; these set how tall it is.
- Open the Hero scene block, pick a Scene layout, and add your media, heading, and buttons.
- Under Desktop layout, set Content position and Content surface so the text stays readable over your image.
- 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.
- 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 layout | What it is | Use it for |
|---|---|---|
| Full canvas | One image or video filling the whole hero, with the text laid over it. | Most heroes. Start here. |
| Media duo | Two 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 split | The 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.

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.

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.

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 layout | Where the text goes |
|---|---|
| Stacked story | Below the media, on the section background. Always readable. |
| Floating note | In a card overlapping the bottom of the media. The default. |
| Overlay text box | Over the media, like the desktop layout. |
Stacked story

Floating note

Overlay text box
Here with Mobile content surface set to No surface and dark text over a calm 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 see | What to check |
|---|---|
| Text is hard to read over the image | Raise Media overlay, or set Content surface to Solid. |
| You cannot add another scene | The hero holds up to eight. Remove a scene first. |
| The hero looks fine on desktop, cramped on a phone | Mobile layout is separate. Set Mobile scene layout, and use Mobile content size. |
| A wide image loses its subject on mobile | Set 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 missing | Choose Media duo and turn on Show paired media. Then choose Secondary mobile media type → Image or Video. |
| A setting you expected is missing | Some 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 show | The shopper has to use the dots or swipe on a phone or tablet, unless Enable autoplay is on. |
| No pause button on a rotating hero | It 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 rotating | With 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.
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.
Desktop layout
Mobile layout
Sets the total height of the mobile hero, including media, content, and navigation.
Motion
Plays when a shopper moves between scenes. No motion in the theme's global motion style turns this off.
Adds previous and next arrows on desktop. Scene dots always appear when the section has more than one scene.
Blocks
Blocks are added, reordered, duplicated, and removed inside the section. Each type has its own settings.
Hero scene scene
Primary media
Secondary media
Content
Actions
Style
Desktop layout
Applies on screens 750px and wider.
Narrows content position to one half of the media duo. Applies above 750px, where both media sit side by side.
Applies when the content surface is No surface. Picks the matching color from the scheme.
Mobile layout
Applies below 750px, where scene content sits below or over the media.
Displays the secondary media beside the primary below 750px. Off shows the primary media only.
Optional. Uses the primary desktop media when blank.
Optional. Uses the primary desktop media when blank.
Optional. Uses the secondary desktop media when blank.
Optional. Uses the secondary desktop media when blank.
Sets the panel behind the scene text below 750px, where the text sits under or over the media.
Fades a band of the color scheme behind the text so it stays readable over the media. Independent of the content surface.
Scales the eyebrow and buttons below 750px. Paragraphs follow the Body font size theme setting. Set the heading with Heading size.