Change Paragraph Font Size

  • Posted in : Read WP
  • Neosoph
    Participant

    I tried using CSS but I can’t change the font size:

    .post .entry-content>p {
    font-size: 18px;
    }

    It looks like it is pulling from javascript, where do I change it?

    Neosoph
    Participant
    ahmetsali
    Keymaster

    Hi, no it comes from css not js, you can try this custom css code to change the paragraph font sizes on blog masonry;

    .blog-masonry .hentry p {
        font-size: 14px;
    }
    
    Neosoph
    Participant

    Sorry I should have been more clear, I was referring to this page:

    http://practicalnonsense.org/debunking-doomsday-meteorite-impact/

    This is the CSS for the area I want to change:

    .blog-single .post .entry-content > p {
    font-size: 18px;
    }

    I think it might have been related to the other “Better WordPress Minify” plugin issue I was having, going to try a fix tonight.

    Neosoph
    Participant

    Ok tested it. Still not working.

    How do I change the paragraph text font size to 1 em, but leave the p class=”lead drop-cap” at 1.3em?

    http://practicalnonsense.org/debunking-doomsday-meteorite-impact/

    Neosoph
    Participant

    Ugh, though I fixed it but apparently not. This is the problem:

    @media screen and (min-width: 768px) {
    .blog-single .post .entry-content > p {
    font-size: 18px;
    }
    }

    Neosoph
    Participant

    I ended up removing the offending code from main.css

    Can you remove this code from main.css in the next update? I don’t understand why you are forcing paragraphs to be 18px. It defeats the purpose of your [lead_p drop_caps=”yes”] shortcode.

    ahmetsali
    Keymaster

    it is for improving readability on single post pages, thanks for the feedback.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register