Skip to content

Inset image with overlay

This guide describes setting up an Inset image with overlay section.

Use the section to display an image on a page, at offset position, overlaid with text.

An example Inset image with overlay section on a store's home page.

The previous image shows an Inset image with overlay section on a store's home page. In the upper left, part of Theme editor's section menu is displayed. The menu's Heading (offset) slider is set at 2. To maximize the section's overlay text effect, this setting moves the (overlaid) heading text closer to the image.

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

Set up an inset image with overlay section

To set up an Inset image with 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 Inset image with 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 > Inset image with overlay. Refer to Shopify help: Add a section.

  2. From the side menu, select Inset image with overlay.

    An Inset image with overlay section selected in Theme editor.

  3. Select a setting described in the following table.

Setting nameDescription
ImageUse the Image selector options to set up an image 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.
Image position on desktopSelect the radio buttons Image position on desktop to position the section's image to the Right or Left. This setting applies to desktop display devices.
Crop imageUse the Crop image dropdown to set a (cropping) shape for images inside the section. The dropdown options are No crop, Landscape, Square, and Portrait.
Image width on mobileUse the Image width on mobile options to set a width for the section's image on mobile display devices. The options are Full (width) and Contained.
Image max width on desktopAdjust the Image max width on desktop slider to specify a maximum width for the section's image on desktop display devices. The slider ranges from 0 % to 100 % or percent.
Offsets > ImageAdjust the Image (offset) slider to make the section's image more or less "offset". The slider ranges from 0 to 2. Adjust the image and heading offset options to create an overlay effect on desktop display devices.
Offsets > HeadingAdjust the Heading (offset) slider to make the section's heading more or less "offset". The slider ranges from 0 to 2. Adjust the image and heading offset options to create an overlay effect on desktop display devices.
Align text and button to heading offsetSelect the checkbox Align text and button to heading offset to turn on/off "Align mode" for the section's text and button. Enable this setting to align the section's text and button to match the section's heading offset.
Content > HeadingIn the Heading box, enter text to display as a heading (title) inside the section.
Content > Heading > Connect dynamic sourceTo display heading text from a dynamic source, if available, select the Connect dynamic source icon beside the Heading box, and then choose a metafield to add. Refer to Shopify help: Metafields.
Content > 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.
Content > 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.
Content > Overlay text alignmentUse the Overlay text alignment options to align overlay text inside the section to the Left, Center, or Right.
Content > Mobile font size scaleUse the Mobile font size scale slider to specify a size for text inside the section. This setting applies to mobile display devices. The slider ranges from -2 to 7.
Content > Desktop font size scaleUse the Desktop font size scale slider to specify a size for text inside the section. This setting applies to desktop display devices. The slider ranges from -2 to 10.
Call to action > LinkIn the Link box, enter a URL or select a link to a store page. The link is displayed as a button inside the section.
Call to action > Link > Connect dynamic sourceTo 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.
Call to action > LabelIn the Label box, enter text to display as label text for the section's "Call to action" link.
Call to action > Label > Connect dynamic sourceTo display (link) label text from a dynamic source, if available, select the Connect dynamic source icon beside the Label box, and then choose a metafield to add. Refer to Shopify help: Metafields.
Heading blend mode > Blend modeUse the Blend mode options to specify how the section's overlay heading text blends with the colors beneath it. Refer to Mozilla developer documentation: Mix blend mode examples. The options are Normal, Difference, Exclusion, Overlay, Soft light. Some blend modes work better when the text color is dark, others when it is light.
Heading blend mode > Overlay color schemeUse the Overlay color scheme options to select a color scheme for the section's overlay area. Refer to Colors. This setting applies only when the section's Blend mode option is not set to Normal.
Parallax > Enable parallaxSelect the Enable parallax checkbox to turn on/off parallax effects for the section's content. With this setting on, an animation effect moves the section's text at a different speed than the section's image - when a store visitor scrolls through the store page.
Parallax > Parallax speedAdjust the Parallax speed slider to make the section's parallax animation effect move faster or slower. The slider ranges from -6 to 5.
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.
Spacing > Remove top paddingSelect the checkbox Remove top padding to add/remove the spacing (padding) that's displayed above the section. Refer to W3 Schools: CSS Padding.
Spacing > Remove bottom paddingSelect the checkbox Remove bottom padding to add/remove the spacing (padding) that's displayed below the section. Refer to W3 Schools: CSS Padding.
Theme settingsIf available, select 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.