Remove extra spacing between different containers / sections,

Remove extra spacing between different containers / sections,

usmekhan91
Shopify Partner
42 0 11

Hi Community,

I am puzzled to remove extra spacing between containers / sections, I had tried every option but unable to remove it. Can you help me in this regards?

URL: https://qcam90oia206z7jv-61554688170.shopifypreview.com/

Theme: Glozin version 1.8.1

aasdasd.jpg

 

aasdasd.jpg

Replies 4 (4)

Moeed
Shopify Partner
7346 1992 2430

Hey @usmekhan91 

 

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>
#MainContent section:not(:last-child) .section:not(.remove_spacing) {
    margin-bottom: 0 !important;
}
</style>

RESULT:

Moeed_0-1743752242496.png

 

If I managed to solve your problem 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


Bundler-Manuel
Astronaut
944 47 109

Hey @usmekhan91  You should try out the following steps and you’d be able to reduce the extra space between the sections

  1. Log in to your Shopify admin panel.

  2. Click on Online Store and then Themes.

  3. On the right-hand side, click Customize for the theme you want to edit.

  4. In the left-hand side navigation, click Theme settings.

  5. Scroll down to the Custom CSS section.

  6. Paste the CSS code below in the box.

.index-section {
  margin: 0px 0;
}
  1. You can adjust the px value above, then click Save.

Feel free to update me on this if it works for you. 

Emmanuel
Please let me know if it works by marking it as a solution!
Bundler - Product Bundles app, a great bundle app for Shopify, with glowing user testimonials and a free plan.

Dan-From-Ryviu
Shopify Partner
11537 2258 2441

Hi @usmekhan91 

You try to find and remove it from your store admin > Sales channels > Online Store > Themes > Customize > Theme settings > Layout, check and reduce section padding option

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

GTLOfficial
Shopify Partner
828 171 187

Hello @usmekhan91
Go to online store ----> themes ----> actions ----> edit code ----> theme.css
add this code at the end of the file and save.

#MainContent section:not(:last-child) .section:not(.remove_spacing) {
margin-bottom: 0px !important;
}

result
93.png

Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh