Main issue: On mobile, the heading and subheading appear below the hero image; on desktop, the image is oversized, cutting off text and visuals. The goal is to overlay text on the image on mobile and ensure banners fit properly on desktop.
Key guidance:
Theme setting approach: In the Dawn theme, uncheck “Show container on mobile” to place text over the image. Other themes should have a similar setting in the theme editor.
CSS approach (mobile): Add a media query (max-width: 750px) in the theme’s CSS file to make the slideshow text wrapper position: absolute and full-width/height, and remove the background on the text container so text overlays the image. A code snippet and screenshots were provided.
Banner sizing: In Customize > Banner section, set banner height to “Adapt to first image” to prevent collection banners from being cut off on larger screens.
Outcome: The provided steps resolved the issue; the asker confirmed it “worked perfectly.” The thread is resolved. Screenshots and a code snippet were central to the solution.
As you can see my heading & sub-heading are below the picture for the mobile version, can anyone tell me how to have it placed on the picture like the browser version.
Also is there a way to shrink a picture to make it fit to the screen, the mobile image is fine but the computer browser image doesn’t sit properly and is too big so it cuts off wording and pictures.
You should be able to place the text on the image through the theme editor. I’m not sure what theme you’re using, but in Dawn, there’s a Show container on mobile option that needs to be unchecked. There should be a similar option in your theme.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code: