How can I adjust the font size on a single product page?

Hi, I’ve tried with many different codes to change the font size of Product Name + Price (on single product page) but nothing work, can someone help with that?

It’s the Dark Moon Chawan Large & the price sizes I’m trying to change.

Theme is Dawn.

Thank you

Ayana

Hi @AscendStudio

This is Noah from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


{% endif %}

For example: 
{% if product.url == '/products/purition-original-500g-5' %}{% endif %}

And here’s how to get the Product URL

Please make sure that you have replace the url to match with your product to make it work on that product page only

Hope this can help you solve the issue

Best regards,

Noah | PageFly

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find template → product-template.liquid and paste this at the bottom of the file:

Hello @AscendStudio

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

.section-template--14238873944153__main-padding h1.product__title {
    font-size: 30px !important;
}
.section-template--14238873944153__main-padding .price.price--large.price--on-sale.price--show-badge {
    font-size: 17px !important;
}