How can I reduce the size of price font in the Dawn theme?

I tried some solutions added cods which should have helped supposedly but price font is not getting smaller and on mobile version its overwhelmingly big can anyone help me ? Example bellow

Irakli23_0-1659137214332.png

Hi @Irakli23 ,

Try the code instead. Font size should adjust with mobile.

  1. From your Admin Page, click Online Store > Themes >Actions > Edit code
  2. In the Asset folder, open the base.css
  3. Paste the code below at the very bottom of the file.
.price.price--on-sale {
    font-size: clamp(1.2rem, 2vw, 2rem) !important;
}

Hello Thanks for the help so that code helped for the font that is with sale picture bellow

Irakli23_0-1659138807105.png

But others are still big sadly

Irakli23_1-1659138845600.png

Oh and also in Desktop Format text which was with sale got bigger

1 Like

Hi @Irakli23 ,

Please replace the code with the code below instead

.price__container {
    font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
}
1 Like

@Irakli23

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

Thanks so much it helped it does not overwhelm the screen now really appreciate your assistance

Can you help me?