I want to make the space between rows on collection page larger on both mobile and desktop, any idea how to target this?
https://afca7f-2.myshopify.com, pw: outdoors
A user seeks to increase the vertical spacing between product rows on their Shopify collection page for both mobile and desktop views.
Two CSS solutions were provided:
First approach (Made4uo-Ribe):
.collection__products {
row-gap: 50px !important;
}
Alternative approach (PageFly-Henry):
.list-collections__grid {
grid-column-gap: 50px !important;
}
Both solutions involve adding custom CSS to adjust spacing. The pixel value (50px) can be adjusted based on desired spacing. The discussion remains open with no confirmation of which solution the user implemented.
I want to make the space between rows on collection page larger on both mobile and desktop, any idea how to target this?
https://afca7f-2.myshopify.com, pw: outdoors
Hi @blakelyhi
Check this one.
.collection__products {
row-gap: 50px !important;
}
And save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @blakelyhi
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file → Save
.list-collections__grid {
grid-column-gap: 50px !important;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly