Skip to content

Image with text overlay

This guide describes setting up an Image with text overlay section.

Use the section to display an image, overlaid with text, on a store page.

An example Image with text overlay section on a store's home page.

The previous image shows an Image with text overlay section on a store's home page. On the left, in the section menu, the Text color option is set to White. This color is applied to the text Make your home a sanctuary inside the section.

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

Set up an image with text overlay section

To set up an Image 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 an Image with text overlay section.

    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 > Image with text overlay. Refer to Shopify help: Add a section.

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

    An Image with text overlay section selected in Theme editor.

  3. Select a setting described in the following table.

Setting nameDescription
ImageUse the Image selector options to setup an image to display inside the section. Refer to Edit an image inside a section or block.
Image > Connect dynamic sourceTo display an image from a dynamic source, if available, select the Connect dynamic source icon beside the Image selector, and then choose a metafield to add. Refer to Shopify help: Metafields.
HeadingIn the Heading box, enter text to display as a heading (title) 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 Image aspect ratio - mobile to set the width-to-height ratio for images inside the section. The options are Portrait (4:3), 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 Image aspect ratio – desktop to set the width-to-height ratio for images 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. The setting applies to mobile display devices. With this setting off, the content area overlays the image.
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 an image with text overlay section

A default Image 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 an Image with text overlay section.

  2. From the side menu, expand the Image 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 Image 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: Image with text overlay blocks.

Table: Image with text overlay blocks

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

To configure a block, refer to Configure a block within an image 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.