SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot nwingate's Avatar
    Join Date
    Jan 2004
    Location
    Texas
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Adding two <br /> to a Wordpress Post

    I'm trying to add extra space in between a paragraph in wordpress. My initial effort was to just hit "Enter" twice in the visual view. I got nothing. Then I went to the HTML view and added two <br /> to it to extend the space. Once again I got nothing.

    Is there a trick to this? What do I do to add extra space inbetween two paragraphs in Wordpress?

    Thanks.

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You want this for all paragraphs or just one in particular?

    If for all, in your .css file add:
    Code CSS:
    p{margin-bottom:20px}
    Adjust to your liking, if how ever you just wanted to do this with one paragraph, give it a class:
    Code HTML4Strict:
    <p class="more-space">Blah bblah blah</p>
    Then in the .css:
    Code CSS:
    p.more-space{margin-bottom:20px}
    There is probably a better classname than more-space but that's up to you.

    Hope it helps.

  3. #3
    SitePoint Zealot nwingate's Avatar
    Join Date
    Jan 2004
    Location
    Texas
    Posts
    195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I'm not really looking to do it for all paragraphs but I just want to give authors the ability to format their articles better. So, if they want to add more space after one paragraph so it fits around am image better or to line up a title right they could just hit the enter button again. They aren't coders so I think that's going to confuse them.

    Thanks for the help. I may adjust the spacing overall a bit but I wish there was a way to allow authors with no coding background to just hit enter twice to add more space. Seems easy enough?

  4. #4
    SitePoint Zealot harryzimm's Avatar
    Join Date
    May 2004
    Location
    Oxford England
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's not a solution I am proud of, but here is what I ending up doing in desperation until I find a better way...

    x
    x
    x

    ... then I changed the font color to white.

    It hurt to do this... it was like time travel back to the last century
    WebPie - Oxford and Beyond


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •