• Hello,

    I am just begining with this theme. I find it great but I would like that the text font for my posts to be bigger.

    I am new at this and I could not find a snippet (proper CSS code)for that.

    Could someone please give me a hand on this?

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Quick and simple…add something like this to your custom css:
    .post { font-size: 1.2em; }

    Where 1em represents the default size.

    You may want to be more specific than just the generic “.post”…for that, I recommend you check out this snippet, if you haven’t already.

    Also…you could enter the size directly with html in the text editor for the post…like this: <p style=”font-size: 1.2em;”>YOUR TEXT</p>

    I am no expert, so I hope this is helpful or at least points you in the right direction.

    @deputy05: Good catch on the .post selector 🙂 I hadn’t seen that one before.

    Also…you could enter the size directly with html in the text editor for the post…like this: <p style=”font-size: 1.2em;”>YOUR TEXT</p>

    You can do this, but it’s considered bad form because when you want to change the size for the whole site, you’ll have to hunt down all the individual places where you’ve changed it.

    @electricfeet: Thanks for that info…didn’t realize that was considered bad form…guess I should stop doing it myself. 😀

    Hi,

    Sorry for the delay on my answer. Maybe our Timezone is different. I went to sleep after posting yesterday (01.00 AM).

    Thanks a lot deputy05 and ElectricFeet. Those were GREAT tips.

    I have done it. I went changing the line-height as well and it looks like I wanted it to look now.

    Thank you both for the great help once more.

    Actually, using the .post selector might also affect the font size in headers and meta information (author, date, tags, category, etc). If you only want to enlarge the post paragraphs you should use .entry-content and .entry-summary as your CSS selectors:

    .entry-content, .entry-summary { font-size: 1.2em; }

    Depending on what you’re after, you might also play with font-weight and line-height properties.

    Well,
    .post .entry-content, .post .entry-summary
    If you want just your posts (as single and in a posts list) being affected (no pages).
    Also .post alone don’t think will affect header and metas which, in customizr at least, have a “static” font-size/line height expressed in pixels…
    Am I wrong?

    Well…fwiw…
    I tested .post on my own site and it didn’t affect header and metas…but I wasn’t sure if it might have ill effects on anything else so that is why I mentioned he may want to be more specific on the selector…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CSS for changing font size on posts’ is closed to new replies.