Grow your CSS skills. Land your dream job.

Need help changing the paragraph font size.

  • # January 11, 2013 at 8:38 pm

    I’m trying to change the font size (and line height) on this [site](http://ministrytips.com “ministry tips”). I’m still learning CSS so I’m probably making a simple mistake, but I can’t seem to get it to change. Would someone mind helping me out?

    Thanks!

    # January 11, 2013 at 8:53 pm

    Generally the formatting of your basic typography should all be placed together. It actually appears that this hasn’t been done at all on this particular site, except for adding the bottom margin.

    If you only want to change the size of the paragraph font of your posts, you can add something like this to the CSS:

    .post-content p, .post-content li, .post-content blockquote {
    font-size: 15px;
    line-height: 1.5;
    }

    # January 11, 2013 at 8:54 pm

    @ricksmith,

    > I’m trying to change the font size (and line height) on this site.

    do you mean your paragraph font size and line height?

    Edit: @TheDoc, got the answer, btw, your paragraph font-size is not set so is inherited from your body font-size of 12px

    # January 13, 2013 at 12:47 am

    Tanks so much!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".