Hello friends, how can I minimize the padding from those 2 sections? I want the button to appear a little more to the top. The first section is an image-banner and the second is a rich text with a button.
Hi @NikosBat
To complete your requests, please follow these steps:
- Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
- Paste the code provided into the Custom CSS section.
section#shopify-section-template--22328067621196__rich_text_B6PpkH {
margin-top: -30px !important;
}
Here is the result:
I hope this helps
Best,
Daisy
1 Like
Hello @NikosBat
#shopify-section-template--22328067621196__rich_text_B6PpkH {
margin-top: -30px !important;
}
If its helpful Hit Like button & Accept as solution Thanks
1 Like
Hello DaisyVo, I get the error that this code canβt be published when I try to save it
@NikosBat Can you give me screenshot ?
Hi @NikosBat
Please try again with this
Step 1: Go to Shopify Admin β Online Store ->Theme β Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above
{% style %}
section#shopify-section-template--22328067621196__rich_text_B6PpkH {
margin-top: -30px !important;
}
{% endstyle %}
1 Like
Now its working thank your for your help guys
Hi @NikosBat
Itβs great to hear that
I would really grateful if you could mark our answer as a solution ![]()
Best,
Daisy

