Hero sections

A hero section is a lightweight container for showcasing content. They are commonly used on the Home page, but can be used in any page template.

Usage

Use .hero to create a flexible hero section.

Although hero section elements are simple and can be used in a variety of contexts, those used on the Home page of our themes typically contain configurable background images, colors and headings. Shape dividers and popular search terms can also be added using theme settings.

Hero section with background

Background settings

NameDescription
Home hero imageThe background image to use for the hero section on the Home page.
Hero background color 1The primary hero background color.
Hero background color 2The secondary hero background color.
Hero background gradientDetermines how the two colors above are used.
Hero image styleDetermines how the underlying hero background image should be displayed.

The background image will be visible if one or more of the background colors are semi-transparent or the Hero image style setting is set to “Overlay”.

Layout settings

NameDescription
Hero shape dividerThe shape divider, if any, to use at the bottom of the hero element.

To add or restyle hero sections without code, use the visual builder.

Questions or feedback about this article? Let us know