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
6441 1546 1917

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.

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
6441 1546 1917

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.