Skip to content

Video with text overlay

This guide describes setting up the Video with text overlay section.

Use the section to display a video overlaid with text on a store page.

The previous video shows a Video with text overlay section on a store's homepage. In the section's settings, an .mp4 video from the store's Files library is added into the section.

Note

When low power mode is enabled on Apple iOS devices, the Safari browser won't play the section's video. Instead, add a fallback image to the section. The fallback image displays whenever the video does not load or play. To add a fallback image, refer to the section settings table in Step 3 below.

For general guidance with modifying sections, refer to Sections overview, and Shopify help: Sections and blocks

Set up a video with text overlay section

To set up a Video with text overlay section:

  1. Go to Customize theme. At the top of the page, use the dropdown to select a template that contains a Video with text overlay section. For example, select the Home page template.

    Note

    The section can be added into any page, except Checkout and Giftcard pages. To add the section into the current page, select Add section > Video with text overlay. Refer to Shopify help: Add a section

  2. From the side menu, select Video with text overlay.

    The Video with text overlay section selected in Theme editor.

  3. Select a setting described in the following table.

Setting nameDescription
Video > VideoUse the Video selector options to set up a video from your store's media library inside the section. Refer to Add, replace or remove an image or video inside a section or block. If you select a video file, the file is used instead of the embedded video option.
Embedded YouTube video > YouTube video URLIn the YouTube video URL box, enter the URL for a YouTube video.
Embedded YouTube video > Fallback image for YouTube videoUse the Fallback image for YouTube video selector options to set up an image inside the section. The image is shown if the video does not load or play. Refer to Add, replace or remove an image or video inside a section or block.
Embedded YouTube video > Fallback image for YouTube video > Connect dynamic sourceTo display a fallback image from a dynamic source, select the Connect dynamic source icon beside the Fallback image for YouTube video selector, and then choose a metafield to add. Refer to Shopify help: Metafields
Aspect ratio > Aspect ratio – mobileUse the dropdown Aspect ratio – mobile to set a size for the video inside the section. This setting applies to mobile display devices, and the options are: Natural, Vertical (9:16), Standard (4:3), Widescreen (16:9), Extra wide (2.35:1) and Full screen. The Natural option uses the video's native aspect ratio for videos from your store's Files library, and uses 16:9 for YouTube videos.
Aspect ratio > Aspect ratio – desktopUse the dropdown Aspect ratio – desktop to set a size for the video inside the section. This setting applies to desktop display devices, and the options are: Same as mobile, Natural, Vertical (9:16), Standard (4:3), Widescreen (16:9), Extra wide (2.35:1) and Full screen. The Natural option uses the video's native aspect ratio for videos from your store's Files library, and uses 16:9 for YouTube videos.
Layout > Display on cardSelect the checkbox Display on card to show/ hide a card behind the section. Refer to Shopify help: Cards
Layout > StyleSelect the Style radio buttons to set the section's video width to Inset to Full width.
Layout > Content positionSelect the Content position dropdown to position the section's text overlay area. The dropdown options are: Top left, Top center, Top right, Middle left, Middle center, Middle right, Bottom left, Bottom center, and Bottom right.
Layout > Text alignSelect the Text align dropdown to align text inside the text overlay area to the Left, Center, or Right.
Content > TitleIn the Title box, enter text to display as heading (title) text inside the section's text overlay area.
Content > Heading sizeSelect the Heading size radio buttons to set the heading to use the same text size as Standard or Feature text. This setting applies to the heading inside the text overlay area.
Content > TextIn the Text box, enter text to display as body text inside the section's text overlay area. Format the text, and/ or add links, using the Text editor pane.
Content > Text > Insert dynamic sourceTo display (body) text from a dynamic source, select the Insert dynamic source icon beside the Text box, and then choose a metafield to add. Refer to Shopify help: Metafields
Content > LinkIn the Link box, enter a URL for the section's button to use or select a store page to link to. The button is displayed inside the section's text area. To remove a link, select the X icon inside the text box. To visit the link, select the Visit link icon above the Link box.
Content > Link > Connect dynamic sourceTo display a button link from a dynamic source, select the Connect dynamic source icon beside the Link box, and then choose a metafield to add. Refer to Shopify help: Metafields
Content > Button textIn the Button text box, enter text to display as a label for the section's button. The button is displayed inside the section's text area.
Color > Color schemeUse the Color scheme dropdown to set the section's color scheme to Primary, Secondary, Tertiary or Quaternary. Refer to Colors.
Color > Use gradient for backgroundSelect the checkbox Use gradient for background to turn on/ off using a gradient as the section's background.
Theme settingsSelect Theme settings to access additional settings for the section. Refer to Section theme settings menu.
Custom CSSSelect Custom CSS. In the box, enter custom CSS styles to apply only to the current section. Refer to Shopify help: Add custom CSS. To apply custom styles to your entire online store, refer to Theme settings > Custom CSS.
Remove sectionSelect Remove section to delete the section from the current page.

Configure a block within a video with text overlay section

A default Video with text overlay section contains no blocks. To configure a block inside the section:

  1. Go to Customize theme. At the top of the page, use the dropdown to select a template that contains a Video with text overlay section.

  2. From the side menu, expand the Video with text overlay section menu.

  3. To configure an existing block, select the block from the side menu.

    To add a new block, select Add block, choose a block to add, and then select the block you added.

    The Video with text overlay's Add block menu in Theme editor.

    Note

    Inside the section, you can add, remove, show/ hide, or move blocks. Refer to Configure blocks inside a section, and Shopify help: Sections and blocks

  4. Apply a block setting described in the following table.

Block nameBlock descriptionBlock setting(s)
StickerOverlays the section with a stylized sticker.Refer to Stickers.
Shape dividerDisplays a stylized separator between the current section and the next/ previous section.Refer to Shape divider.