Hello @kyle6661 You’re encountering a common issue in the Dawn theme where banner sections (like “Image with Text”, “Image Banner”, or custom image blocks) have inconsistent padding or aspect ratios between desktop and mobile views. Here’s how to fix the white empty space below the banner image on mobile:
Problem Summary
. On desktop, the image fills the block nicely.
. On mobile, Shopify’s Dawn theme often preserves a fixed aspect ratio, causing the image to not fully fill the area vertically.
. This results in a white/empty space below the image.
Solutions
Option 1: Use “Image banner” block with Mobile height adjustment
.1 Go to Online Store > Themes > Customize.
.2 Find the section where your banner image is.
.3 Click on the Image banner block.
.4 In the settings panel:
. Scroll to “Image height”.
. Set Mobile layout height to “Adapt to image” instead of fixed height like “Small” or “Medium”.
- Save and preview.
This setting forces the image height to match the actual image rather than maintaining a forced aspect ratio, which is the usual cause of the space.
Option 2: Override mobile banner height with CSS
If you’re not using the “Image banner” section or that doesn’t solve it, you can use custom CSS:
-
Go to Online Store > Themes > Edit code.
-
In the Assets folder, open base.css.
-
Add this code at the bottom:
@media screen and (max-width: 749px) {
.banner, .image-banner, .media, .media--adapt {
height: auto !important;
min-height: unset !important;
}
.banner__media, .media--adapt img {
object-fit: cover !important;
height: auto !important;
}
}
This will:
. Remove any forced height on the mobile version.
. Allow the image to take up space based on its natural size.
. Prevent extra white space.
Final Tip: Use properly cropped images
Make sure your image has:
. A mobile-friendly aspect ratio (3:4 or 4:5, not super wide).
. Good resolution for mobile screens (around 800px wide minimum).
Thank you 