Shopify sections

Shopify video background: a muted loop with an image that steps in

A Shopify video background is a muted video file that loops behind a banner's headline and buttons, usually at the top of the home page. Video Background Banner in Section Store plays your own uploaded MP4 or WebM, gives shoppers a pause button and shows a still image when motion is off or the file cannot load. It cannot play a YouTube or Vimeo address and has no sound. You buy the section once, or get it inside the Enterprise plan.

  • The layout follows the width of the column it sits in (container queries) and switches at 749 and 989 px
  • Install in theme drops it into a new Apps section on the index template

Last checked:

Video Background Banner section rendered by Section Store with its sample content
Shown with sample text and default settings: no file is set, so the drawn Coast at dusk scene sits behind the heading, the main button and the second link.

In detail

What shoppers see, and the settings that decide it

For the shopper, the banner is a silent loop under an eyebrow, a heading, body text, a main button and a second link. A ring around the pause button shows how far the loop has run. The Fallback Image shows while the video loads, and it stands in for the video on data saver, for shoppers who switched off motion, and when the load fails. Without an image, a video starts on a calm gradient. Entrance Motion adds a short reveal when the banner appears and leaves it out for shoppers who switched off motion.

The builder suggests a clip of 10 to 20 seconds under 15 MB. It always plays without sound. Phone Video accepts a second, lighter file for small screens, paired with Phone Image as its still. When the banner crops the footage, the two Focus sliders (0 to 100 %, default 50) pick the part that stays visible. Video Shape sets the band to Cinema 2.39:1 or Wide 16:9. Phones get a 4:5 band, which favours a vertical cut.

Text Placement is the choice that decides legibility. Over the video lays the text on a shade in Shade Color, whose strength the section sets itself, and Dim the Whole Video darkens the full frame on top of that, from 0 to 80 % with 15 as the default. On a card moves the text onto a panel capped at 520 px. Cinema bars put the footage in a wide band and the text on a solid bar underneath. A Text Color that cannot be read on the shade or panel is replaced by black or white.

Top of the Page, on by default, makes the image load first. Switch it off when the banner sits further down the page. Leave both Video File and Image empty and the section does not go blank: a slowly moving drawn scene shows in the live store, with its own pause button, until you add either one.

  • A video site address is not a file: the section shows the image instead
  • A pasted file address must start with https:// and stay within 500 characters

Builder settings

Every builder setting of Video Background Banner

Three fields carry most of the result: Video File, the Image under Fallback Image, and Text Placement. The first decides whether anything moves, the second is what shoppers see on data saver, with motion switched off or while the video loads, and the third decides whether text sits on the footage or off it. All of this lives in the Section Store builder; in the Shopify theme editor the app block offers only six controls: the section picker, padding top and bottom, max width, and hiding on mobile or on desktop.

Video2
Video File
File
DefaultNone
Phone Video (optional)Conditional
File
DefaultNone
Fallback Image7
Image
Image
DefaultNone
Phone Image (optional)Conditional
Image
DefaultNone
Image DescriptionConditionalRead out by screen readers. Leave empty if the image is only decoration.
Text
DefaultEmpty
Focus Left to RightConditionalThe part of the image and video that stays in view when the shape cuts it.
Slider, 0–100 %
Default50 %
Focus Top to BottomConditional
Slider, 0–100 %
Default50 %
Drawn SceneConditionalMoves slowly and has its own pause button. Goes away as soon as you add a video or image.
Choice: Coast at dusk, Misty forest, Curtains in the morning
DefaultCoast at dusk
Top of the PageConditionalLoads the image first. Turn off when this banner sits further down the page.
On / off
DefaultOn
Text5
Eyebrow
Text
DefaultA closer look
HeadingTexts you leave unchanged follow the language of the page. Long headings step down one size by themselves.
Text
DefaultMade to be seen in motion
Underlined WordsWords from the heading, exactly as written there. They get an underline in the emphasis color.
Text
DefaultEmpty
Heading LevelUse H1 only when this banner holds the main headline of the page and your theme sets no other.
Choice: H1, H2
DefaultH2
Body Text
Text
DefaultEvery detail up close, from the first to the last.
Buttons5
Main Button LabelEmpty label or link: the button is hidden
Text
DefaultShop now
Main Button Link
Text
Default/collections/all
Second Link Label
Text
DefaultSee collections
Second Link Address
Text
Default/collections
Button Corners
Slider, 0–40 px
Default40 px
Layout8
Text PlacementCinema bars: the video in a wide band, the text on a solid bar below it.
Choice: Over the video, On a card, Cinema bars
DefaultOver the video
Text PositionConditionalOver the video, the text sits on a shade that keeps it readable. Middle left or the height Full screen leave more of the video in view.
Choice: Bottom left, Middle left, Center, Bottom right
DefaultBottom left
HeightConditionalGrows when the text needs more room.
Choice: Compact, Medium, Tall, Full screen
DefaultTall
Height on PhonesConditional
Choice: Short, Medium, Tall
DefaultMedium
Video ShapeConditionalOn phones the band is 4:5, so a vertical cut suits it.
Choice: Cinema 2.39:1, Wide 16:9
DefaultCinema 2.39:1
Width
Choice: Edge to edge, Contained
DefaultEdge to edge
Text WidthConditionalA card stays at 520 px at most.
Slider, 360–1200 px
Default820 px
Entrance MotionA short, calm reveal. Off for shoppers who switched off motion.
On / off
DefaultOn
Style11
Heading Size
Choice: S, M, L, XL
DefaultL
Heading Weight
Choice: From your theme, Light, Regular, Bold
DefaultRegular
Text ColorIf this color cannot be read on the shade or panel, black or white takes its place.
Colour
Default#ffffff
Shade ColorThe shade behind text on the video. Its strength is set for you, so the text stays readable on any footage.
Colour
Default#1c1b19
Dim the Whole VideoAn even layer of the shade color over the whole video, in addition to the shade behind the text.
Slider, 0–80 %
Default15 %
Main Button Color
Colour
Default#ffffff
Emphasis ColorUntil you choose a color: the main button color.
Colour
DefaultNot set
Card or Bar ColorConditional
Colour
Default#ffffff
Card CornersConditional
Slider, 0–40 px
Default14 px
Banner CornersConditional
Slider, 0–48 px
Default16 px
Section BackgroundConditionalUntil you choose a color: your theme background. Reset in this group brings it back.
Colour
DefaultNot set
Spacing2
Max WidthConditional
Slider, 800–2200 px
Default1440 px
Section Spacing
Spacing per device
DefaultTop padding 0 / 0 / 0 px
Repeatable items1
Notes on the Video
List of items, up to 3
Default0 sample items

41 settings in 8 groups. These are settings in the Section Store builder, not theme editor settings: read from the app's section configuration, as of 2 Dec 2026. "Conditional" settings appear only once a related setting turns them on.

When to use it

A short muted product loop fits; narrated or embedded video does not

Use it when

  • Product in motion, no audio neededA 10 to 20 second clip of the product being used makes its point without sound. Export it as MP4 or WebM, keep it under 15 MB, and move the Focus sliders until the product sits inside the cropped band.
  • Footage too busy for text on topBright skies or fast movement behind white text make a heading hard to read. Switch Text Placement to Cinema bars for a solid bar below the band, or to On a card for a panel no wider than 520 px.
  • Visitors on slow mobile connectionsLoad a lighter cut into Phone Video and a matching still into Phone Image. On data saver or when the load fails, that still stands in, so the banner keeps its heading and buttons over a full picture.

Skip it when

  • Clip lives only on YouTube or VimeoPasting a video page address makes the section show its image instead, because a background needs the file itself. Upload the original file under Content > Files, or put the clip in a video section built for embeds, such as the Video section in Dawn.
  • Spoken or narrated contentThe banner always plays muted. Put narrated video in a player with controls, such as the theme's video section or the product media gallery.
  • A raw, long exportAn unedited file runs past the suggested 10 to 20 seconds and 15 MB. Cut and export a short loop first. Until then, a still hero banner carries the headline and buttons without motion.

Two ways

Writing the video tag yourself versus placing the Section Store block

Getting a muted loop to autoplay takes a handful of attributes. The effort goes into deciding when not to play it, and into a heading that stays legible over frames you cannot predict.

Way 1

By hand in theme code

Untested outline, not a finished listing. You own the section file, styles and script, and every fallback case needs checking on real phones.

  1. Add a section file with settings for the video, a poster image and the banner text.
  2. Render a video element with autoplay, muted, loop, playsinline and the poster.
  3. Lay a gradient over the footage, set the text above it and check contrast against the lightest frame.
  4. Build a pause control, since WCAG 2.2.2 requires a way to stop moving content.
  5. Detect prefers-reduced-motion and Save-Data, and skip the video when either is set.
  6. Handle a slow or failed load so the poster stays visible instead of an empty box.

Choose this if: You or a developer already maintain the theme in code, the banner should ship with the theme's own sections, and someone will test the reduced-motion and data-saver paths. This is the better route when you want no app block in the layout.

Way 2

With Section Store

No theme files touched. Requires an Online Store 2.0 theme, since it runs as an app block. Paid once for this section alone, or part of an Enterprise subscription.

  1. Open Video Background Banner in the app builder and set the file, still image, text and Text Placement.
  2. Save; the generated code is kept in an app-owned metafield.
  3. Click Install in theme to open the theme editor with the block on the home page template.
  4. Confirm Video Background Banner is chosen in the block's picker, then save the theme.

Choose this if: You want the pause ring, stand-in image and text shade without writing them, and may want to limit the banner by date, country, language, logged-in state, customer tag or device.

FAQ

Answers on uploading, page weight and placement

Video Background Banner is in Section Store.

Set it up in the app builder and place it through the Section Store app block. No theme code.

Install on Shopify

Sources

Sources