WordPress.org

Support

Support » Themes and Templates » Twenty Ten » set comment font sizes

set comment font sizes

  • slilley

    @slilley

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • LittleBigThings

    @littlebigthing

    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.

    slilley

    @slilley

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

    LittleBigThings

    @littlebigthing

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

    LittleBigThings

    @littlebigthing

    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;
    }
    LittleBigThings

    @littlebigthing

    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;
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘set comment font sizes’ is closed to new replies.
Skip to toolbar