Skip to:
Content
Pages
Categories
Search
Top
Bottom

Leaving space between lines or paragraphs.

  • How do I add a space between lines or paragraphs in the stock theme that I am using? I tried adding the tag
    and it does not add a space between lines or paragraphs. See this link “http://invictatrader.com/bbpress/topic/momentum-trading-a-practical-day-trading-strategy-to-get-profits-from-hot-stock” for an example.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

  • chrishajer
    Participant

    @chrishajer

    It’s controlled by your CSS. The [p] tags are there for paragraphs, but they need more space. Something like this:

    #thread .post p {
    margin-bottom: 20px;
    }

    That will space them out. I added it around line 647 in style.css and it worked fine.

    This is what I saw in the CSS of my stock theme.

    #thread .post {
    _height: 90px; /* Hack to fix broken .alt coloring in IE6 */
    }

    So modify it to something like this?

    #thread .post {
    _height: 90px; /* Hack to fix broken .alt coloring in IE6 */
    margin-bottom: 20px;
    }

    Thank you.

    Adding ` #thread .post p {

    margin-bottom: 20px;

    } ` does not increase the spacing between paragraphs for me. I am using Kakumei.

    Thanks.

    Changing this line helped. pre, p { margin-bottom: 0.0em; }

    Thanks.


    matchstick
    Member

    @matchstick

    All the suggestions so far either did not specifically help or just added general spacing in between lines…

    Spacing between paragraphs does not seem to be going.


    Ashfame
    Participant

    @ashfame

    Use Firebug addon in Firefox to catch up with CSS.

    Right click on any element > Inspect element and its CSS goes at the right hand side. Play with it.


    matchstick
    Member

    @matchstick

    i take it back

    #thread .post p {

    margin-bottom: 20px;

    }

    worked for me

    sorry!

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.