Site logo

Archived topic

How to align my post Published date in the middle of the page?

3 replies · Started by MD Tohidul on September 25, 2022

Viewing posts 1–4 of 4

How to align my post Published date in the middle of the page?

Please check the screenshot >> https://prnt.sc/VhccHfKC2RRM

Article published date and author name is currently showing left side of the article, I want to show the post published date and author name is the middle of the article like this >>> https://prnt.sc/0c7XblbDuep-

How can I do this?

Hi there,

Try this CSS:

.entry-meta {
    text-align: center;
}

If it's for single posts only then this should work:

.single .entry-meta {
    text-align: center;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Let me know if this helps :)

Solved, Thanks a lot !

No problem :)

This archived topic is closed to new replies.