How To Reduce Spacing Between Horizontal Line And Text Of WordPress Guide

Filed Under:


If you use the horizontal line function of WordPress text editor (the area where you write your blog post), you find the spacing between the text above and the line is rather far apart.

See the visual below:


Personally I find the spacing between the text and underline is unnecessarily wide. You can make this gap a little closer as shown below:

This is what you do:

1.  After typing in the text in the Visual tab, click the Text tab of your WordPress text editor.

2.  Now  see the example as shown below, as how to make the horizontal line closer or nearer to the text.

<p>here is your text</p>
<hr style='margin-top:-1em' />

3.  In other words, you need to add in the details highlighted in red color. The two p-tags and the text below.

4.  Then click the Update button on the right side of the page.

That's all to it. 

Written by: Kher Cheng Guan
What Is This Why Like That How To Do
Related Posts Plugin for WordPress, Blogger...