Image with text overlay

The "Image with text overlay" section is a good way to display a video or full-width banner completed with the text over an image and call-to-action buttons that link to other pages.

Tip: This section includes four blocks: "Heading", "Text and Custom HTML", "Buttons" and "Mobile settings". Each block can be added individually and customized in different ways.

Image

Press the "Select image" button in the "Image or cover image" source selector to upload the necessary image for both desktop and mobile. The image can be used as a banner or a cover image for a video. The recommended image ratio is two-to-one (width-to-height respectively). Once an image is selected, it can be linked to pages/ collections/ products. Choose the destination in the "Link" source selector.

Tip: The "Image" settings described below will only apply to the desktop mode.

Activate the "Show image overlay" in the "Mobile settings" block to allow the use of settings for mobile viewing.

If you need to change the "Image overlay background", select the color from the color picker. By default, the color is set to transparent. The option works with the enabled "Add overlay opacity", "Zoom in, add overlay opacity", or "Zoom out, add overlay opacity" in the "Animation" subsection. The applied option won't work if you use the gradient color.

Press "Image overlay gradient" to apply the gradient vector. Read details on how to use the option here. This option will not be effective if a background color is used.

Adjust the transparency of an image gradient overlay using the "Image overlay opacity" scale from 0 to 100%.

The following section provides two methods of displaying a video on a page. Select the one that fits you well:

Shopify-hosted video

Using this option, the Shopify-hosted video will appear within the section. The video can be added by simply pressing the "Select video" button in the "Video" source selector. You can either upload the video to your Store library or utilize one that has already been stored in your Shopify admin -> Content.

Or embed video from URL

This approach lets you add a YouTube or Vimeo video. The video can be placed by simply pasting a link into the "URL" field.

In the "Video alt text", paste the descriptive text for the screen readers. More details can be read in the initial documentation.

Use the "Autoplay" function to initiate the video display automatically upon a visitor landing on a page without pressing the play button.

Activate the "Loop" option to play your video repeatedly and continuously.

To display the video's Parental Controls, tick the "Controls" option.

Note! Ensure the image link field is empty in order to use the video controls. Otherwise, the visitors will be redirected to another page when pressing the video player controls.

Text

Tip: Add the dynamic "Mobile settings" block to change the text position and text alignment settings for mobile. Read details here.

The option "Desktop text position" helps to place texts in different positions: "Top left", "Top", "Top right"; "Center left", "Center", "Center right"; or "Bottom left", "Bottom", "Bottom right". Choose an option that best fits your needs in the drop-down.

If you need to align the text to "Left", "Center", or "Right", select one of the options in the "Desktop text alignment" drop-down.

In the "Text box desktop background", you can set the color from the color picker. By default, the color is set to transparent.

Use the "Text box desktop opacity" scale to change the text box background opacity from 0 to 100 %, where 0% is an invisible background, and 100% is opaque.

The "Text box desktop width" scale allows setting the text width from 30% to 100%.

In the following example, you can view how the described settings might display in a banner with the next text parameters:

You can read more about the described options on the following help page.

Layout

Use the "Height" options to adapt a media to the desired size. There are a few available options that can be selected from the drop-down:

  • "Adapt to media". Displays an image/video in its original aspect ratio.

Note! This option is automatically applied when the "Image parallax" feature is activated to generate the parallax effect.

  • "Fullscreen". Set this option to show a media in the full width of a page. The image/video width will match the page width set in global settings if the "Enable page width" option is ticked under Theme settings -> Layout.

  • "Fullscreen without header". Using this option, media will be cropped at the top and bottom. The top spacing will be subtracted from the total height. Be sure to review the settings on the storefront to confirm they meet your expectations.

  • "Proportion in %". Select the option to adjust a media height as a percentage using the "Proportion of height" scale. The parameters can be changed from 10% to 210%.

*The "Proportion in %" option is applied to mobile by default. To modify the height specifically for mobile, add the "Mobile settings" block.

"Proportion in %" indicators:

*100% = Square image

*Less than 100% = Landscape

*More than 100% = Portrait

*For an ideal video aspect ratio (16:9), set the proportion to 56%.

  • "Fixed in px". This option helps to change image/video size in pixels by setting the parameters on the "Fixed height" scale. The height can be adjusted between 100 and 1000 pixels.

Use the "Width" drop-down to apply one of the options: "Standard" (boxed), "Wide" (full width of a screen), or "Fixed". Once the last option is selected, you can manually change the width from 450 to 2000 pixels using a "Fixed width" setting. The margins will be set to the left and right when using "Fixed".

*The width of the media in the section cannot exceed the page width set in the global settings. Check the parameters in Theme settings -> Layout.

Here is how the "Wide" option appears in the section with the disabled page width in the global settings:

To read more about the described options, view the following help page.

If you need to show a "Dividing line", choose "Top" or "Bottom" positions. It will be hidden once you use the option "None".

On the "Top spacing" and "Bottom spacing" scales, decide whether to add spaces at the top and bottom of the section. Control spacing settings from 0 to 100 pixels on each scale.

Animation

Desktop hover animation

If you want to add an animation inside the image container, choose the suggested option from the list. By default, the block uses the "Inherit global settings" option. If there is no need to apply animation settings for the block individually, leave this option as it is. In this case, decide on the animation image effect in the global settings of the Theme Editor by using the "Banner image desktop hover animation" drop-down. Read the details on the following help page.

The options "Zoom in" and "Zoom out" place the zooming effect to enlarge or decrease an image on the mouse hover. You can activate the opacity over the image by choosing "Add overlay opacity" and selecting a color for the "Image overlay background" or "Image overlay gradient" (read the details above). To use this option, make sure that the "Image overlay opacity" is set up to be transparent. The overlay opacity and zooming effect on an image can be achieved with an active "Zoom in, add overlay opacity" or "Zoom out, add overlay opacity". The option "None" deactivates the animation.

You can read more about the described options on the following help page.

Image parallax

*This option overrides the hover animation settings.

*The Static option is not supported on iOS mobile devices and may cause slowdowns on content-heavy pages due to browser limitations.

Activate one of the options from the drop-down list to add an effect that moves images within the container as you scroll up or down a page. The available options are: "Move up", "Move up with delay", "Move down", "Move down delay", and "Static". To disable the parallax effect, choose the "Disable" option.

*The parallax settings need to be rechecked with the altitude settings described above.

Here is the example view of the section on a desktop and mobile:

Last updated