How can I remove spaces between sections on my new online store?

Solved

How can I remove spaces between sections on my new online store?

RowanV
Tourist
3 0 4

Hello everyone,

 

Between the sections on my new Shopify store I have space I would like to get rid of. I searched the problem on the forum but every solution is specific to that team, so those don't work for me.

 

RowanV_1-1702581266582.png

 

Can someone help me fix this problem? I would really appreciate it!

 

Thanks in advance.

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
10036 2386 3012

This is an accepted solution.

Thanks for the info, check this one.

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

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, .section+.section {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

 

And Save.

Result:

Made4uoRibe_0-1702584068053.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 4 (4)

Made4uo-Ribe
Shopify Partner
10036 2386 3012

Hi @RowanV 

Would you mind to share your Store URL website? with password if its unpublish. 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.
RowanV
Tourist
3 0 4

Hello, thanks for your quick reply.

 

Store URL:

Store Password:

Made4uo-Ribe
Shopify Partner
10036 2386 3012

This is an accepted solution.

Thanks for the info, check this one.

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

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, .section+.section {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

 

And Save.

Result:

Made4uoRibe_0-1702584068053.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.
RowanV
Tourist
3 0 4

Exactly what I needed! Thank you very much, fixed it for me.