A Shopify store owner using the Symmetry theme wanted to remove white space between product gallery images arranged in a 2-column layout, making them touch each other like on a reference website (Scuffers).
Initial Problem:
Successfully removed vertical padding between images using custom CSS
Needed to eliminate horizontal spacing between side-by-side images
Solution Process:
First CSS fix provided by DaisyVo removed left margins:
.slideshow.product-slideshow > div {
margin-left: 0 !important;
}
This created a secondary issue where the first image appeared oversized and misaligned the second image
Made4uo-Ribe provided additional CSS to fix the first image sizing:
Resolution:
Both CSS snippets combined successfully achieved the desired layout with images touching both horizontally and vertically. The issue was marked as solved.
Summarized with AI on November 2.
AI used: claude-sonnet-4-5-20250929.
Coding I used to remove the white padding underneath)
Hey there,
First of all, I am on symmetry theme. I would like my image gallery to be 2 pictures next to each other, like it is right now. But I want to remove the spacing in between the pictures so that they touch each other. How do I do this? I guess some simple code? (see scuffers website as a reference of the image layout).
I have done it already to remove the white padding underneath to touch each other where I used this code.
Thanks Daisy, it almost works perfectly/ Only little bug there is now is the first image that does not seem to be responding and is bigger then it is supposed to be. See screenshots. And because of that, the second picture does not align properly. Do you have a solution for this as well? I would appreciate it so much
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 “base.css, style.css or theme.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: