Remove spacing between header and main content and also between the main content in footer.

Solved

Remove spacing between header and main content and also between the main content in footer.

nlhill1990
Tourist
9 0 1

There is some spacing as mentioned above which I can't seem to get rid of. It doesn't match the background of the rest of the theme and I have already tried editing the code as suggested in other posts for the same issue but this doesn't seem to work. 

 

nlhill1990_0-1740574403697.png

 

nlhill1990_1-1740574440802.png

 

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
10211 2427 3082

This is an accepted solution.

Thanks for the info, try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.section-header {
        margin-bottom: 0 !important;
    }

.section+.section {
    margin: 0 !important;
    
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1741192116560.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.

View solution in original post

Replies 8 (8)

topnewyork
Astronaut
1539 189 250

Hi @nlhill1990  , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
nlhill1990
Tourist
9 0 1

Hi, it is lvere.co.uk

LizHoang
Shopify Partner
1251 159 195

Hi @nlhill1990 , can you share store url?

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program

Made4uo-Ribe
Shopify Partner
10211 2427 3082

Hi @nlhill1990 

Please, share your store URL. 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.

nlhill1990
Tourist
9 0 1

Store URL is lvere.co.uk

Made4uo-Ribe
Shopify Partner
10211 2427 3082

This is an accepted solution.

Thanks for the info, try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.section-header {
        margin-bottom: 0 !important;
    }

.section+.section {
    margin: 0 !important;
    
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1741192116560.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.
nlhill1990
Tourist
9 0 1

Great - that worked! Thank you so much.

nlhill1990
Tourist
9 0 1

Password is candlesub