WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Ten
set comment font sizes (6 posts)

  1. slilley
    Member
    Posted 8 months ago #

    Using Twenty Ten with a child theme. Want to make the comments body text smaller, but can't figure out how to do it!

  2. LittleBigThings
    Member
    Posted 8 months ago #

    You could try the following code in your child theme's style.css:

    #comments .comment-body {
    font-size: 12;
    }

    The font-size is normally set to 16px.
    I should say that my advice is based on the demo site for the twenty eleven theme on wordpress.com.

  3. slilley
    Member
    Posted 8 months ago #

    Unfortunately, it didn't work — but I'm a newbie, so it could be clashing with something else in my child theme.

  4. LittleBigThings
    Member
    Posted 8 months ago #

    Is your site online? It would be easier if I could check the actual website.

  5. LittleBigThings
    Member
    Posted 8 months ago #

    Try this but I am not sure without checking your site:

    #comments .comment .comment-body {
    font-size: 12;
    }

    or

    #comments ol .comment-body {
    font-size: 12;
    }
  6. LittleBigThings
    Member
    Posted 8 months ago #

    I am sorry, I forgot to put 'px' (= pixels) behind '12'... So try the first one again modified like this (I set it to 10):

    #comments .comment-body {
    font-size: 10px;
    }

Reply

You must log in to post.

About this Theme

About this Topic