Increase space between products and left border

Solved

Increase space between products and left border

ChrisM187
Tourist
29 0 15

Hello, I am trying to increase the padding / distance between the far left product and the end of the browser screen, aswell as the spacing between the products perhaps.

shopify help.png

I am unsure how to do it.
I am using the Dawn Theme!

Thank you in advance!

 

Accepted Solution (1)
BSS-TekLabs
Shopify Partner
2322 688 809

This is an accepted solution.

<style>
@media only screen and (min-width: 600px) {
.card.card--standard.card--media {
    padding: 0px 10px !important;
}
.grid {
        margin-left: 40px !important;
margin-right: 40px !important;
    }
}
</style>

Please repalce to this code @ChrisM187 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

BSSTekLabs_0-1726925709637.png

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 12 (12)

BSS-TekLabs
Shopify Partner
2322 688 809

Hello @ChrisM187 
Our team is ready to help you.
Please share your website URL so that we can check and assist you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
ChrisM187
Tourist
29 0 15

Hello, my shop URL is: https://trinitysneakers.com/
thank you in advance!

BSS-TekLabs
Shopify Partner
2322 688 809

- Here is the solution for you @ChrisM187 
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it

 

<style>
@media only screen and (min-width: 600px) {
.card.card--standard.card--media {
    padding: 0px 5px !important;
}
}
</style>

 

- Here is the result you will achieve:

BSSTekLabs_0-1726924291733.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2322 688 809

Increase 5px to a larger number if you want more spacing @ChrisM187 .

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
ChrisM187
Tourist
29 0 15

Thank you, that helped! But is it possible to have a different space from the left border and a separate space between the products themselves?

BSS-TekLabs
Shopify Partner
2322 688 809
<style>
@media only screen and (min-width: 600px) {
.card.card--standard.card--media {
    padding: 0px 10px !important;
}
.grid {
        margin-left: 40px !important;
    }
}
</style>

You can try this code @ChrisM187 

BSSTekLabs_0-1726925356495.png

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
ChrisM187
Tourist
29 0 15

Great! Thank you very much!
Now the right border does not have the same distance to the far right product as the left side, is it possible to somehow change that aswell?
I'm apologize for the many questions..

ChrisM187_0-1726925562482.png

 

BSS-TekLabs
Shopify Partner
2322 688 809

This is an accepted solution.

<style>
@media only screen and (min-width: 600px) {
.card.card--standard.card--media {
    padding: 0px 10px !important;
}
.grid {
        margin-left: 40px !important;
margin-right: 40px !important;
    }
}
</style>

Please repalce to this code @ChrisM187 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

BSSTekLabs_0-1726925709637.png

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
ChrisM187
Tourist
29 0 15

This is perfect!  Thank you very much for all the help!

BSS-TekLabs
Shopify Partner
2322 688 809

Glad to help you. Have a good day @ChrisM187 .

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Moeed
Shopify Partner
5319 1436 1721

Hey @ChrisM187 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (min-width: 768px) {
.grid {
    margin-left: 100px;
    gap: 3rem !important;
}
}
</style>

RESULT:

Moeed_0-1726924598649.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


ChrisM187
Tourist
29 0 15

Thank you for your reply, but now i have the problem that the products are showing weirdly and not in a sorted way. i tried playing around with the 100px but it didnt change much.

ChrisM187_0-1726925069069.png