Archived topic
Centering Elements
5 replies · Started by Janine on February 19, 2021
Viewing posts 1–6 of 6
Hi.
How can I center the title of archive pages?
How can I to center the title of posts and pages?
How can I center categories meta on post and archive pages?
Thank you.
Hi there,
Try this CSS:
.page-header h1.page-title, h1.entry-title, h2.entry-title, .entry-meta {
text-align: center;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Thanks, Leo. That worked for the most part.
How can I center the titles of the SINGLE posts?
Thank you.
Hi there,
i updated Leos code to include the H1 for single posts.
Thanks, David. That did it.
BE SAFE.
Glad we could be of help.
This archived topic is closed to new replies.