Center & Change Font Size of Titles In Dawn 12.0

Topic summary

A user seeks to center and increase the font size of page titles (Product, Blog, Instructions pages) in the Dawn 12.0 theme to match their homepage styling.

Initial Solutions Provided:

  • Add CSS code to base.css/style.css/theme.css targeting title elements with font-size adjustments using calc(var(--font-heading-scale) * 2.5rem)
  • Alternative approach: Insert CSS via theme.liquid file above </head> tag

Issue Resolution:
The font size modification worked, but centering required additional CSS. The working solution involves adding text-align: center !important; to specific section selectors.

Extended Help:
Another user (VeraCoxBrand) requested similar centering for Collections, Track Your Order, and About Us page titles. They received comparable CSS code targeting section#shopify-section-template elements with text-align: center property, which successfully resolved their issue.

Key Technical Details:

  • Modifications made through Shopify Admin > Themes > Edit Code
  • CSS added to theme asset files or theme.liquid
  • Solutions marked as successful by both users
Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

Hi @crosbyaudio

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:
h1.collection-hero__title, h1.title--primary.scroll-trigger.animate--fade-in {
    font-size: calc(var(--font-heading-scale) * 5.2rem) !important;
}

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