Center & Change Font Size of Titles In Dawn 12.0

Solved

Center & Change Font Size of Titles In Dawn 12.0

crosbyaudio
Excursionist
25 0 8

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.

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4852 1090 1762

This is an accepted solution.

 

Hi @crosbyaudio 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> 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 </head>

<style>
.collection__title > h2,h1.collection-hero__title, h1.title--primary.scroll-trigger.animate--fade-in  {
    font-size: calc(var(--font-heading-scale) * 5.2rem) !important;
    text-align: center;
}
</style>

PageFlyRichard_0-1700007728621.png

PageFlyRichard_1-1700007742502.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 9 (9)

Made4uo-Ribe
Shopify Partner
9567 2278 2825

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;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1700002559589.png

 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
crosbyaudio
Excursionist
25 0 8

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

crosbyaudio
Excursionist
25 0 8

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

 

https://crosbyaudio.com/

PageFly-Richard
Shopify Partner
4852 1090 1762

This is an accepted solution.

 

Hi @crosbyaudio 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> 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 </head>

<style>
.collection__title > h2,h1.collection-hero__title, h1.title--primary.scroll-trigger.animate--fade-in  {
    font-size: calc(var(--font-heading-scale) * 5.2rem) !important;
    text-align: center;
}
</style>

PageFlyRichard_0-1700007728621.png

PageFlyRichard_1-1700007742502.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

crosbyaudio
Excursionist
25 0 8

Thanks for your help!

PageFly-Richard
Shopify Partner
4852 1090 1762

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

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

VeraCoxBrand
Tourist
5 0 2

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

Made4uo-Ribe
Shopify Partner
9567 2278 2825

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;
}

 

  • And save.
  • Result:
  • Made4uoRibe_0-1701465269284.png

     

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
VeraCoxBrand
Tourist
5 0 2

Thank you very much! Successfully solved.