Word Press: Adding Space Between Lines
Posted in Word Press | No Comments
Tagged Under : add space, line break, tutorial, Word Press
For the longest time, this newest version of Word Press has been kicking my butt on how to put breaks in my text so it wasn’t all bungled up. I typically post in the HTML tab and use the code but it no longer works:
<br />
The solution is simple. You need to add a bottom margin to your entry p tag. To do so, do the following: Design > Theme Editor > Select Stylesheet style.css if it’s not already open. Find the code on your style sheet that starts with .entry{ such as this:
.entry{
line-height:20px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
padding-top:5px;
padding-left:3px;
padding-right:5px;
padding-bottom:20px;
}
Add this code right below this symbol } at the end of it:
.entry p{
margin-bottom: 1em;
}
The end result is to add 1em or 3px to the margin-bottom for the entry p tag. Doing this, you can now write your posts with the content between two p tags such as the following example, and you will be set:
<p>content content content content content content</p> <p>content content content content content content</p>
The results will look like this with a natural space between the lines. Play with the size until you’re happy:






