Heading

1–2 minutes
78 words

Introduces new sections and organizes content structure using various levels of HTML header tags

Heading examples

Block example

theme.json

Heading

  • core/heading
CategoryConfiguration
Colorbackground: Available
gradient: Available
text: Available
link: Available
TypographyfontSize: Available
lineHeight: Available
fitText: —
textAlign: Available
textColumns: —
textIndent: —
Spacingpadding: Available
margin: Available
blockGap: —
Borderborder: Available
radius: Available
Filterduotone: Available
ShadowAvailable
CssAvailable

Json example

"heading": {
    "color": {
        "text": "var(--wp--preset--color--on-surface)"
    },
    "typography": {
        "fontFamily": "var(--wp--preset--font-family--montserrat)",
        "fontWeight": "400",
        "lineHeight": "1.225"
    }
}