Reduce spacing between sections

Solved

Reduce spacing between sections

Nadine10
Excursionist
52 0 7

Code someone create some code for me to reduce the spacing between these rich text sections?

 

Screenshot 2024-05-01 at 16.36.22.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9846 2342 2937

This is an accepted solution.

Hi @Nadine10 

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:

 

@media (min-width: 38em) {
    .section.section--spacing-regular {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

 

And save. 

Result:

Made4uoRibe_0-1714581595177.png

Note: The before sizes of the padding before changes are 80px.

 

 

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

Hedef_Agency
Shopify Partner
6 2 1

Hey Nadine10,

Can you provide a link to your website so I can have a look what is causing the issue?

Thanks!

Was i helpful? Buy me a Coffee!
Want to hire me? get in touch at hedef.agency

Made4uo-Ribe
Shopify Partner
9846 2342 2937

This is an accepted solution.

Hi @Nadine10 

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:

 

@media (min-width: 38em) {
    .section.section--spacing-regular {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

 

And save. 

Result:

Made4uoRibe_0-1714581595177.png

Note: The before sizes of the padding before changes are 80px.

 

 

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.