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!
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025