How do I change the font size of headings on my product page

I only get 4 options to change the font size on headings on rich text and image with text blocks -

How to I change the font size accurately?

Hi @EthanOSHOP

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

/* heading rich-text */
h2.rich-text__heading.rte.inline-richtext.h2.scroll-trigger.animate--slide-in {
    font-size: 2rem;
}

And save.

Maybe youll change your mind soon you add some comment in the code.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

This works but only with rich text, How do I apply it to all headings on that page, image with text included?

So you want only in the product all the header will change.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “theme. Liquid” file. Find the tag and paste the code below before the tag.

{% if template == 'product' %}

{% endif %}

And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Thank you. Is there any way to apply this to all product pages?

Oh, that what i did calling all the product pages. Please check it. Thanks!