All things Shopify and commerce
Hi there,
I would like to fix my spacing in my Rich Text - If i space down where you enter the text, it doesn't seem to work.
URL: https://www.samiyaskincare.com.au/pages/become-an-affiliate
Password: ellacoker
Hi @ellacoker
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ
Here is the code for Step 3:
{% style %}
.rich-text__blocks {
line-height: 40px !important;
}
{% endstyle %}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.
Hi Daisy, I am happy with the line height - wanted to remove the spacing beneath the H2 Headers, not the body text.
Please see screenshot.
Hello @ellacoker
Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.
.rich-text__blocks * h2 {
margin: 10px;
}
Hi @ellacoker you want like this:
Open the relevant CSS file (usually theme.css.liquid or base.css).
Scroll to the bottom of the file.
Add this code:
.rich-text__blocks h2 {
margin-bottom: 0px !important;
}
Hi Ellacoker
- You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
h2 {
margin-bottom: 0 !important;
}
Result:
Best,
Liz
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025