WordPress For Non-Techies

How to Add Single or Double Line Spacing in WordPress Easily

Rate this post



Are you wanting control over your single and double line spacing on your WordPress site? When using word processors like Microsoft Word you have the ability to control how your lines of text are being spaced on your site but not in WordPress. In this video, we will show you how to add single and double line spacing in WordPress.

More than anything else, the line spacing for your site is controlled by the theme that you have active. You may want to reach out to the contact for your theme for if there is a built-in option to edit this first.

By default when you press Enter on your keyboard to add a line break, WordPress will consider it the end of a paragraph and add a double line space. The only time you would not have this is if your theme overrides this feature. To only have a single line you would use the Shift key and Enter then you will not have the extra space between the lines.

To attempt to override the settings in the theme itself you will need to add some CSS to your WordPress site. You would want to start by going under Appearance, Customize and at the bottom there should be a section called ‘Additional CSS’. For the CSS that we are adding to the site, you would want to visit our written article where you can copy and paste the code without issue.

The line-height will change the spacing of each line so your single spacing will be changed based on what em value you set. For changing the spacing of the double line spacing you would want to change the padding-bottom value and for that, we normally use px rather than em.

Text version of this tutorial

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook

Follow us on Twitter

Check out our website for more WordPress Tutorials

#WordPress #WordPressTutorial #WPBeginner

source

Mazi

Mazi has nine years of web development experience with the past five years spent honing his skills with WordPress plugins and themes. He's an expert in WooCommerce and is the author of the Simple Sales Tax plugin, a popular sales tax compliance solution for WooCommerce. Brett understands the importance of excellent communication, prides himself on producing high-quality code, and is comfortable working solo or as part of a team.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button