The line height is coming from your theme’s css, naturally. In it you’ll see:
.post-content p, .post-content blockquote, .post-content ul, .post-content ol, .post-content address, .post-content dl, .post-content .wp-caption, .post-content pre {
line-height: 170%;
margin-bottom: 1.1em;
}
You’ll need to adjust the line-height value to one that suits you better.
When making changes to your theme styles, you’ll either want to use a custom css plugin (which you can browse here), or put it into the style sheet of a child theme. If you already have the Jetpack plugin installed, you can use its Custom CSS module.
When you get set up, add something like:
.post-content p, .post-content blockquote, .post-content ul, .post-content ol, .post-content address, .post-content dl, .post-content .wp-caption, .post-content pre {
line-height: 120%;
}
but with an adjusted value, of course. You can remove any of the elements listed that you don’t want affected by this change, making sure to separate each with a comma.
Thread Starter
kleand
(@kleand)
Thank you, Bill. I’ll give it a try.
Thread Starter
kleand
(@kleand)
Bill, stupid question, but I think when I wrote “post” in my initial support query, I really meant page. The line spaces on each of my pages is too great. How might I adapt page formats, not post formats? Apologies!
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Prepend each of those CSS selectors with “.page”, e.g.:
.page .post-content p, .page .post-content blockquote, .page .post-content ul [...] {
line-height: 120%;
}