Solved

Increase vertical padding between product cards

MaBa
Explorer
115 1 16

Hi, i would like to have more space between products cards. In the mobile view I have one product per raw but the space between products is too small. How can I increase it?

Accepted Solution (1)
PageFly-Richard
Shopify Partner
4226 957 1603

This is an accepted solution.

@MaBa 

try again with this code:

Go to Online Store->Theme->Edit code->theme.liquid->paste bellow code in tag </body>

 

<style>

@media screen and (max-width: 767px){

.grid__item {

    margin-bottom: 40px !important;

}

}

</style>

 

Please refer to this screenshot: https://prnt.sc/afpBHc_RJbvN

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 9 (9)

oscprofessional
Shopify Partner
15846 2371 3074

Hello @MaBa 

Could you share the store URL so that I can review your it?

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
MaBa
Explorer
115 1 16
https://571d01.myshopify.com/

The website is in the making and I want to make the change in the mobile
version
PageFly-Richard
Shopify Partner
4226 957 1603

Hi @MaBa 

I’m Richard Nguyen from PageFly- Free Landing Page Builder

 

You can try with this code.

Follow this:

Go to Online Store->Theme->Edit code->base.css ->paste bellow code in bottom of file

 

@media screen and (max-width: 767px){

.grid__item {

    margin-bottom: 40px !important;

}

}

 

Hope that my solution works for you.

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

MaBa
Explorer
115 1 16

I copied it but I see no changes yet

PageFly-Richard
Shopify Partner
4226 957 1603

do you mean increase the distance between these products?

RichardNguyen_0-1665822413243.png

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

MaBa
Explorer
115 1 16

yes exactly

PageFly-Richard
Shopify Partner
4226 957 1603

This is an accepted solution.

@MaBa 

try again with this code:

Go to Online Store->Theme->Edit code->theme.liquid->paste bellow code in tag </body>

 

<style>

@media screen and (max-width: 767px){

.grid__item {

    margin-bottom: 40px !important;

}

}

</style>

 

Please refer to this screenshot: https://prnt.sc/afpBHc_RJbvN

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

oscprofessional
Shopify Partner
15846 2371 3074

Hello @MaBa 

It will be helpful if you try this code: -

Go to the Online store > Theme -> Edit Code -> Assets -> base.css ->Add CSS in this file.

@media only screen and (max-width: 768px){
.grid--1-col-tablet .grid__item {
 width: 100%
}
}

 

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
MaBa
Explorer
115 1 16

I copied the code at the end of the file but cannot see any changes.