Hello friends, how can I minimize the padding in this section? top and bottom.
Topic summary
A user needed help reducing the top and bottom padding in a specific section of their Shopify store, as shown in their screenshot.
Solution provided:
- Navigate to Online Store → Theme → Edit code
- Open the theme.liquid file
- Insert custom CSS code before the closing
</body>tag
The CSS targets:
- Collection title wrapper margins
- Slider and heading margins
- Section padding-bottom (reduced to 5px)
The solution successfully resolved the padding issue, with the user confirming it worked as intended.
Hello @NikosBat
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.
1 Like
Hello Tech_Coding, thank you that has solved my problem

