Skip to content

Video with text overlay

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

Use the section to add a video from a URL, overlaid with text, to a store page. With videos and text, share information about your brand with customers, describe products, or welcome customers to your store, etc.

An example Video with text overlay section on a store's homepage.

The previous image shows a Video with text overlay section on a store's homepage. In the upper center, the section menu's Video URL box contains a URL for a video file named video.mp4. The file is located in the store's media library, and displayed inside the section.

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 URLIn the Video URL box, enter a URL for the section's video. YouTube and Vimeo links are accepted.
Fallback imageUse the following Fallback image selector options to set up an image inside the section. The image is displayed if the video does not load or play.
  • To add an image, choose Select image, and then upload an image or select an image file from your store's file library.
  • To add a focal point to an image, select Edit in the image selector's thumbnail preview area, and then select Add focal point. Refer to Shopify help: Add a focal point to an image, and Edit an image inside a section or block.
  • To add "alt text" to an image, select Edit, and then enter a brief description of the image into the Image alt text box. The description improves search engine optimization (SEO), and provides greater accessibility for customers who use screen-reading tools. The text is saved immediately. Refer to Shopify help: Adding alt text to media
  • To download an image, select Edit > Download.
  • To replace an image, choose Change > Change image, and then select or upload a new image.
  • To remove an image, select Change > Remove image.
  • To display an image from a dynamic source, select the Change > Connect dynamic source, and then choose a metafield to add. Refer to Shopify help: Metafields
Fallback image > Connect dynamic sourceTo display an image from a dynamic source, select the Connect dynamic source icon beside the Fallback image selector, and then choose a metafield to add. Refer to Shopify help: Metafields
HeadingIn the Heading box, enter text to display as a title (heading) inside the section.
Text sizeSelect the Text size radio buttons to set a size for text inside the section. Set the section's text to use the same size as Feature heading or Standard heading text.
TextIn the Text box, enter (body) text to display inside the section's text area. Format the text, and/ or add links, by using the Text editor pane.
Text > Insert dynamic sourceTo display (body) text from a dynamic source, select the icon Insert dynamic source beside the Text box, and then choose a metafield to add. Refer to Shopify help: Metafields
Show scroll down arrowSelect the checkbox Show scroll down arrow to show/hide an arrow (down) icon inside the section.
Layout > Aspect ratio – mobileUse the dropdown Aspect ratio - mobile to set the width-to-height ratio for videos inside the section. The options are: Portrait (3:4), Square (1:1), Classic (4:3), Widescreen (16:9), Extra wide (2.35:1), and Full screen. This setting applies to mobile display devices.
Layout > Aspect ratio – desktopUse the dropdown Apect ratio – desktop to set the width-to-height ratio for videos inside the section. The options are: Same as mobile, Classic (4:3), Widescreen (16:9), Cinematic (2.35:1), and Full screen. This setting applies to desktop display devices.
Layout > Content positionUse the Content position dropdown to set a position for the section's content area. The options are Middle left, Middle center, Middle right, Bottom left, Bottom center, and Bottom right.
Layout > Text alignmentSelect the Text alignment dropdown to align text inside the section to the Left, Center, or Right.
Layout > Display content below image on mobileSelect the checkbox Display content below image on mobile turn on/off displaying the section's content area below the image/video. The setting applies to mobile display devices. With this setting off, the content area overlays the image/video.
Color > Color schemeUse the Color scheme dropdown to set the section's color scheme to Primary, Secondary, or Tertiary. Refer to Colors.
Color > Disable transitionSelect the checkbox Disable transition to turn on/off overriding the color transitions set in the section's theme settings. Setup defaults for this setting in Theme Settings > Colors > Transitions.
Color > Text colorUse the Text color dropdown to select a color for text inside the section. The options are: Follow color scheme, White, and Black.
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 section'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 Table: Video with text overlay blocks.

Table: Video with text overlay blocks

The following table describes the blocks inside the Video with text overlay section, and their corresponding settings.

To configure a block, refer to Configure a block within an video with text overlay section.

Block nameBlock descriptionBlock setting(s)
ButtonDisplays a button inside the section.
  • In the Link box, enter a URL or select a link to a store page. The link opens when a store visitor selects the button. To remove a link, select the X icon inside the text box.

  • To display a 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

  • In the Text box, enter text to display as label text for the button. To use this setting, add a link into the Link box.

  • Select the Style radio buttons to set a style for the button to Solid or Border only.

  • Select Remove block to delete the block from the current section.
ColorAdds an overlay, with a specified color, to the section.
  • To set a color for the overlay, select Color, and then choose a color using the color picker, or enter a hex color value, or select a Currently used color.

  • To set a color for the overlay using a dynamic source, select the Connect dynamic source icon beside the Color option, and then choose a metafield to add. Refer to Shopify help: Metafields

  • Adjust the Opacity slider to make the overlay more or less transparent. The slider ranges from 0 to 100.

  • Select Remove block to delete the block from the current section.
CSS backgroundAdds an overlay, with a specified (CSS) color gradient, to the section.
  • To apply a preset color gradient to the overlay, select CSS Background > Gradient, and then choose a preset color gradient. Use the color gradient settings to configure the gradient. Alternatively, to configure a preset gradient by editing the gradient's CSS code, select a preset gradient, choose CSS Background > CSS, and then edit the contents of the CSS code box. To remove a color gradient, select Remove gradient.

  • To use CSS code to specify a color gradient for the overlay, choose CSS Background > CSS, and then add CSS code into the CSS code box. To remove a color gradient, select Remove gradient.

  • Adjust the Opacity slider to make the overlay more or less transparent. The slider ranges from 0 to 100.

  • Select Remove block to delete the block from the current section.