Introducing Stiletto - the essential Shopify theme to fuel your ecommerce growth. Learn more.

Image hero

The Image hero section provides a highly-customizable feature for your boldest product photos and promotional content. Create a unique section with plenty content and visual design blocks, video player, multiple buttons, and comprehensive image settings.

Set up section

Add this section to any template (except Checkout) and re-order its position. You can use this section multiple times on the same page with different content and settings.

Note: New sections will appear on all pages that use the same template. To add sections to specific pages only, learn how to create and assign multiple templates.

Steps

In your theme editor (Customize):

  1. Select a Template to edit from the dropdown menu in the top bar.

  2. In the side panel, click (+) Add section and select Image hero.

  3. Change the order of your sections by using the drag and drop handles ⋮⋮

Set up hero image

Upload an Image and fine-tune its Height, Focal point, and color Overlay or Gradient. Add a Mobile-specific image for the best results on smaller screens.

Steps

In your theme editor (Customize):

  1. Click on the Image hero section to open the section settings.

  2. Click Select image to upload and select an image file.

    There are no required images dimensions. We simply recommend uploaded images have a minimum width of 2048px for optimal quality across all devices.

  3. (Optional.) Upload a Mobile image to display only on mobile devices.

    You may want a different image that works best with mobile screen dimensions, for example a portrait shaped image.

  4. Under Image height, choose to display the image with a Custom or the Original height (without cropping).

  5. If Custom height is selected: adjust the Height and Mobile Height of your image between 50% to 100% of the maximum height.

    The Height is the percentage of the window height on your customer's device.

    When Custom height is set to 50%, the image will always display at half the height of the customer's screen.

  6. Select the Image focal point to choose which area of the image to keep centered and visible when cropping occurs.

    You can also set the Mobile image focal point for small screen sizes.

  7. Change the Overlay color and Overlay opacity using the slider to increase the contrast between the text and image.

    These settings help make your text clear and readable.

  8. (Optional) Click the Overlay gradient option to add a color overlay that fades across a range of hues.

    You can choose the style, angle, position, and opacity of the gradient. See Shopify's color gradient guide to learn more.

  9. Click Save.

Add video player

Add a short video that customers can click to play within the Image hero section.

The Video player block requires an .mp4 that's been uploaded to your Shopify Files.

This block is best for short videos. We strongly recommend using a video that's around 10 seconds long or less and that's under 10MB in size.

1. Upload video to Shopify files

In your Shopify Admin:

  1. Go to Settings > Files to open your Shopify Files.

    Shopify files in admin dashboard
    Shopify files in admin dashboard
  2. Click the Upload files button to add your .mp4 file from your computer.

  3. Once your file has been processed, click the Link icon next to the file to copy the URL.

    Note: you may need to refresh the page for your file to appear.

    Shopify files copy link button
    Shopify files copy link button

In your theme editor (Customize):

  1. Click on the Video player block under the Image hero section.

  2. Paste the link into the Video link field. Click on the the link that appears in the results above.

    Direct link in the Video link field
    Direct link in the Video link field

    If you haven't already, go to Settings > Files and click the Link icon next to your video file to copy the URL.

  3. Click Save.

3. Edit video block

Once you've added your video, you can add a Preview image, adjust the shape (Aspect ratio), and customize the "Watch now" button.

Steps

  1. Click on the Video player block to open the video settings.

  2. Upload a Video preview image, ideally a screen capture of the video.

  3. To crop the shape of your preview image, set the Image aspect ratio to Square, Landscape, or Portrait.

    The Natural setting will display the original shape of your image.

  4. Change the Button text. The default text is "Watch now."

  5. Change the Button icon style to Dark, Light, or Outline.

  6. Click Save.

Section headings

Add a section title and promotional text to overlay your Image hero. There are 4 types of heading or text blocks:

Block
Heading
Subheading
Text
Accent

The first 3 blocks include Size settings for the most flexibility. Click on one of the text or heading blocks to find the size settings.

Steps

In your theme editor (Customize):

  1. Click the Heading block to change section title.

    We recommended a short title of just a few words.

  2. Click the Subheading block to add a few words or short sentence below the heading.

  3. Click the Text block for longer content in a more compact size.

  4. Click + Add block to add an Accent block, ideal for a one word label or category.

  5. Click Save.

Add buttons

Add multiple Button blocks to link to your collections or products or any other page with a custom label.

Steps

In your theme editor (Customize):

  1. Click on a Button block to open the settings.

    Click + Add block and select Button to add more.

    Click Remove block or the eye icon to remove or hide blocks.

  2. Select or paste a URL for the Button link.

  3. Enter text for the Button label.

    The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now). To learn more, read "What is a Call to Action?"

  4. (Optional.) Use the drag and drop handles ⋮⋮ to change the position of the Button:

    Shopify content blocks nested in a section
    Shopify content blocks nested in a section
  5. Select a Button style: either Solid, Outline, or Text.

    Click on the Image hero section to find the color options for buttons.

  6. Click Save.

Section styles

Fine-tune the colors, alignment, and padding of the section.

You can also add design blocks like the Spacer and Border to refine the look. Click + Add block and use the drag handles to move the blocks where you need them.

Steps

In your theme editor (Customize):

  1. Click on the Image hero section to open the settings.

  2. Change the Text position to align all text content to the Left, Center, or Right of the section.

  3. Select a Padding option to add space around the section to either the Top and bottom, Top only, Bottom only, or set it to None.

  4. Select a Button icon style for the play button: either Dark, Light, or Text.

    Click on the Image hero section to find the color options for buttons.

  5. Click Save.

Contact

🇨🇦 Fluorescent Design Inc.

Send us a message
  • Toronto OfficeMonday to Friday, 10am to 6pm ET
  • Victoria (B.C.) OfficeMonday to Friday, 10am to 6pm PT
  • Average Response Time~1 Business Day
* Excludes statutory holidays. All offices closed to the public.