Forums

[resolved] remove space between paragraphs (2 posts)

  1. rocketllama
    Member
    Posted 3 years ago #

    The default setting at http://www.actionflickchick.com puts a space between paragraphs, which is fine. But we have one article that needs those spaces removed. How do we change that setting for the single article without changing it for everything else?

    Thanks.

  2. kerchmcc
    Member
    Posted 3 years ago #

    I'd suggest making a class of post and giving it property that removes the space before it, or after it.

    To take the space out between paragraphs, try this in your style sheet [Appearance | Editor | Stylesheet (style.css)]:

    .nospacebottom{
    margin-bottom:0px;
    }
    .nospace{
    margin:0px;
    }

    Then use <p class="nospacebottom"> at the start of the first paragraph (so you keep what ever space is usual between the first paragraph and the heading and then <p class="nospace"> for the other paragraphs. That will close up the margin between the two elements.

    If you don't have access to edit the style sheet, you could use the style at each <p>, but better to make a class so you can use it the same way later.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.