Increase spacing between product images (Dawn theme)

Solved

Increase spacing between product images (Dawn theme)

bellevo
Pathfinder
91 0 24

Hey, is it possible to increase padding between product images on collection page for both mobile & desktop view?

 

my store url: bellevodesign.com

 

The issue:

IMG_5258.jpeg

 Desired outcome:

IMG_5257.jpeg

 

 

Accepted Solution (1)

Anshul_arora
Navigator
453 129 105

This is an accepted solution.

Hello @bellevo,

I understand you are looking to provide spacing between product listings.

Please add below mentioned CSS code at the bottom of the theme.liquid file before </body> tag and save.

[This code helps you to provide spacing between product images in both mobile and desktop view.]

<style>

li.grid__item.scroll-trigger.animate--slide-in {
padding-left: 13px !important;
}

</style>



Output -:

Anshul_arora_0-1714635990320.png

Anshul_arora_1-1714636047853.png

 

I hope the code helps you

Please share if you have any queries.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here

View solution in original post

Replies 2 (2)

Anshul_arora
Navigator
453 129 105

This is an accepted solution.

Hello @bellevo,

I understand you are looking to provide spacing between product listings.

Please add below mentioned CSS code at the bottom of the theme.liquid file before </body> tag and save.

[This code helps you to provide spacing between product images in both mobile and desktop view.]

<style>

li.grid__item.scroll-trigger.animate--slide-in {
padding-left: 13px !important;
}

</style>



Output -:

Anshul_arora_0-1714635990320.png

Anshul_arora_1-1714636047853.png

 

I hope the code helps you

Please share if you have any queries.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
bellevo
Pathfinder
91 0 24

Worked perfectly, thank you!