All typographic styles and elements can be applied using the Zendesk article editor, though custom class names can only be added using the Source Code view of the editor.
Headings
Use .h1
through .h6
classes when you want to match the font styling of a heading but cannot use the associated HTML element.
Use font size utilities when you need to create larger (or smaller) headings.
Inline text elements
You can also use our text color and background color utilities to apply theme colors to some or all of a paragraph.
Abbreviations
The HTML Abbreviation element (<abbr>
) represents an abbreviation or acronym.
Use the optional title attribute to provide an expansion or description for the abbreviation.
Customization
The $heading_font
and $color_heading
theme setting variables control the font family and color of headings, respectively.
Variable | Description |
---|---|
$margin-heading | The margin applied to <h1> - <h6> elements. |
$line-height-heading | The line height applied to <h1> - <h6> elements. |
$font-size-h1 | The font size of the <h1> element. |
$font-weight-h1 | The font weight of the <h1> element. |
$font-size-h2 | The font size of the <h2> element. |
$font-weight-h2 | The font weight of the <h2> element. |
$font-size-h3 | The font size of the <h3> element. |
$font-weight-h3 | The font weight of the <h3> element. |
$font-size-h4 | The font size of the <h4> element. |
$font-weight-h4 | The font weight of the <h4> element. |
$font-size-h5 | The font size of the <h5> element. |
$font-weight-h5 | The font weight of the <h5> element. |
$font-size-h6 | The font size of the <h6> element. |
$font-weight-h6 | The font weight of the <h6> element. |
$color-mark | The color of the <mark> element. |
$bg-color-mark | The background color of the <mark> element. |