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.

I’m looking to center & change the title size on these pages:

Title: Product

https://crosbyaudio.com/collections/products

Title: Blog

https://crosbyaudio.com/blogs/blog

To match this page:

https://crosbyaudio.com/pages/instructions

Thanks in advance.

1 Like

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!

The text size is fixed, but it’s not centered.

The title “Products” need to be centered and made larger on this page too:

https://crosbyaudio.com/

Hi @crosbyaudio

This is Richard 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


Hope this can help you solve the issue

Best regards,

Richard | PageFly

1 Like

Thanks for your help!

Glad that i can help. Let me know if you have any questions

Hi, in my shop I would like to centered the title of COLLECTIONS, TRACK YOUR ORDER and ABOUT US - www.veracox.com

Can you help me?

Thank you in advance

1 Like

Hi @VeraCoxBrand

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:
section#shopify-section-template--20282740310359__main .main-page-title, section#shopify-section-template--20131581886807__main .main-page-title, a.full-unstyled-link {
    text-align: center !important;
}

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

1 Like

Thank you very much! Successfully solved.

1 Like