Archived topic
Line Spacing
7 replies · Started by Adrian on February 21, 2023
How do I increase the line spacing in GeneratePress please?
Hi there,
What element are you referring to?
If it's the paragraph line space then this can be handled in Customizer > Typography:
https://docs.generatepress.com/article/dynamic-typography-overview/
If this doesn't help then please link me to the page in question so I can inspect the element.
Hi Leo,
I'm referring to the space between each line of text in paragraphs.
I've looked at Customiser but I can't see how to adjust line spacing without choosing a font - I'm happy with whatever font that GeneratePress uses (no idea what that is because it doesn't seem to be set anywhere) and so I don't want to mess it up and consequently the look of the site. Just want to adjust line spacing.
Thanks.
Have you watched the video here first?
https://docs.generatepress.com/article/dynamic-typography-overview/
Let me know :)
Yes, I watched the video and it did not help. If I start changing fonts the look of the site is going to change. If I don't know what font is currently being used (does anyone know???) how can I reset it back when the site is messed up because I chose the wrong font?
All I want to do is change the line spacing, it seems such a simple thing but clearly with GeneratePress it's not simple.
If you have not added a font then it would be the default system stack font:
https://css-tricks.com/snippets/css/system-font-stack/
This was explained in your previous topic already: https://generatepress.com/forums/topic/generate-press/#post-2536140
As for the line height, have you tried this yet?
https://www.screencast.com/t/8SycFFQA
If that doesn't help then please link me to the page in question.
Your 3rd option was the simple fix that I needed. Thank you.
No problem :)