A user is experiencing a grey background and large gap appearing on their image slideshow in the Dawn theme, particularly visible on mobile devices. The issue occurs intermittently when custom CSS is applied to hide the carousel on smaller screens and make images responsive.
Troubleshooting attempts:
Initial suggestion to add background-color: #fff; to .carousel or inspect the grey area to identify the correct element
User shared their Shopify store URL for direct inspection
The problematic CSS was temporarily removed, making diagnosis difficult
Proposed solution:
Add display: flex; to .slide-image class via the theme.liquid file under the <style> tag. The user prefers working directly in the section CSS field editor rather than editing theme files.
Current status:
The discussion remains open with the user seeking clarification on whether the proposed CSS fix can be implemented in the section CSS field instead of theme.liquid.
Summarized with AI on October 30.
AI used: claude-sonnet-4-5-20250929.
I am getting a grey backgoud on the image slideshow and big gap. I appreciate your help on fixing this issue. This is the code and screen shot:
/* Hide carousel on screens smaller than 749px / @media (max-width: 749px) {
.carousel {
display: none;
}
} / Ensure images are responsive /
.carousel img {
width: 100%; / Make the image fill its container /
height: auto; / Maintain aspect ratio /
max-width: 100%; / Prevent the image from exceeding its natural size /
display: block; / Remove extra space below the image */
}
Try setting background-color: #fff; (or to your preferred color) on .carousel. If that does not work, inspect the grey area to know what element/class to target with your preferred color.
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution