• helloandwelcometomysite

    (@helloandwelcometomysite)


    Hi!

    I’m using twenty twelve theme (child) on my site: http://www.aswedeabroad.com

    I would like to change the date so it’s located in the center, but it doesn’t respond to my coding. I’m also struggling to change font/font size etc. for the date. I’ve previously moved the date to under the post title, which I’m guessing is part of the reason for why I can’t change the font/etc?

    I’ve spent hours trying to fix it, but I’m stuck and would really appreciate some help.

    I would also like to change the font and centralize the “comment”, but I can’t really change it as well. Do you have any suggestions to how I can solve it?

    Thank you,

Viewing 1 replies (of 1 total)
  • For both the date and the comment link, you’ve got the font set to Open Sans and 16px for the date, and 17px for the comment link. Are those the correct values? If so, your font changes are working.

    To center the date, float: center is not valid CSS. Instead, use:

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

    To center the comment link, it’s not enough to set text-align: center, you must also explicitly set a width for the containing element like this:

    #content .comments-link {
        position: absolute;
        bottom: 1em;
        text-align: center;
        width: 100%;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘TWENTY TWELVE- Can't change date/comment after moving date under the post title’ is closed to new replies.