Hero In Progress
A large, prominently placed banner with both image and text that can also include a button to drive traffic.
- Default hero
- Hero background top
- Hero background right
- Hero background bottom
- Hero background left
- Hero full height
- Hero tint
- Hero text top center
- Hero text top right
- Hero text bottom right
- Hero text bottom center
- Hero text bottom left
- Hero text center left
- Hero text center
- Hero text center right
Default hero orc-c-hero
A large, prominently placed banner with both image and text that can also include a button to drive traffic.
Hero background top orc-c-hero--bg-top
This aligns the background image along the top of the hero.
Hero background right orc-c-hero--bg-right
This aligns the background image along the right of the hero.
Hero background bottom orc-c-hero--bg-bottom
This variant places the background image along the bottom of the hero.
Hero background left orc-c-hero--bg-left
This variant places the background image along the left side of the hero.
Hero full height orc-c-hero--full height
Gives the hero a height the same size of the viewport.
Hero tint orc-c-hero--tint
Overlays the image with a slight gray tint.
Hero text top center orc-c-hero--text-top-center
This centers the text toward the top of the image.
Hero text top right orc-c-hero--text-top-right
Right-justifies the text toward the top of the image.
Hero text bottom right orc-c-hero--text-bottom-right
Right-justifies the text toward the bottom of the image.
Hero text bottom center orc-c-hero--text-bottom-center
Center-justifies the text toward the bottom of the image.
Hero text bottom left orc-c-hero--text-bottom-left
Left-justifies the text toward the bottom of the image.
Hero text center left orc-c-hero--text-center-left
Left-justifies the text at the center of the image.
Hero text center orc-c-hero--text-center
Places the text at the absolute center of the image.
Hero text center right orc-c-hero--text-center-right
Right-justifies the text at the center of the image.
Usage
When to use
Heroes are so named because they’re strong, mighty, and get the job done. Use a hero block to draw attention and traffic to a high-priority campaign, page, or event.
When to consider an alternative
If content isn’t the highest possible priority, a media block is a more lowkey way to drive traffic to it. For imagery-focused content that doesn’t necessarily need to link anywhere, consider a card, likely a picture card.
Class Name | Description |
---|---|
Required
|
Apply to the hero block’s containing HTML element. This class sets up the background-image handling and text color for the unit. The |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Modifier
|
Add to the |
Required
|
Apply to the container for the card body, which typically includes a title and description (see below) but can include any arbitrary markup including buttons for a call to action. |
Recommended
|
Applied within the |
Recommended
|
Apply to the card’s heading inside the card body. The recommended element for this class is |
Recommended
|
Apply to the card’s description text inside the card body. The recommended element for this class is |
|
Apply within the |
|
Apply within |