WordPress.org

Support

Support » Themes and Templates » Zeecorporate theme post font size

Zeecorporate theme post font size

  • Hi

    Could someone please help to identify the code in zeecorporate theme CSS sytlesheet that should be amended to change blog post font size.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The <p> tag should do it, or the following, if you don’t want the text size to be applied outside of posts:

    .entry p {
        margin: 5px 0 15px;
    }

    Right now, the font-size is set in the .body property as 0.9em, but you could do this to enlarge it just in the blog posts:

    .entry p {
        margin: 5px 0 15px;
        font-size: 1.0em;
    }

    Were you only looking to change the body font size, or did you need to change header sizes as well?

    Also, something to think about: How are you changing your css? To protect your changes from being overwritten by future updates, I strongly recommend that you create a child theme or use a custom css editor plugin.

    Thank you very much! I am quite new to WordPress and as such do not know anything about the <p> tag or child themes or custom CSS plugin.I shall read the links that you have provided to learn more.

    I am only looking to change the post body text font size. I did try your suggestion and it works. Only issue is that if I have bullet points in the text of the post, the bullets take on a different font size and I don’t know why this happens or how to correct it. Any suggestion would be appreciated.

    Thank you once again!

    Sure, no problem. Bullets are not body text, they’re lists. That means they’re created using the <ol>, <ul>, and <li> tags, and you need to edit the corresponding properties in css. Here’s some information on that! CSS Lists

    Thank you! Managed to sort it out after several tries.

    Fantastic, glad it’s working out.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Zeecorporate theme post font size’ is closed to new replies.
Skip to toolbar