A Shopify store owner using the Dawn theme wants to constrain their image banner section (containing two side-by-side images) to match the width of other page sections instead of spanning the full browser width on large screens.
Proposed Solutions:
Use Collage section with single image: Suggested as an alternative, but the user specifically needs two separate images
Custom CSS approach: One contributor provided CSS code targeting the specific banner ID with max-width: var(--page-width) and padding adjustments to contain the banner and its two image halves
Add .page-width class: Another suggestion to add this class directly to the banner element or check section settings for a container option
Current Status:
The user attempted the custom CSS solution but reported it didn’t work initially. They then tried their own CSS snippet using max-width: 955px which produced some effect, though they’re uncertain if it’s the correct approach. One contributor suggested the CSS may have been added with wrong syntax and recommended placing it at the end of assets/base.css. The issue remains unresolved with ongoing troubleshooting.
Summarized with AI on October 28.
AI used: claude-sonnet-4-5-20250929.
How do I make it so that the image banner, the one that has two images at the bottom is shrunk so that it aligns with the category section? (Image below). Because if I do the collage for example, it aligns with everything from both sides, but image banner doesn’t. It goes full website width. It looks a bit odd when you have a large screen and everything is in the middle but you have these massive image banners that goes from edge to edge.
Yeah I thought about it. However I want to use two images. And I know the solution for this would be just to make 2 images into 1 and add it as a collage, but there has to be a ‘proper’ way lol