Solved

Reduce spacing between sections

Nadine10
Excursionist
44 0 5

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
6047 1453 1791

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!

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 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
6047 1453 1791

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!

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