Hi, I have some fairly unattractive white space padding between sections in motion theme. Curious how to reduce (especially for rich text sections)?
Topic summary
Issue: Excessive white space between sections in the Motion Shopify theme, especially in Rich Text sections. Goal is to reduce and standardize vertical spacing.
Progress and actions:
- Store URL shared (âmysterywild dot comâ) after requests for access details.
- Proposed fix: add CSS to reduce section margins using a media query:
⢠@media (min-width: 590px) { .index-section { margin: 50px 0 !important; } } - Initial instruction referenced base.css; merchant reported that file didnât exist. Guidance updated to place the CSS in theme.css instead.
- Merchant confirmed the CSS approach works.
Open question:
- How to standardize top and bottom padding for all sections siteâwide (no concrete solution provided yet). Another suggestion to add code in theme.liquid lacked actual code content.
Other notes:
- One off-topic promotional reply recommended an app unrelated to spacing.
Status: Partially resolved. White space reduced via custom CSS in theme.css; standardizing section padding across the site remains unanswered/ongoing.
Hi @projectsbydel , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
Hello @projectsbydel
Please share your store URL and password.
So that I will check and let you know the exact solution here.
mysterywild dot com
Hello @projectsbydel
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > base.css and paste this at the bottom of the file:
@media only screen and (min-width: 590px) {
.index-section {
margin: 50px 0!important;
}
}
- Go to Online Store â Theme â Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before
thanks, unfortunately shopify is down so ill have to try again later.
i do not have a âbase.cssâ file in Asset Folder.
Hello @projectsbydel ,
You can add CSS to the theme.css file.
Ok this is working. How would i standardize the top and bottom padding for all sections?
After reviewing your store, my suggestion is to install Big Bulk Discount to boost your average order value. Our app adds tiered discounts, encouraging larger purchases and driving more revenue with minimal effort. Start increasing sales today! https://apps.shopify.com/big-bulk-discount