Shopify themes, liquid, logos, and UX
Hey there.
I am trying to add a little Text on my product field.
Below the price and above the color selection I want to list 5 benefits.
I want it to look like here:
I have been browsing the internet and youtube for hours and can not find the solution.
I have no problem adding a little code snippet, I just need to know where to place it and what the right configurations are.
I use the old Debut Theme, and would not like to switch.
I would be sooo happy to find some help here
Wish you a great day
Tim
Solved! Go to the solution
This is an accepted solution.
Hi Moeed,
yes it worked. thank you so much, I am very grateful for your help.
Have a nice day!
Kind regards
Tim
Hey @timotheusb1
To add some text below the price and above the color selection in your product field on the Debut theme, you can follow these steps:
{% section 'product-template' %}
<div class="product-benefits">
<h3>Benefits:</h3>
<ul>
<li>Benefit 1</li>
<li>Benefit 2</li>
<li>Benefit 3</li>
<li>Benefit 4</li>
<li>Benefit 5</li>
</ul>
</div>
.product-benefits {
margin-bottom: 20px;
}
.product-benefits h3 {
font-size: 16px;
font-weight: bold;
margin-bottom: 10px;
}
.product-benefits ul {
list-style-type: disc;
margin-left: 20px;
}
By following these steps, you should be able to add the desired text below the price and above the color selection in your product field on the Debut theme. Make sure to adjust the content and styling to fit your specific needs.
If you need any additional assistance, please don't hesitate to reach out. I'm here to help you resolve any further issues you may encounter.
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed,
thank you soo much for your help. I am very grateful for it.
I implemented the changes in the Code and it almost looks perfect.
I do not find a "Theme.scss.liquid" file in my asset folder, but I think it might not be a problem, because the styling is already just as I wanted it to be.
Here is how it looks:
The only small thing I would like to change is: Bringing down the Benefits by 1 Line, so they dont start exactly below the narrow grey arrow above, but 1 Line below that, just as In my example picture:
Do I need to make that change in the code or at the styling?
Could you tell me how to make the text drop by 1 Line?
I hope I could articulate my point clearly. Thank you soooo much for your help, I am amazed really.
Kind regards
Tim
Hi @Moeed , just checking if you have seen the message. I forgot to tag you, ups.
I am grateful for any help
Kind regards
Tim
Hey @timotheusb1
Kindly share your Store URL and Password if enabled
Hey @Moeed ,
https://www.bamboostar.de/products/bamboo-star-bambus-socken?variant=42055916880131
Thank you.
kind regards
Tim
Hey @timotheusb1
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
<style>
.product-benefits {
margin-top: 20px !important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hi Moeed,
yes it worked. thank you so much, I am very grateful for your help.
Have a nice day!
Kind regards
Tim
User | RANK |
---|---|
155 | |
127 | |
81 | |
72 | |
66 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023