Return to Support

Text alignment automatically (center) in post

Home Forums Graphene WordPress theme Support Text alignment automatically (center) in post

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10043
    cefd1
    Participant

    we have multiple bloggers adding content to our page and I was wondering if there is any css code that would automatically format the text to center align in the post ?

    Thanks

    #45224

    Add this to custom CSS:

    .entry-content p {text-align: center;}

    That said, centered text for the body of a post is usually considered poor design, as it is more difficult to read than text which is aligned to the left, since your eyes have to return to a different point on the page each time.

    Moved to Support.

    #45225
    cefd1
    Participant

    Thanks !

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.