Video hero
With the Video Hero section, you can feature a video on your home page. You can preface your video with a hi-def thumbnail and custom marketing text.
The Video hero section can be used on the following page templates:
Home page template
Collection pages template
Product pages template
This section accepts direct video links uploaded to your Shopify Files.
Add a Video hero section on the home page
To set up a Video hero section:
Add a Video hero section to other pages
To set up a Video hero section:
Settings reference
The Video hero section has the following settings:
Height
Use the slider to set the height of the slide as a perecentage of the maximum height.
Mobile height
Use the slider to set the height of the slide on mobile as a perecentage of the maximum height.
Video link
Add the full URL to the video.
This setting takes YouTube and Vimeo video URLs.
Image fallback
Select or upload an image to be used as the video preview.
We recommend using a still image from the video.
Heading
Add heading text to be used above the list of featured products.
We recommend keeping this to just a few words long.
Subheading
Add subheading text to be displayed below the heading text.
We recommend keeping this to a short sentence or two.
Heading size
Change the title heading of the slides between 48px to 72px.
Text max width
Change how wide the subheading text can be at a maximum.
Text shadow amount
Change the shadow to all slide text to add more of a contrast with the slide image.
Text color
Choose the text color for the entire slide.
Button text color
Choose the button text color.
Button background color
Choose the button background color of the button.
Overlay color
Choose the color of the overlay that will cover the entire slide.
Overlay opacity
Use the slider to choose how opaque the overlay color should be. Where 0% is invisible and 100% is completely opaque.
Text alignment
Choose how the text inside the current slide should be aligned.
For more information about each option, see [Text alignment in slideshows][text-alignment]
Add a video
Before you start setting this up, you should know a few things:
You'll need your video as an .mp4 video file.
For the best customer experience, we strongly recommend using a 20- to 30-second video that's under 10MB in size.
You can't use a service like YouTube or Vimeo to host this video.
To use Shopify to host this video file:
Text alignment
In the Video hero section, you can change how text is aligned.
The following Text alignment settings are available:
In the following diagram, you can see where of these settings would place your text::
Home page
Product pages
Collections page