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
| Headline | Size | Line height |
|---|---|---|
| H1 | 32 px | 44 px |
| H2 | 24 px | 36 px |
| H3 | 20 px | 32 px |
| H4 | 18 px | 28 px |
| H5 | 16 px | 24 px |
| H6 | 15 px | 21 px |
| Body | 1 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.