Hi , Just below my slideshow image there is a wide gap in the mobile view only .Desktop view looks fine . how to get rid of it , looks very unprofessional as its the first opening section of my website.,
Topic summary
A Shopify store owner using the Dawn theme encountered excessive white space below their slideshow image on mobile devices, while desktop display appeared normal. The issue affects the homepage’s first section, creating an unprofessional appearance.
Proposed Solutions:
Three community members offered CSS-based fixes:
-
Solution 1: Modify
section-image-banner.cssby changing padding to1rem 3.5rem -
Solution 2: Add CSS to
theme.css/base.cssthat repositions the slideshow text wrapper absolutely and removes padding/background (includes before/after screenshot) -
Solution 3: Insert CSS in
base.cssthat positions banner content absolutely within the slideshow container with semi-transparent background
All solutions target mobile viewports using media queries (max-width: 750px or 749px).
Current Status:
Another user reported experiencing the same issue. The original poster has not confirmed whether any solution resolved their problem. The discussion remains open with multiple untested approaches available.
Hi @DreamgiftStudio ,
Would you mind to share your URL website and Password (if its protected)? So I can give you the solution.
Thanks!
NO PASWORD .
Try going to the section-image-banner.css asset and change the padding of the class .section-image-banner.css to 1rem 3.5rem
Hi @DreamgiftStudio ,
Try this.
- 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 “theme.css, styles.css or base.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:
- And Save.
@media only screen and (max-width: 750px) {
.slideshow__slide.grid__item {
position: relative;
}
.slideshow__text-wrapper.banner__content {
position: absolute;
bottom: 1rem;
}
.slideshow__text.banner__box.content-container {
padding: 0;
background: transparent;
}
}
-
Result:
-
I hope it help.
- From your Shopify admin, navigate to Online Store > Themes > Actions > Edit Code > base.css
- paste the following at the very bottom:
@media (max-width: 749px){
[id] .slideshow{
position: relative;
}
[id] [class*='banner__content'] {
position: absolute;
top: 0;
height: 100%;
}
[id] [class*='banner__content'] > *{
background: rgba(255,255,255,0.2)
}
}
it should move the button inside the slideshow and fix the problem.
Kind regards,
Diego
I’m having same problem currently
Hi @ARebel
Did you try the codes above? If its not working, please share your store URL. Thanks!

