Ptphotography Posted January 12, 2021 Posted January 12, 2021 Hello, I hope everyone is doing well. Can anyone please help me with the code to remove the space between the product images. https://ptphotography.squarespace.com/destination-trial Thank you in advance, K
creedon Posted January 12, 2021 Posted January 12, 2021 Add the following to Design > Custom CSS. @media screen and ( min-width: 768px ) { .products.collection-content-wrapper .list-grid { grid-column-gap: 0; column-gap: 0; grid-row-gap: 0; } } @media screen and ( max-width: 767px ) { .products.collection-content-wrapper .grid-item { margin-bottom: 0; } } Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
Ptphotography Posted January 12, 2021 Author Posted January 12, 2021 12 minutes ago, creedon said: Add the following to Design > Custom CSS. @media screen and ( min-width: 768px ) { .products.collection-content-wrapper .list-grid { grid-column-gap: 0; column-gap: 0; grid-row-gap: 0; } } Let us know how it goes. Thank you @creedon, this made me happy! Your code work as always. Last thing, you also help me the code to apply the same effect on mobile? I tried the code below but it didn't work 😅 @media only screen and (max-width: 600px) { .products.collection-content-wrapper .list-grid { grid-column-gap: 0; column-gap: 0; grid-row-gap: 0; } }
creedon Posted January 12, 2021 Posted January 12, 2021 Updated my code. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
Ptphotography Posted January 12, 2021 Author Posted January 12, 2021 2 hours ago, creedon said: Updated my code. Thanks @creedon
Recommended Posts
Archived
This topic is now archived and is closed to further replies.