Features/Designer

Global tag styles

Set site wide styles for HTML tags like body, h1, p or li, applied to every matching element.

Besides normal classes you can create global classes that target an HTML tag instead of a class name. A global 'h1' style applies to every h1 on the site, so you can define base typography and defaults once. Global tag styles live next to classes in the Classes panel and support breakpoints and states like any class.

How it works

  • Create from Classes panel > Create Class > Global: Yes ('Global class (body, h1, p, li and more)'); No creates a normal class.
  • Output: body main <tag> { ... }; a 'body' global compiles to main { ... }.
  • Listed in a separate section of the Classes panel.
  • The system can create a tag class automatically when needed.

When to use it

  • Set base font size and line height for all paragraphs
  • Define h1 to h6 styles once for the whole site

Limitations

  • Applies to all matching tags inside the site main area; there is no per page scope

Availability

  • Works in Designer.
  • Included in every plan.

How to use it.

  1. Open the Classes panel
  2. Click Create Class
  3. Enter a tag name like h1 and choose Global: Yes
  4. Style it in the Design panel

Questions.

Do global tag styles override classes?

Where do I find them?

Related features.

No card needed

Build it today.Pay when it goes live.

Every feature is unmetered while you build. Checkout opens the first time you publish.