All things Shopify and commerce
Hi everyone,
I wanted to remove the spacing between my product cards, I have tried all the solutions from the same questions here but it doesn''t work. Store Preview Link:https://9eb4pjpcsal1k5pr-13830324282.shopifypreview.com
here is the photo for reference:
Solved! Go to the solution
This is an accepted solution.
Hi @IntechCarl
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ
Here is the code for Step 3:
{% style %}
@media screen and (max-width: 768px) {
.collection li {
border-top: unset !important;
border-bottom: unset !important;
}
}
{% endstyle %}
Please let me know if it works. Thank you!Best,
Daisy - Avada Support Team.
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 only screen and (max-width: 750px) {
.collection li {
border-top: unset !important;
border-bottom: unset !important;
}
}
Result:
Best,
Liz
@LizHoang Thank you for your response, but I think you removed the border lines, not the space?
I don't want to remove the border only the white space between them.
The space highlighted in this photo is what I want to remove
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
.card__information {
padding-bottom: 0 !important;
}
li.grid__item.scroll-trigger.animate--slide-in {
padding-top: 0 !important;
}
Result
Best,
Liz
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 only screen and (max-width: 750px) {
ul.product-grid {
gap: 0!important;
}
}
If this helpful, please let us know by giving us a like and marking its as a solution. Thanks you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
This is an accepted solution.
Hi @IntechCarl
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ
Here is the code for Step 3:
{% style %}
@media screen and (max-width: 768px) {
.collection li {
border-top: unset !important;
border-bottom: unset !important;
}
}
{% endstyle %}
Please let me know if it works. Thank you!Best,
Daisy - Avada Support Team.
Shopify 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, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025