Webflow maintenance

How do I set the default paragraph style in Webflow?

Style Webflow's All Paragraphs tag for the site default, then use a class when one paragraph should look different.

THE SHORT ANSWER

Select a paragraph with no class, open the Style selector, and choose All Paragraphs. Styles there become the default for every paragraph unless a class overrides one. Webflow's line height example is 1.6 with a unitless hyphen, so the spacing scales with the font size. Bottom margin separates paragraphs. Line height does not. The Body (All Pages) tag is the broader default under that tag.

Style the All Paragraphs tag on purpose

All Paragraphs is the default for paragraph elements that do not have a more specific class. Select a paragraph that has no class. Open the Style panel, click the Selector field, and choose All Paragraphs. The tag label is pink, which is how Webflow marks a tag, as opposed to a blue class.

Anything you change while that tag is selected lands on every paragraph that inherits it. That includes paragraphs you add later. If you only wanted the intro on the homepage to change, stop and put a class on that one paragraph instead. The tag is the site default.

The Body (All Pages) tag sits above this. Webflow recommends setting the default font family, font size, and line height there, then overriding headings on the heading tags. Paragraphs can still differ from that body default once you style All Paragraphs. An orange mark on a property means the value is inherited. Click it to see whether it comes from the body tag.

Example: the marketing site should read in one size and one color, on the homepage and on the contact page. Style All Paragraphs once. Do not restyle each text block by hand.

Set line height so lines do not collide

Select All Paragraphs, then open Typography and click the Line height field. Webflow's own example for this tag is 1.6. Set the unit to unitless by typing a hyphen after the value, or by choosing the hyphen in the unit menu. Unitless means the line height is a multiple of the font size, so it scales when the size changes.

Webflow's typography guidance says line height for paragraphs and blocks of text should be at least 1.5 times the font size. The 1.6 example clears that bar. A percent also multiplies the font size, and Webflow says percent line height can cause inheritance problems, so use the unitless value. Px, em, or rem keep a fixed line height when you want that control instead of a multiple.

The font size guide is the size itself, including why rem follows a visitor's browser text setting. This page is the default paragraph, including the space between lines. Set the size on the tag or on the body, then set the unitless line height beside it.

Use bottom margin between paragraphs

Line height is the space inside a paragraph, from one line to the next. It does not insert a gap after the paragraph ends. Webflow says to use the bottom margin on All Paragraphs for that gap, the way a return key separates paragraphs in a document.

Select All Paragraphs, open Style panel, Spacing, and set a bottom margin. A paragraph that sits against the next paragraph usually has line height set and margin left at zero. Add the margin on the tag so every default paragraph gets the same gap.

Padding is the space inside the paragraph's box. Use it when the words feel glued to a background color. Use margin when the next paragraph should move down. The margin and padding guide is those two controls on any element. On All Paragraphs, bottom margin is the control that separates one paragraph from the next.

Example: body copy is 1rem with a unitless line height of 1.6, and each paragraph has 16px of space under it. Headings keep their own tag, so this margin does not shove every H2 down unless you set margin on the heading tag too.

Override one paragraph with a class

A class beats the tag for the element that wears the class. Click the paragraph that should differ, type a class name in the Selector, and change only that class. Quote is a clear name for a pull quote. Intro is a clear name for the first paragraph on the homepage.

The other paragraphs stay on All Paragraphs. If you edit the tag later, Quote does not pick up the properties you set on the class. If Quote never set a color, it can still inherit the tag color. That is the orange inheritance mark again.

Do not clear All Paragraphs to fix one odd paragraph. You would restyle the whole site. Add the class, change the class, and leave the tag as the default.

Paragraphs inside a rich text element use the same tag. Styling All Paragraphs changes those too, unless a class on the rich text element nests the paragraph tag. The rich text style guide is that nesting step for a CMS article. This page is the site-wide paragraph default.

Check a second page after you save the tag

Tags are wide. After you change All Paragraphs, open another page that uses body copy, including a Collection template if you have one. Read a normal paragraph and one paragraph that has its own class. The normal one should show the new line height and the bottom margin. The classed one should keep the override.

Headings are separate tags, All H1 Headings through All H6 Headings. The heading guide is which level to use. Styling All Paragraphs does not assign those levels, and it does not set the link color. All Links is its own tag, and it also covers buttons and link blocks, so leave it alone while you are only changing paragraphs.

Setting the default paragraph style on a site you already have is ordinary type work. The membership is one plan for every existing Webflow site: $999 per month, including 10 hours of Webflow work. Additional work is $75 per hour and starts only after you approve a written estimate.

Questions & answers

I changed All Paragraphs and the buttons changed too. What did I style?

All Paragraphs affects paragraphs. All Links affects text links, buttons, and link blocks. If a button changed, the style is on All Links or on a shared class, not only on All Paragraphs.

Should line height use a percent?

No. Webflow recommends a unitless line height. A percent can inherit in ways that surprise you. Choose the hyphen in the unit menu, or type a hyphen after the number.

Will this change paragraphs inside a rich text element?

Yes, if those paragraphs use the tag and no more specific class. To limit article styles, nest the paragraph tag inside a class that only the article uses. The rich text guide is that nesting step.

Does the heading level set the paragraph font?

No. All H1 Headings through All H6 Headings are separate tags. A paragraph stays on All Paragraphs unless you put a class on it.

Sources & further reading

Need a hand with your Webflow site?

View membership