Skip to main content

Ivan Teoh

Something personal yet public

Adding Space Between Paragraphs

I keep improving my WordPress theme. I need to add some space between paragraphs in the post. So I added the code below in layout.css. For my case, only header 4, 5 and 6 will be used in the post. You can add header 1, 2 and 3 as well if you like.

83-layout.css (Source)

div.entry-content h4, h5, h6, p {
    margin-bottom: 5px;
}

Comments

Comments powered by Disqus