Solved

Center & Change Font Size of Titles In Dawn 12.0

crosbyaudio
Tourist
11 0 4

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
4322 980 1639

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!


PageFly - #1 Page Builder for Shopify merchants.


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
6361 1525 1895

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
crosbyaudio
Tourist
11 0 4

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

crosbyaudio
Tourist
11 0 4

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

 

https://crosbyaudio.com/

PageFly-Richard
Shopify Partner
4322 980 1639

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!


PageFly - #1 Page Builder for Shopify merchants.


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

crosbyaudio
Tourist
11 0 4

Thanks for your help!

PageFly-Richard
Shopify Partner
4322 980 1639

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!


PageFly - #1 Page Builder for Shopify merchants.


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
6361 1525 1895

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
VeraCoxBrand
Tourist
5 0 2

Thank you very much! Successfully solved.