All things Shopify and commerce
Hi everyone,
I have a problem with the product cards inside my collection page. How Can I adjust the spacing in the desktop view without altering the spacing in my mobile view. See photo for reference.
Store Preview Link: https://bgtz765ufz7gbbgl-13830324282.shopifypreview.com
Solved! Go to the solution
This is an accepted solution.
Hi @IntechCarl
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
@media (min-width: 990px) {
li.grid__item.scroll-trigger.animate--slide-in {
margin: 0 6px !important;
}
}
Hi @IntechCarl
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
li.grid__item.scroll-trigger.animate--slide-in {
margin: 0 6px !important;
}
Result
Best,
Liz
Hi @LizHoang Does it only affect the desktop view? Because I only want the desktop view to have the spacing.
This is an accepted solution.
Hi @IntechCarl
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
@media (min-width: 990px) {
li.grid__item.scroll-trigger.animate--slide-in {
margin: 0 6px !important;
}
}
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025