Solved

How can I remove the automatic blank space between sections?

Rupert22
Excursionist
62 0 6

Hi,

 

how to delete this blank space between two sections? Its not bottom or upper padding. This theme gives this blank spaces automatically under every section. Please help

 

Web: https://nexaco.co/

 

prblm-1a.pngprblm-1b.png

RuppJou
Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6047 1451 1789

This is an accepted solution.

Hi @Rupert22 

The default size of the spaces between sections top n bottom are margin 75px and the mobile is 40px. 

If you like to decrease, 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:

 

 

.index-section {
    margin: 20px 0;
}
@media only screen and (ax-width: 769px) {
.index-section {
    margin: 10px 0;
}
}

 

 

And Save. 

Result:

Made4uoRibe_0-1712075457421.pngMade4uoRibe_1-1712075466008.png

 

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
6047 1451 1789

This is an accepted solution.

Hi @Rupert22 

The default size of the spaces between sections top n bottom are margin 75px and the mobile is 40px. 

If you like to decrease, 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:

 

 

.index-section {
    margin: 20px 0;
}
@media only screen and (ax-width: 769px) {
.index-section {
    margin: 10px 0;
}
}

 

 

And Save. 

Result:

Made4uoRibe_0-1712075457421.pngMade4uoRibe_1-1712075466008.png

 

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


Rupert22
Excursionist
62 0 6

That was great answer; thanks a lot!

RuppJou
Rupert22
Excursionist
62 0 6

I noticed it changed margins in my whole theme, can i apply it only to this margin between those 2 sections, please?

RuppJou