How to Replace Hero Background Images in Shopify (2026)

Last updated
Expert reviewed
5 min read
Jacques Blom
Jacques Blom
CTO at Fudge.

Key takeaways

  • Go to Online Store > Themes > Customize > click the hero or banner section > update the background image.
  • The hero section is typically called “Image banner”, “Hero”, or “Slideshow” depending on your theme.
  • Add a dark overlay if you have text on top of the image - it improves legibility significantly.
  • Recommended image size: 2000px wide, compressed to under 500KB.

Your hero image is the first thing most visitors see. Changing it via the Theme Editor takes under a minute. Here’s exactly how to do it.

Why you can trust us

We’ve built and customised hundreds of Shopify storefronts. We also built Fudge - an AI storefront editor with a 5.0 rating on the Shopify App Store.


How to change the hero background image

Step 1. Go to Online Store > Themes > Customize.

Step 2. You’ll land on the homepage by default. If the hero is on a different page, navigate there using the page selector at the top.

Step 3. In the left sidebar, find the hero section. It may be labelled:

Click on it.

Step 4. In the settings panel, find the Image field. Click Select image or Change image.

Step 5. Choose an image from your Shopify files library, or upload a new one directly.

Step 6. Click Save.


Getting the technical specs right makes a real difference to how the hero looks and loads:

Width: 2000-2400px is standard for full-width hero images. Shopify’s CDN serves responsive versions, but the source image needs to be wide enough to look crisp on large screens.

Height: Most themes display the hero at a fixed ratio - commonly 16:9, 2:1, or 3:1 for widescreen banners. Check your theme’s aspect ratio settings and crop your image to match before uploading.

Format: WebP or JPEG for photos. Avoid PNG for large photographic backgrounds (file sizes get very large).

File size: Compress to under 500KB. A hero image that loads slowly creates a bad first impression and hurts Core Web Vitals scores.


Adding a dark overlay for text legibility

If you have text (headline, subheading, CTA button) overlaid on the hero image, legibility is critical. White text on a light background is unreadable.

Most Shopify themes include an overlay setting directly in the Image Banner section:

If your theme doesn’t have a built-in overlay option, it can be added via CSS. You can describe the exact style to Fudge: “Add a 40% dark overlay to the hero image section on the homepage.” Fudge generates the code and shows a draft before publishing.

Want a custom hero layout with video, animations, or split design? Describe it to Fudge.
Try Fudge for Free

Slideshow vs single image hero

Some themes use a slideshow for the hero, which cycles through multiple images automatically. If you see a slideshow section:

For most stores, a single strong image outperforms a slideshow. Carousels dilute attention and the second or third slide is rarely seen by most visitors. If you’re using a slideshow, consider simplifying to one hero image.


Using video as the hero background

Some themes support a video background for the hero section instead of a static image. Look for a “Video” tab or “Background video” option within the same section settings.

If your theme doesn’t support it natively, a video hero background can be added via code. Describe it to Fudge: “Replace the homepage hero background with a looping MP4 video. Keep the headline and CTA button on top. Fall back to the existing image on mobile.”


Hero images on inner pages

The steps above apply to any page with a hero or banner section - not just the homepage. Navigate to the relevant page in the Theme Editor (collections, pages, landing pages) and follow the same process to update the hero image there.

Jacques's signature
Build a custom hero section for your store — just describe it.

You might also be interested in

How to Add a Hover Image on Shopify Product Cards (2026)
Show a second product image when customers hover over product cards in Shopify. Covers native theme settings, which themes support it, and code options.
How to Reorder Product Images in Shopify (2026)
Learn how to rearrange product images in Shopify by dragging in the admin. Covers the featured image, bulk reordering via CSV, and variant-specific images.
How to Add Alt Text to Images in Shopify (2026)
Learn how to add alt text to product images, theme images, and blog images in Shopify. Why it matters for SEO and accessibility, and how to write it well.