WordPress.org

Forums

Twenty Ten : Question in changing Font Size (4 posts)

  1. elsheimy
    Member
    Posted 4 years ago #

    I've always use the Twenty Ten theme. I need to know how to change the font size, i.e., body text font size. In addition, how do I change the code and pre tags font sizes?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    You would need to edit the theme's stylesheet but be aware that your changes could be overwritten the next time you update WP or the theme. Far better to create a child theme for your customisations.

  3. elsheimy
    Member
    Posted 4 years ago #

    Yeah I know I need to edit CSS and I tried to do that to change the font size of the body element but actually changes didn't apply (I don't use any caching plugins or anything alike.)

    I think a child theme is a good idea, I'm reading about it now. Thanks a lot! :)

  4. Gouri
    Member
    Posted 4 years ago #

    Refer this thread

    Making changes in the following section worked for me:

    #content,
    #content input,
    #content textarea {
    color: #444;
    font-size: 16px;
    line-height: 24px;
    }

    Here's what I finally made out of it on my Quotes and sayings blog.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags