Remove Whitespace

Solved

Remove Whitespace

SamiGiftsi
Excursionist
20 0 3

Hiya,

I am looking to remove some whitespace from my homepage but unsure how to go about it. My website is www.thefavourstudio.co.uk

Firstly the white space below the banner near the top
e82d08d7fe02c5a3dd49903136945a8d.png

the space below all of the 'View All' Buttons
8013b3b98972f2d430447b1d22a328bd.png



The space below the 2nd banner further down the page.
fa6cafe52bbde42f4212239939b7b58b.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
7705 1860 2276

This is an accepted solution.

Yes, only as you mention. Each section you have 55px each bottom and top. if you like all section will lesser the padding check ths code below. 

 

div#shopify-section-collection hr.hr--invisible {
    margin: 20px;
}
@media only screen and (min-width: 750px) {
    .index-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

 

And save. 

The margin is from the collection from the view all buttons. 

 

 

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.

View solution in original post

Replies 8 (8)

Moeed
Shopify Partner
4951 1309 1592

Hey @SamiGiftsi 

 

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>
div#shopify-section-collection_list_ccGf9h {
    padding-top: 0 !important;
}
div#shopify-section-hero_8ne4QL {
    padding-bottom: 10px !important;
}
</style>

RESULT:

Moeed_0-1724876481991.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
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
SamiGiftsi
Excursionist
20 0 3

Thanks ever so much for a speedy response.

This has removed the white space from below the banner at the top but the white space under the banner further down the page and above/below the 'View all' buttons remain to still be there?

Moeed
Shopify Partner
4951 1309 1592

Hey @SamiGiftsi 

 

Keep the previous code and add this new code above </style> in the end of theme.liquid file.

hr.hr--invisible {
    margin: 15px 0 !important;
}

 

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
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
SamiGiftsi
Excursionist
20 0 3

Thank you - Is it possible to remove the white from the following parts too? I am trying to limit how much wasted white space there is between sections.

f41044268f8ccec0fb754d3c75646f3a.png

 

 

e2bc1a697592dfc6f20cfd340fa52ec8.png

 

 

 

fa1264496dbdd4b50f84d918374f85ef.png

 

 

 

8b116005f463aacd4e0c7f9570709187.png

 

 

 

4f013fa2fc201094c8e9fe14c99d3454.png

 

 

 

 

f847abcb3332500cd00f0fac3f85d739.png

Made4uo-Ribe
Shopify Partner
7705 1860 2276

Hi @SamiGiftsi 

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.

 

div#shopify-section-hero_8ne4QL, div#shopify-section-hero_yD6pWA {
    padding-bottom: 0px;
}
div#shopify-section-collection hr.hr--invisible {
    margin: 20px;
}

 

And save. 

result:

Made4uoRibe_0-1724876837832.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.
SamiGiftsi
Excursionist
20 0 3

Hiya, This only seems to adjust the white around this one section not the others?

Made4uo-Ribe
Shopify Partner
7705 1860 2276

This is an accepted solution.

Yes, only as you mention. Each section you have 55px each bottom and top. if you like all section will lesser the padding check ths code below. 

 

div#shopify-section-collection hr.hr--invisible {
    margin: 20px;
}
@media only screen and (min-width: 750px) {
    .index-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

 

And save. 

The margin is from the collection from the view all buttons. 

 

 

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.
SamiGiftsi
Excursionist
20 0 3

Thanks, I did ask in my original post about removing it from the Top Banner, The View All and the Bottom Banner.
This has worked, thanks again!