How do I reduce the space between these two secitons

Solved

How do I reduce the space between these two secitons

CameronO
Excursionist
47 1 23

Hello, I'm trying to reduce the space between the product section bottom padding, it is too large. My store url is https://03nkpv-tm.myshopify.com/ Thank you in advance for your help.

CameronO_0-1733743460349.png

 

Accepted Solution (1)

Moeed
Shopify Partner
6591 1784 2166

This is an accepted solution.

Hey @CameronO 

 

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>
.page-content--product {
    padding-bottom: 0 !important;
}
div#shopify-section-template--24040010645837__text_columns_Dt6kFP {
    margin-top: 10px !important;
}
</style>

RESULT:

Moeed_0-1733743930713.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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
6591 1784 2166

This is an accepted solution.

Hey @CameronO 

 

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>
.page-content--product {
    padding-bottom: 0 !important;
}
div#shopify-section-template--24040010645837__text_columns_Dt6kFP {
    margin-top: 10px !important;
}
</style>

RESULT:

Moeed_0-1733743930713.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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


CameronO
Excursionist
47 1 23

Thank you so much, is there a way to add this to the custom css section?

 

Moeed
Shopify Partner
6591 1784 2166

One part of the code that I provided won't work in the custom css section so just simply follow the steps which I mentioned and then it should be good to go.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


DaisyVo
Shopify Partner
2754 327 377

Hi @CameronO 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

@media screen and (max-width: 768px){
div.shopify-section:has(.product-section) + div {
    margin-top: 0 !important;
}
div.shopify-section:has(.product-section)  .page-content.page-content--product {
    padding-bottom: 0 !important;
}
}

 

Here is the result: https://prnt.sc/jSPVpYmPMhdR
 
I hope this helps
 
Best,
 
Daisy

 

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