Choose Font-Size Rules for a Divi 5 Typography System

By Dave TanguayPublished Updated Editorial draft

Quick Answer

Choose font sizes by text role, then decide whether each role needs a fluid range or explicit breakpoint values. In Divi, font-family variables and number variables serve different fields. Test the resulting text with real content, narrow layouts and enlargement before treating the typography system as ready.

Separate family, role and size

The May 25, 2025 publisher tutorial combined font variables, size values and presets. Keep those decisions distinct: a heading and a paragraph may share a family while using different size, weight and line-height rules.

List the actual roles the content needs, such as page title, section heading, body copy and action label. Keep the semantic heading level meaningful rather than choosing it solely to obtain a larger appearance.

Choose a sizing strategy for each role

Scroll horizontally to see all columns.

Approach Useful decision Review
Fluid range The text should change gradually between defined bounds. Minimum, intermediate and maximum layouts, plus browser enlargement.
Breakpoint values The composition needs explicit size changes at selected widths. Each state and the widths immediately around its transition.

CSS clamp() accepts a minimum, preferred value and maximum. Choosing those values still requires design judgment. A copied formula is not automatically appropriate for another font, container or title length.

Apply and verify the intended references

The current variable reference distinguishes font and number types and assignment to supported fields. Use clear role names and save the intended values. Reusable typography groups can then apply those choices where compatible.

Inspect actual field assignments and overrides. For conversion of existing static families, use our font-variable replacement guide; that is a separate operation from choosing a size strategy.

Review difficult content and enlargement

Use the longest likely title, multi-line action labels, body paragraphs, bold text and the characters the site actually needs. Check wrapping, spacing and clipping in the saved public page.

The W3C Resize Text guidance addresses enlargement without loss of content or functionality, with defined scope and exceptions. A fluid formula does not establish that result by itself. Avoid fixing a wrapping problem by making important text too small to read.

Record approved role rules and review examples in the design framework. Our WordPress website design service can help review the typography in its actual page contexts.

Key Takeaways

  • Choose sizes by content role, separately from font family.
  • Use fluid or breakpoint rules for a defined layout reason.
  • Review actual content and enlarged text before approval.

Frequently Asked Questions

Does a font variable also control every font size?

No. Family and numeric size are separate decisions and field types. Inspect the actual references and overrides.

Does clamp() guarantee readable, accessible text?

No. Its bounds and preferred value constrain a size calculation. Review real content, enlargement and the surrounding layout.

Should every heading have its own custom formula?

Create the role rules the site needs. Reuse approved rules where suitable and document justified exceptions.

Archives