All things Shopify and commerce
Hello community
I added "About us" and "FAQ" in the Menu in the footer on Dawn Theme (latest version 15..). In opposite to the policy pages, these are added Pages to the Item Menu in the footer section. The two added pages has a larger font and are left located on the page. I want to reduce the font of the heading and I want the heading centered on the page, so they match the policy pages. Is this possible, anyone who can help me? Adjusting a code? Thank you
Solved! Go to the solution
This is an accepted solution.
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
h1.main-page-title.page-title.h0.scroll-trigger.animate--fade-in{
font-size: calc(var(--font-heading-scale) * 4rem) !important;
text-align: center !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Hi @Katt11
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
h1.main-page-title.page-title {
text-align: center;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello @Katt11
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.
This is an accepted solution.
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
h1.main-page-title.page-title.h0.scroll-trigger.animate--fade-in{
font-size: calc(var(--font-heading-scale) * 4rem) !important;
text-align: center !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Thank you, it worked:)
Thank you so much, this works for centering, I see that the font size 40 is a little bigger than the font size of the policy pages. Where in the codes can I see what font size that is on the original policy pages? Can I just change the 40px in the code you gave me?
This is an accepted solution.
Hi @Katt11
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
h1.main-page-title.page-title {
text-align: center;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024