Archived topic
Page Headers Centered
7 replies · Started by Sam on April 16, 2021
Hello,
Is it possible to make the page the main H1 headers centered instead of left adjusted?
Thank you,
Sam
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Sure! When you click on the pages such as destinations, Italy, Greece, about me, etc, you will see the main header is left adjusted and I would like to center them all if possible.
Thanks,
Sam
Can you disable the Autopimize plugin and let me take a look?
Thanks :)
Sure, doing that now. Does that plug-in not work well with your theme?
Thanks,
Sam
The plugin is still activated from what I can see.
Autopimize works with GP for sure - I just needed to see where this block of code coming from:
h1.entry-title {
text-transform: uppercase;
}
If that's not something you've added, then you can this CSS to center the title:
h1.entry-title {
text-line: center;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Hi,
I had turned it back on because I wasn't sure if support was open over the weekend. I can turn it back off again.
Thanks,
Sam
Thanks!
Yup that's not something added.
Just add the second block of CSS here should center the title:
https://generatepress.com/forums/topic/page-headers-centered/#post-1737481