Hero: Full Width Image

Last updated

A full-width image hero with a heading, subheading and one call-to-action button. Upload a separate image for phones, and the hero stays well framed on any screen.

Demonstration

Full Width Image Hero Demo

Hero — Full Width Image Settings

Background Image: The full-width image behind the heading.

Background Image — Mobile: Optional. Used on small screens (max-width: 767px) in place of the main background image.

Heading: The hero's main heading, output as the page's H1.

Heading Size: Leave on Default to use the theme's heading size.

Subheading: Optional line of text below the heading.

Subheading Size: Options: Large, X-Large, XX-Large.

Button Text: The button's label. Leave the Button Link's Link Text blank and use this field instead.

Button Link: The button's URL and whether it opens in a new tab.

Button Style: Uses the shared Bootstrap theme palette.

Button Size: Use large button (btn-lg).

Overlay Color: Choose a color and opacity to improve text contrast over the image.

Minimum Height: Options: Small, Medium, Large, Full Viewport.

Text Alignment: Options: Left, Center, Right.

Heading Color: Default inherits the theme color.

Custom Heading Color: Used when Heading Color is Custom.

Subheading Color: Default inherits the theme color.

Custom Subheading Color: Used when Subheading Color is Custom.

Button Text Color: Optional. Applied as an inline override on top of the selected Button Style.

Button Background Color: Optional. Applied as an inline override on top of the selected Button Style.

Usage Notes

Put it first: As the first block on a page or post, the hero renders flush: full width above the content, behind a Fixed Top navbar. The template then skips its own page title, because the hero’s heading is the H1.

Your own H1: Leave the hero’s Heading empty and the hero prints no heading, so you can add an H1 in the content below it. The page title still stays hidden.

Not the first block? The template then prints the page title as an H1 above the content. On a Page, turn off Display Page Title (Page Display Options) so the hero’s heading is the only H1.

One hero per page: The heading is always an H1. A second hero, or a hero further down the page, adds another H1.