Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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://the-alchemists-garden.myshopify.com/
Solved! Go to the solution
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
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
Thank you so much! This worked and it looks good. Thanks!
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
This solution works for anyone using the theme as of December 2023!
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025