A user seeks help creating a full-width portrait banner image for mobile devices on their Shopify store homepage, with text overlaying the image instead of showing background color.
Two approaches considered:
Replace the current landscape image with a separate portrait version
Resize and reposition the existing landscape image
The user requests specific implementation steps, including code snippets and placement instructions.
Solutions offered:
One responder provided CSS code to paste in the theme.liquid file before the </head> tag
Another suggested using separate image sections for desktop and mobile views, allowing different configurations for each device type
For mobile layouts, unchecking the “container” option keeps text positioned on top of the image
Status: The discussion remains open with multiple technical solutions proposed but no confirmed resolution from the original poster.
Summarized with AI on October 29.
AI used: claude-sonnet-4-5-20250929.
This way you can have one image for desktop and another for mobile, in different sections, and you can configure these 2 images with different text and text position, etc.
If you uncheck “container” for mobile layout, the text will stay on top of the image.