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 5 (5)

websensepro
Shopify Partner
1879 224 267

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

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
DGQs
Tourist
15 0 3

dgqs.myshopify.com. 

password is damngood

 

websensepro
Shopify Partner
1879 224 267

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/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP
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.

Made4uo-Ribe
Shopify Partner
10133 2404 3038

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.