i wanna remove some padding on my home page from here
Topic summary
Goal: reduce excess spacing on the homepage’s Featured Collections area (user called it padding, solutions adjust top margin).
Proposed solutions (all via theme edits):
- Narrow, section-specific CSS (theme.css/base.css): .shopify-section–featured-collections .section { margin-top: 10px; } (variant also with 5px). Minimal impact outside this section.
- Page-specific override in theme.liquid (before ): target a specific section ID and set margin-top: -37px !important. Strong, highly targeted change using a negative margin.
- Global override (theme.css/base.css): .section { display: block; margin: 0 !important; }. Broadest scope; may remove margins across all sections sitewide.
Implementation steps consistently advised: Online Store → Themes → Edit code → edit theme.css/base.css or theme.liquid.
Evidence of effect: multiple before/after screenshots attached are central to understanding the visual change.
Status: no confirmation from the original poster, no accepted solution marked. Key open point: which selector/scope best fits without unintended site-wide side effects.
Hi @Emiway1
You can achieve this by adding this CSS code:
You just need to follow these steps:
- Go to the Online Store
- Edit Code
- Find theme.css / base.css
And past that CSS Code:
.shopify-section--featured-collections .section {
margin-top: 10px;
}
The result will be like this:
I hope this solution works for you!
If it does, please Like It and Mark It As A Solution, or support me by Buying Me A Coffee to keep me going!
Hello @Emiway1
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Result:
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hello @Emiway1
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > theme.css and paste this at the bottom of the file:
.shopify-section--featured-collections .section {
margin-top: 5px;
}
Hello, @Emiway1
- Go to Online Store
- Edit Code
- Find theme.css/base.css file
- Add the following code in the bottom
.section {
display: block;
margin: 0px !important;
}
Thanks!



