Video hero

Theme section

Add the Video hero section to show a full-width autoplaying video (without sound), uploaded as a .mp4 file to your Shopify files.

Set up section

Add this section to any template (except Checkout) and use the drag-and-drop handles to re-order its position. You can add this section multiple times with different content and settings.

Editing a template changes all pages that use that template. To edit specific pages, you can you can create new templates or insert dynamic content with metafields.

STEPS

In your theme editor (Customize):

  1. Select a Template to edit from the dropdown menu in the top bar.

    Learn how to use templates in our Templates guide.

  2. Under Template, click (+) Add section and select Video.

  3. Click and hold the drag-and-drop handles ⋮⋮ to re-order your sections.

Add background video

Display an autoplay video (without audio) in the section background. The background video requires .mp4 video file. For the best experience, we strongly recommend using a 5 to 10 second video under 10MB.

File Format.mp4 video (required)

File size

Maximum 10MB (recommended)

Duration

5 - 10 seconds (recommended)

STEPS

In your theme editor (Customize):

  1. Click the Video hero section.

  2. Under Shopify video, click Select video.

    Select a .mp4 video, or click Add videos to upload a .mp4 video file.

  3. Choose to Enable full width to make the video span the full width of the window or screen.

  4. Under Banner height, choose to display the video with a Custom height or Adapt to video to display the full video height (without cropping).

  5. For Custom height, select a Fixed height (in pixels) or Relative height (as a percentage of the window height).

  6. Select a Video focal point to specify the main focus of your images. The focal point will remain centered and within frame when your site adapts to different screen sizes.

  7. Click Save.

Add content blocks

The Video hero has four default content blocks: Accent, Heading, Text, and Buttons. You can edit or remove these blocks and add 7 other types of blocks to customize the section’s content and layout.

Available blocks

Click (+) Add block to find and select the following blocks. Use the drag-and-drop handles ⋮⋮ to change the order of the blocks.

BlockDescription

Accent

Add text to display a small heading above the main heading.

Heading

Add text to display as a heading.

Text

Add multiple lines of rich text.

Text list with icons

Add a column of promotional text with icons.

Image

Add a small image with an adjustable size.

Button

Add a button link with call-to-action text.

Video player

Add an additional video that can be played in a popup viewer.

Divider

Add a border to visually separate other blocks.

Spacer

Add a margin of space between blocks.

Settings reference

Click the Video hero section to find the following settings.

SettingDescription

Enable full width

Choose to span the video across the whole window or screen, removing the margins on either side.

Banner height

Set the banner height to either Adapt to video (use your video’s height) or select a Custom height.

Custom desktop height

Choose a Fixed height (in pixels) or Relative height (as a percentage of the window height). This setting applies when the Banner height is set to Custom.

Custom mobile height

Choose a Fixed height (in pixels) or Relative height (as a percentage of the window height). This setting applies when the Banner height is set to Custom.

Background video

SettingDescription

Video

Select or upload a video from your Shopify files. Video files must be saved as an .mp4. For the best experience, we strongly recommend using a 5 to 10 second video under 10MB.

Video focal point

Select an area of your video to keep centered within the frame: either Center, Top, Bottom, Left, or Right. Use this setting to avoid unwanted cropping across different screen sizes.

Background link

Paste a URL or select a page to make the entire video a clickable link.

Content

SettingDescription

Content width

Set the maximum width of the headings and text. Use the available blocks to add and edit the text content.

Text position

Choose one of nine positions to place the description text within the banner.

Mobile text position

Choose one of nine positions to place the description text within the banner.

Video overlay

SettingDescription

Tint opacity

Use the slider to adjust the transparency of the overlay color. Set the opacity to 0% to turn off the overlay color. If set to 100%, the overlay will be opaque.

Tint style

Choose to use a Solid overlay color or Gradient overlay for the tint. The gradient style fades across a range of hues. You can select the angle and direction of the gradient from one of four options.

Override with custom colors

Check this option to use custom overlay colors for the tint. These colors will override the overlay colors selected in your theme settings.

Text color

Select a custom color for the heading and text. This setting applies only if the Override with custom colors option is enabled.

Tint color

Select a custom overlay color for the tint. This setting applies only if the Override with custom colors option is enabled.

Text box

SettingDescription

Show text box

Choose to show a border around the section content.

Text box style

Select the style of the text box, if enabled. Choose from multiple options to display a Soft drop shadow, Solid drop shadow, or Borders with different thicknesses.

Color scheme

Change the color scheme applied to the section text and background. Select the Default color scheme from your theme settings or select a variant scheme based on the default colors: either Inverse, Soft, Accent, or Sale. You may also select one of the two custom color schemas.

Learn more about Color schemes.

Override with custom colors

Check this option to apply custom colors to the text box. These colors will override the color scheme.

Text color

Select a custom color for all text in the text box. This setting applies only if the Override with custom colors option is enabled.

Background color

Select a custom color for background of text box. This setting applies only if the Override with custom colors option is enabled.

Section style

SettingDescription

Top spacing

Increase or decrease the amount of space above the section.

Bottom spacing

Increase or decrease the amount of space below the section.

Enable animation

Choose whether to display visual effects when scrolling, hovering, or interacting with the section. See the Animation guide to learn more.


Related links

Image hero

Last updated