Jump to content

Adjust padding on PRODUCT PAGE GRID between products MOBILE

Go to solution Solved by Web_Solutions,

Recommended Posts

Hello!
I am trying to adjust the spacing between products on MOBILE. 

1. Move the Add to Bag button up, closer to the image and tittle

2.Adjust padding (marked in red) between product/images

3. Lastly, is it possible to also adjust the sapcing between the bottom of each image and the Product title 

Thanks in advance!Screenshot2023-11-20at06_43_32.thumb.png.c34b633773fad44a31050086d30f2e80.png

Link to comment
  • Replies 6
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

41 minutes ago, LucyBold said:

@tuanphan

Here it is: https://www.lacalifornie.es/all/furniture
Thanks for looking into this!

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

@media screen and (max-width: 767px) {
    .products.collection-content-wrapper .list-grid {
        grid-column-gap: 6vw;
        grid-row-gap: 10vw;
    }
    .products.collection-content-wrapper .list-grid .sqs-add-to-cart-button, .products.collection-content-wrapper .grid-item {
        margin: 0 !important;
    }
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
  • Solution
58 minutes ago, LucyBold said:

Thanks @Web_Solutions, already applied your code, looking good!
Can i also adjust the side padding of the colums? See attachment image.thumb.jpeg.66eafd4fdc0042e5f0f5dd237c11681d.jpeg

Replace the previous code with the code below

@media screen and (max-width: 767px) {
    .products.collection-content-wrapper .list-grid {
        grid-column-gap:3vw;
        grid-row-gap: 16vw
    }

    .products.collection-content-wrapper .list-grid .sqs-add-to-cart-button,.products.collection-content-wrapper .grid-item {
        margin: 0 !important;
    }
    .tweak-products-width-full .products.collection-content-wrapper {
        padding-left: 3vw !important;
        padding-right: 3vw !important;
    }
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.