Shopify themes, liquid, logos, and UX
Code someone create some code for me to reduce the spacing between these rich text sections?
Solved! Go to the solution
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:
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!
Hey Nadine10,
Can you provide a link to your website so I can have a look what is causing the issue?
Thanks!
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:
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!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025