• Resolved riomccarthy

    (@riomccarthy)


    Hello there,

    I was hoping someone might be able to answer this for me. I am working on the site http://www.beasbuzz.com

    I am trying to make it so that all of my blog posts are center aligned when you look at the post pages. They look fine on the main page, but when you click on an actual blog post they’re always left aligned. Is there a way to make it so that everything is always center aligned for the blog posts including the title, post, etc.?

    Thanks in advance! 🙂

    • This topic was modified 9 years, 2 months ago by riomccarthy.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Greetings….by default, the full post is left aligned with this CSS code:

    .single .hentry {
        text-align: left;
    }

    To center it, copy the code below and paste it into the Additional CSS tab of the customizer. You also need to change a couple other things which I’ve added to the code below.

    .single .hentry {
        text-align: center;
    }
    .single .wp-post-image {
        display: inline-block;
        margin: auto;
    }

    You might have a bit of a problem though with the post navigation for alignment, but the above should center your main post content and featured image.

    Thread Starter riomccarthy

    (@riomccarthy)

    Thank you! That works swimmingly!

    I appreciate your help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Center Aligning All Blog Posts’ is closed to new replies.