Skip to content

Typography ​

Guppy uses a consistent, responsively scaling typography on top of Bootstrap 5. All values are adjustable through the theme configuration.

Where to find the settings ​

In the admin: Content → Themes → Guppy Theme → Configure. Typography fields are spread across multiple tabs:

  • Layout / Body: base font size, font family
  • Header / Productcard / Detailpage: area-specific headlines

Typography scale ​

HeadlineSizeLine height
H132 px44 px
H224 px36 px
H320 px32 px
H418 px28 px
H516 px24 px
H615 px21 px
Body1 rem (16 px)–

For display sizes (hero headlines) three additional steps are available: Display 1, 2, 3.

Since Guppy 2.9.0: H6 line height applies

Until 2.9.0 the field Heading 6 line height had no effect, and H6 headings used 18 px. Now the field applies: with the default 21 px, H6 headings get a little more line height, for example the average rating and the rating texts in the review area of the product page. To keep the old look, set Heading 6 line height to 1.2 × Heading 6 font size (18 px with the default 15 px). The text-only payment and shipping logos in the footer follow the same field.

Secondary text colour ​

Secondary text colour (Typography block, since 2.9.0) colours muted text: help texts under form fields, captions, the breadcrumb and similar secondary information. Leave it empty to use the text colour. Choose a colour with at least 4.5:1 contrast against the background (WCAG 1.4.3).

Add your own fonts ​

Use the Theme Builder to upload your own .woff/.woff2 files, the builder generates the @font-face rules automatically and exposes the families as selectable values in the typography fields.

Manual integration via a child theme: see Variables & Tokens.

Default font ​

DmfGuppyTheme ships with Inter as the default font family. The typography variables are tuned to read well on modern screens while staying compact on mobile.

Notes ​

Consistency

When changing font sizes, keep the scale balanced, don't make H2 larger than H1, for instance, or semantic readability suffers.

Full reference

All SCSS variable names for typography: Config Schema → Typography.