How do I reduce the space between these two secitons

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.

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 tag


RESULT:

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

Best Regards,
Moeed

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

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

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