All things Shopify and commerce
How do i add more space between product price and the custom liquid? Also how do I remove double spacing from custom liquid? I want the custom liquid to be single spacing, and beteween the price and the custom liquid needs and extra space.
url: bundo.nl
Solved! Go to the solution
This is an accepted solution.
Please try to replace these code with my code below
<div class="usp-list">
<div class="page-width">
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/IDEAL_Logo.png?v=1701683033?v=1697221984" width="20"> Betaal veilig met iDeal & Bancontact </p>
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/Zandloper_icon_fb3e2e53-8588-49d1-a342-28cca3fef585.png?v=1697222231" width="20"> Voor 23:59 besteld - morgen verzonden </p>
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/retourgarantie.png?v=1697222408" width="20"> 30 Dagen Retourgarantie</p>
</div>
</div>
<style>
.usp-list { margin-top: 32px; margin-bottom: 16px; }
.usp-list p.usp-item { margin-top: 0; margin-bottom: 16px; }
</style>
This is an accepted solution.
Sure. Please try using this code
<div class="usp-list">
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/IDEAL_Logo.png?v=1701683033?v=1697221984" width="20"> Betaal veilig met iDeal & Bancontact </p>
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/Zandloper_icon_fb3e2e53-8588-49d1-a342-28cca3fef585.png?v=1697222231" width="20"> Voor 23:59 besteld - morgen verzonden </p>
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/retourgarantie.png?v=1697222408" width="20"> 30 Dagen Retourgarantie</p>
</div>
<style>
.usp-list { margin-top: 32px; margin-bottom: 16px; }
.usp-list p.usp-item { margin-top: 0; margin-bottom: 16px; }
</style>
Hi justin, So those 3 lines, I want them closer to each other, seee how they're double spaced?
<style>
.custom-padding {
margin-top: 40px; /* Adjust the value as needed for the desired space */
}
</style>
{% assign empty_space = " " %}
<div class="custom-padding">
{{ empty_space }}
</div>
<!-- Your existing Liquid code goes here -->
</style><div class="list"><div class="page-width"><div style="text-align: left;"><p id="usp"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/IDEAL_Logo.png?v=1701683033?v=1697221984" width="20"> Betaal veilig met iDeal & Bancontact </p></p><p id="usp"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/Zandloper_icon_fb3e2e53-8588-49d1-a342-28cca3..." width="20"> Voor 23:59 besteld - morgen verzonden </p><p id="usp"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/retourgarantie.png?v=1697222408" width="20"> 30 Dagen Retourgarantie</p></div></div></div>
<style>
.custom-padding {
margin-top: 40px; /* Adjust the value as needed for the desired space */
}
</style>
{% assign empty_space = " " %}
<div class="custom-padding">
{{ empty_space }}
</div>
This is an accepted solution.
Please try to replace these code with my code below
<div class="usp-list">
<div class="page-width">
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/IDEAL_Logo.png?v=1701683033?v=1697221984" width="20"> Betaal veilig met iDeal & Bancontact </p>
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/Zandloper_icon_fb3e2e53-8588-49d1-a342-28cca3fef585.png?v=1697222231" width="20"> Voor 23:59 besteld - morgen verzonden </p>
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/retourgarantie.png?v=1697222408" width="20"> 30 Dagen Retourgarantie</p>
</div>
</div>
<style>
.usp-list { margin-top: 32px; margin-bottom: 16px; }
.usp-list p.usp-item { margin-top: 0; margin-bottom: 16px; }
</style>
Can you edit the code so its aligned to the left side more?
This is an accepted solution.
Sure. Please try using this code
<div class="usp-list">
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/IDEAL_Logo.png?v=1701683033?v=1697221984" width="20"> Betaal veilig met iDeal & Bancontact </p>
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/Zandloper_icon_fb3e2e53-8588-49d1-a342-28cca3fef585.png?v=1697222231" width="20"> Voor 23:59 besteld - morgen verzonden </p>
<p class="usp-item"><img id="checkmark" src="https://cdn.shopify.com/s/files/1/0777/3359/3412/files/retourgarantie.png?v=1697222408" width="20"> 30 Dagen Retourgarantie</p>
</div>
<style>
.usp-list { margin-top: 32px; margin-bottom: 16px; }
.usp-list p.usp-item { margin-top: 0; margin-bottom: 16px; }
</style>
yessirrr i changed a couple numbers around but worked perfectly!!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025