Back to all lessons
Lesson library

Set a default line height for your entire project

Use different units for line height to make it scale automatically with — or be independent of — font size.

This video features an old UI. Updated version coming soon!

To set the default line height for the entire project you’ll need to set the line height on the Body (All Pages) tag. The style will cascade down to all text in the project, unless there are more specific styles set on an element.

Setting line height on a single text element

Changing the line height on a text element will only affect its text content. It overrides the styles that are coming from the element’s tag or the Body (All Pages) tag.

Try Webflow — it's free