I need help reducing the padding on Shopify Empire theme. The top picture is slideshow, and the bottom picture is just a custom HTML that has the image. It is worse on Mobile as you can see.
Thank you in advance
Desktop
Mobile.
Goal: Reduce excessive padding/spacing around a slideshow and a custom HTML image in the Shopify Empire theme, especially on mobile.
Key context: The issue appears between a slideshow section (top) and a custom HTML section (bottom). Screenshots for desktop and mobile illustrate large gaps; a follow-up screenshot shows the fix.
Solution provided: Add CSS to theme.css to remove unwanted spacing:
Outcome: The updated CSS visibly reduces the padding/gap (confirmed by the after screenshot). The original poster confirmed the fix worked.
Status: Resolved. No further changes or open questions noted.
Notes: Images (before/after) are central to understanding the visual spacing issue and its resolution.
I need help reducing the padding on Shopify Empire theme. The top picture is slideshow, and the bottom picture is just a custom HTML that has the image. It is worse on Mobile as you can see.
Thank you in advance
Desktop
Mobile.
Add this code in your theme.css file:
.custom-html--container, .custom-liquid--container {
margin-top: 0 !important;
}
section.custom-html--container img {
margin-bottom: 0 !important;
}
Result:
Absolutely amazing. Thank you so much.