WordPress.org

Forums

[resolved] Blog post spacing (3 posts)

  1. james@f1ofakind.com
    Member
    Posted 2 years ago #

    Although in the preview my posts are spaced correctly and there's no code in html view to specify any alternative formatting, once published there's no spacing between paragraphs.

    Anyone got any ideas how I can change the spacing and ideally font size?

    The website is http://www.f1ofakind.com

    Thanks
    James

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Spacing is set in the CSS code. Try using Firebug to look at the CSS affecting specific elements on your page. Then you can use those CSS selectors -- put them in a custom CSS option or plug-in and make changes accordingly. For example, the home page post text is using this:

    .post_text p {
        line-height: 20px;
        margin: 0 0 25px;
    }

    You can add font-size to that as well to change it.

    Basic CSS reference:

    http://www.w3schools.com/css/

  3. Aaron
    Member
    Posted 2 years ago #

    Add this in your CSS to put a 10px margin at the bottom of each paragraph.

    p {
        padding: 0 0 10px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic