How do I center my post titles?

  • Author
  • #942687

    Does anyone know how I might center my post entry-titles (as well as the by/date/comment section below) over my entire content area?

    Right now, everything is flush-left.

    Thanks for your help.

    The blog I need help with is



    Hi Alaina,
    Add this to your h2 active style: “text-align: center;” so that it reads:

    .wf-active h1, .wf-active h2, .wf-active h2 a, .wf-active h2 a:visited {
        font-family: skolar-1,skolar-2,"Oswald",arial,serif;
        font-size: 26px;
        font-style: normal;
        font-variant: normal;
        font-weight: 400;


    @zandyring, I usually recommend using !important declarations instead of .wf-active since those are less portable (they’re specific to However, I don’t think either of those is needed in this case and you can do it with less CSS. Check out the example below.

    To center the post title and byline for posts in the Minimum theme, add this to your Appearance → Custom Design → CSS editor:

    .post-info {
    	text-align: center;


    @designsimply – good to know! And yes, less is better. :)

The topic ‘How do I center my post titles?’ is closed to new replies.