Set a default line height for your entire site

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

We’re transitioning to a new UI, and are in the process of updating our Webflow University content.

To set the default line height for the entire site you’ll need to set the line height on the Body (All Pages) tag. The style will cascade down to all text in the site, 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.

Resources

Table of contents

Continue learning

Hmm…we couldn’t find any results for “search query”. Try a different search term or check out our community forum.

Search the forumReset the filter
Load more

Filter

Reset
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Topics
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Back to top