HomeНаука и техникаRelated VideosMore From: WPBeginner - WordPress Tutorials

How to Add Single or Double Line Spacing in WordPress Easily

109 ratings | 11274 views
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 http://www.wpbeginner.com/beginners-guide/how-to-add-single-double-line-spacing-in-wordpress If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos. Check us out on Facebook https://www.facebook.com/wpbeginner Follow us on Twitter http://twitter.com/wpbeginner Check out our website for more WordPress Tutorials http://www.wpbeginner.com
Html code for embedding videos on your blog
Text Comments (28)
Haley J (8 days ago)
the best explanation!
Glad you liked our video :)
Deeg Daws (1 month ago)
The Theme I am using does not have the "additional CSS" option? What can I do around this if I want to play with the line spacing and line height? Thanks in advanced!
WordPress should allow you to edit that normally with every theme if you are on WordPress.com could likely be your issue.
pavan kumar (1 month ago)
Thank you. It really helped me. Keep doing more videos on WordPress
Glad our video could help :)
Ofir Kostiner (2 months ago)
There is a better way using Elemntor?
ofir Kostiner (2 months ago)
Thx !!
While that is another option, it is not inherently better
English Squared (2 months ago)
After watching your video, I no longer have a head ache! Thank you!
julian David Castellanos (2 months ago)
Thank you!
Glad our video helped :)
Sina (2 months ago)
Short and effective. Thanks very much!
Glad you liked it :)
Chalk Talk Media (3 months ago)
Thank you, thank you! Spacing has been an ongoing problem for me. Alas, I am now all set!
Eric Paquette (5 months ago)
How do I do it for an H3 header?
If you mean through CSS then you would change the p to h3 at 2:17
JandB Travels (6 months ago)
We can stop pulling our hair out!?! Thank you!
Sport Game Activity (6 months ago)
Hy Maidam can you tell me how to adjust title area spacing bar in WordPress because in my theme 2line goes for 1st line
For that, you would need to edit the CSS for your title area using Inspect element for what to target: http://www.wpbeginner.com/wp-tutorials/basics-of-inspect-element-with-your-wordpress-site/
Cr3ated (6 months ago)
Exactly what I needed. Thanks.
Chandan Gupta (7 months ago)
How to add side spacing??
It would depend on what you mean, you may want to try padding left/right. For how to test it, you could take a look at our article: http://www.wpbeginner.com/wp-tutorials/basics-of-inspect-element-with-your-wordpress-site/
Infos Tutos (7 months ago)
good morning, thanks for all videos tutorials that is the best channel wordpress
Omor Faruqee (8 months ago)
Thank you so much
Enkii Muto (8 months ago)
Thank you for always making videos about wordpress =)
Scripty Vijay (8 months ago)
Amazing 😍
Post any video how to get traffic please ✌ Thank you for all the video 👍 You are the best 😊

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.