Shopify themes, liquid, logos, and UX
Hiya,
How could I remove white space between these two pieces of text on my product page? See where I've drawn the little red lines, I would like to have those texts with tick-marks closer together. The rest of the spacing can stay the same.
See:
URL: https://utrecht-winkel.nl/
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hello @WVU
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.
.product__text.inline-richtext.subtitle {
margin-top: 0;
}
Hello @WVU
Either no one is seeing the text, or I can't see it.
Hi Devcoders,
My bad, and thanks for your response. You should see it now! 🙂
This is an accepted solution.
Hello @WVU
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.
.product__text.inline-richtext.subtitle {
margin-top: 0;
}
Hello @WVU
You're very welcome! I'm thrilled to hear that you're pleased with the outcome. Don't hesitate to reach out if you need further assistance.
like and accepting the All solution. Thank you!
Hi WVU
- 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
p.product__text.inline-richtext.subtitle {
margin-top: -5px !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