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 home page.

The previous image shows a Video with text overlay section on a store's home page. 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.

    In Theme editor, at the top of the page, use the dropdown to select a page that contains a Video with text overlay section. For example, select the Home page.

    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 Fallback image selector options to set up an image inside the section. The image is displayed if the video does not load or play. Refer to Edit an image inside a section or block.
Fallback image > Connect dynamic sourceTo display an image from a dynamic source, if available, 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 add links by using the Text editor pane.
Text > Insert dynamic sourceTo display (body) text from a dynamic source, if available, 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 alignmentUse the Text alignment options 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 options to select a color scheme for the section. 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 options to select a color for text inside the section. The options are: Follow color scheme, White, and Black.
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.

    In Theme editor, at the top of the page, use the dropdown to select a page 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, if available, 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.