how to remove the spacing between product cards in my product collection pages Dawn theme

Solved

how to remove the spacing between product cards in my product collection pages Dawn theme

IntechCarl
Shopify Partner
194 1 20

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:

IntechCarl_0-1740113413326.png

 

Accepted Solution (1)

DaisyVo
Shopify Partner
4275 467 560

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.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

View solution in original post

Replies 6 (6)

LizHoang
Shopify Partner
1250 158 196

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: 

LizHoang_0-1740114070452.png

 

Best,

Liz

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program
IntechCarl
Shopify Partner
194 1 20

@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.

IntechCarl
Shopify Partner
194 1 20

The space highlighted in this photo is what I want to remove

IntechCarl_0-1740121763863.png

 

LizHoang
Shopify Partner
1250 158 196

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

LizHoang_0-1740123399739.png

 

Best,

Liz

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program

B2Bridge
Excursionist
320 64 80

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;
    }
}

 

Screenshot_4.png

 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.

DaisyVo
Shopify Partner
4275 467 560

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.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution