Text

H1 and H2 heading with a dash 

Text
PATTERN OVERVIEW

A dash is an optional decorative element added below an H1 or H2 heading to help define the visual hierarchy of the page. The dash helps bring focus to the main sections of a page and will make the page easier for a user to scan.

The color of the dash is #ce4b27 (primary brand orange) on Optum branded sites. The color may vary on a CDO site that has a unique color palette.

A dash is used in the following situations:

GUIDELINES
  • The dash is either centered or left aligned based on the alignment of the heading.
  • Do not overuse the dash on a page since it will lose its effectiveness. Use it bring focus to the main sections of a page.
  • A dash is not a mandatory element for all H1 and H2 headings and is used when needed.

AEM component: A dash is created by adding the "dash" class to a H1 or H2 heading in the source edit view of the text editor.

Text
Requirements
  • Do not add a dash to an H1 or H2 heading that is styled with a class to visually appear smaller or when the heading color is orange.
  • A dash can appear on the following background colors: White, Off White (light gray - #efefee), Off Black, Black. Do not add a dash on top of a Dark Gray background.
Text

Example of HTML code that includes a class to add a dash.

 

H1 heading, copy and dash flush left:

<h1 class="dash" style="text-align: left;">Financial Services Solutions</h1>

 

H2 heading, copy and dash are centered aligned:

<h2 class="dash align--center" style="text-align: center;">Financial Services Solutions</h2>

Horizontal intro shourt Rule

Examples

Text

 Example 1  — Dash left aligned

Text

Financial Services Solutions (H1)

Help employees save and pay for health care and help employers manage risks and control costs.

Text

Financial Services Solutions (H2)

Help employees save and pay for health care and help employers manage risks and control costs.

Text

 Example 2 —  Dash centered on an Off White background

Text

Financial Services Solutions (H1)

Help employees save and pay for health care and help employers manage risks and control costs.

Text

Financial Services Solutions (H2)

Help employees save and pay for health care and help employers manage risks and control costs.

Text

 Example 3— Dash on a Off Black or Black background

Text

Financial Services Solutions (H1)

Help employees save and pay for health care and help employers manage risks and control costs.

Text

Financial Services Solutions (H1)

Help employees save and pay for health care and help employers manage risks and control costs.