Remove empty spaces between all my sections

Remove empty spaces between all my sections

DGQs
Tourist
15 0 3

Hi there,

 

I would like to remove all the white/empty spaces between my sections. I know how to play around with the padding, but I have spaces regardless. I'll show you a picture of what I want it to look like & what I currently have. I am using the Crave Theme. 

 

Screenshot 2024-09-13 at 11.44.32.pngScreenshot 2024-09-13 at 11.45.01.png

Replies 8 (8)

websensepro
Shopify Partner
1214 135 156

Hi @DGQs , kindly share your store URL please. Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial
DGQs
Tourist
15 0 3

dgqs.myshopify.com. 

password is damngood

 

websensepro
Shopify Partner
1214 135 156

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

<style>
media screen and (min-width: 750px) {
    .section+.section {
        margin-top: 0 !important;
    }
}
@media screen and (min-width: 750px) {
    .section-template--22698118512977__collection_list_6w4DCG-padding {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
</style>

 

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial

Sangeetanahar
Explorer
541 36 69

hello @DGQs 

can you please share your website Url

thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here

Sangeetanahar
Explorer
541 36 69

hello @DGQs 

I am getting confused, there is space in that section on your desktop, do you need to remove that or do it on your mobile

thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here
DGQs
Tourist
15 0 3

I want to remove it between the different sections, so no more space. I want it all to flow into each other as if it's pictures stacked on top of each other.

Sangeetanahar
Explorer
541 36 69

hello @DGQs 

Go to online store ----> themes ----> actions ----> edit code ---->assets ----> base.css...>
add the code end of the file

media screen and (min-width: 750px) {
    .section+.section {
        margin-top: 0 !important;
    }
}
@media screen and (min-width: 750px) {
    .section-template--22698118512977__collection_list_6w4DCG-padding {
        padding-top: 0;
        padding-bottom: 0;
    }
}

thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here

Made4uo-Ribe
Shopify Partner
8230 1975 2419

Hi @DGQs 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.shopify-section.section {
    margin-top: 0;
}

 

And Save. 

result:

Made4uoRibe_0-1726225077490.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.