Shopify Dawn - Change Font Size of Title and Price

Topic summary

A user asked how to modify the font size of product titles and prices in Shopify’s Dawn theme on the default product template.

Two solutions were provided:

  1. Custom CSS method (via theme customizer): Navigate to Customize > Sections > Product information > Custom CSS and add styling for .product__title h1 and .price--large classes.

  2. Direct code editing: Access Shopify Admin > Online Store > Edit Code > base.css and insert CSS targeting .price-item.price-item--regular and .product__title h1.

Resolution:
The original poster successfully implemented the title font size change using the Custom CSS approach in the product template section. They noted that the price styling code required removing the ‘span’ selector to work properly in their case. The issue was resolved with working solutions for both elements.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

Hi there, in Shopify Dawn on the default product template how do I change Font Size of Title and Price?Cheers

Hi @seanyd,

Please go to Customize > Sections > Product information > Custom CSS and add code:

.product__title h1 {
    font-size: 3rem;
}
.price--large {
   font-size: 2rem;
}

Hey @seanyd,
Hope you are doing great. In order to change the product price and title font size you need to follow these steps.
Go to Shopify Admin >> Click on Online Store >> Edit Code >> base.css.
At the end of this file paste the following code.

span.price-item.price-item--regular {
    font-size: 16px;
}
.product__title h1 {
font-size: 48px;
}

You can also change the font-size values based on your requirements.
Results:

Brilliant! thanks. For some reason it wouldn’t work for me when I pasted into base.css but worked a treat when I pasted into the custom css on the product default template - all I needed to do was remove the word ‘span’. Cheers

Many thanks, the title code did the job - I didn’t get a chance to try the price change as found another solution. Have a great day!

Hi @seanyd,

It’s my pleasure :blush: