Solved

How to center titles on all pages on Dawn 2.0

reneenovotny828
Visitor
2 0 1

How do I center the titles on all of my pages? 

Is there a way to make the copy font a little larger? 

Can I increase the size of the fonts in the Header?

 

https://alchemistgarden.com/

https://the-alchemists-garden.myshopify.com/

Accepted Solution (1)

kaalTechGeeks
Shopify Partner
296 56 74

This is an accepted solution.

Hi @reneenovotny828
In order to align the titles of all the pages to the center just paste the below code at the bottom of the theme.liquid file just before the closing body tag (</body>). 

{% if template == 'page' %}
<style>
h1.main-page-title.page-title.h0 {
    text-align: center;
}
</style>
{% endif %}

after you have successfully added the code your webpage titles would look as shown in the image below 

kaalTech_0-1668528019510.png

 

 

KaalTechGeeks || Shopify Partner
- Was my reply helpful? Click Like to let me know! & if your question was answered, Mark it as an Accepted Solution!
- Feel free to reach out to me on my socials - Instagram | Skype | Mail

View solution in original post

Replies 4 (4)

kaalTechGeeks
Shopify Partner
296 56 74

This is an accepted solution.

Hi @reneenovotny828
In order to align the titles of all the pages to the center just paste the below code at the bottom of the theme.liquid file just before the closing body tag (</body>). 

{% if template == 'page' %}
<style>
h1.main-page-title.page-title.h0 {
    text-align: center;
}
</style>
{% endif %}

after you have successfully added the code your webpage titles would look as shown in the image below 

kaalTech_0-1668528019510.png

 

 

KaalTechGeeks || Shopify Partner
- Was my reply helpful? Click Like to let me know! & if your question was answered, Mark it as an Accepted Solution!
- Feel free to reach out to me on my socials - Instagram | Skype | Mail
reneenovotny828
Visitor
2 0 1

Thank you so much! This worked and it looks good. Thanks!

kaalTechGeeks
Shopify Partner
296 56 74

Hi @reneenovotny828
I am glad that my solution worked for you 
Please do like my solutions as this motivates to help others in the community. 
Please do not hesitate to ping me if you need any help in future. 
Thanks & Regards 
KaalTechGeeks 

KaalTechGeeks || Shopify Partner
- Was my reply helpful? Click Like to let me know! & if your question was answered, Mark it as an Accepted Solution!
- Feel free to reach out to me on my socials - Instagram | Skype | Mail
curbsidematters
Visitor
1 0 0

This solution works for anyone using the theme as of December 2023!