Liquid, JavaScript, themes, sales channels
</div>
<ul class="product-single__meta-list list--no-bullets list--inline{% if shop.taxes_included or shop.shipping_policy.body != blank %} product-single__price-container{% endif %}">
{% if section.settings.stock_enable %}
<li>
<span id="ProductStock-{{ section.id }}" class="product-single__stock {% unless current_variant.inventory_management and current_variant.inventory_quantity < 10 and current_variant.inventory_quantity > 0 or current_variant.inventory_management and current_variant.inventory_quantity <= 0 and current_variant.incoming %} hide{% endunless %}">
{% if current_variant.inventory_management %}
{% if current_variant.inventory_quantity < 10 and current_variant.inventory_quantity > 0 %}
{% assign qty = current_variant.inventory_quantity %}
{{ 'products.product.stock_available' | t: count: qty }}
{% elsif current_variant.inventory_quantity == 0 or current_variant.inventory_quantity < 0 and current_variant.incoming %}
{% if current_variant.available %}
{% assign date = current_variant.next_incoming_date | date: format: 'date' %}
{{ 'products.product.will_not_ship_until' | t: date: date }}
{% else %}
{% assign date = current_variant.next_incoming_date | date: format: 'date' %}
{{ 'products.product.will_be_in_stock_after' | t: date: date }}
{% endif %}
{% endif %}
{% endif %}
</span>
</li>
{% endif %}
</ul>
<div class="rte product-single__description text-justify" itemprop="description">
{{ product.description }}
</div>
Hey team,
I am using the Venture theme and trying to edit the product-template.liquid file at line 186. How do I add the color red and bold the text like the picture below? Thanks
Solved! Go to the solution
This is an accepted solution.
Please add code: <p style="font-weight: 700;color: #ff0000;">5 AVAILABLE ONLY</p>
it will display fine. Hope it helps!
If you are adding that description from the product's admin page you don't need any code.
Simply highlight the words you want to change the color and then click on the "color" button.
In case this doesn't solve the issue please forward your website's URL so we can debug the code and provide further assistance.
Kind regards,
Diego
This is an accepted solution.
Please add code: <p style="font-weight: 700;color: #ff0000;">5 AVAILABLE ONLY</p>
it will display fine. Hope it helps!
Thank you both for the help, the formatting for the color wasn't in the native tool within the text editor so LitCommerce code helps me edit the liquid file to adjust.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024