How do I style this text to be bold?

Issue

I am trying to figure out how to style this text to be bold in Shopify?

 <center> <font color="black">Free Shipping & Returns</font> <center>

I also want it to adapt the same typography but not sure how to do that. Currently I am in the product-template.liquid file

Solution

You can use CSS to achieve this using the font-weight property.

<center style="color: black; font-weight: bold;">
    Free Shipping & Returns
<center>

Additionally, to do this with just raw HTML:

<center>
    <strong>Free Shipping & Returns</strong>
</center>

Answered By – Skully

Answer Checked By – Senaida (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.