SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Feb 6, 2009, 13:04 #1
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.
-
Feb 6, 2009, 13:56 #2
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}
Code HTML4Strict:<p class="more-space">Blah bblah blah</p>
Code CSS:p.more-space{margin-bottom:20px}
Hope it helps.
-
Feb 6, 2009, 14:15 #3
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?
-
Feb 13, 2009, 03:38 #4
- 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 centuryWebPie - Oxford and Beyond
Bookmarks