Hero

A full-featured hero pattern with semantic heading tags and extensive appearance controls.

View demo

Usage

Utilizing a Hero at the top of your page is a common UX pattern, and we've made it easy with the Hero block. We've also included a site-wide switch in the customizer where you can set whether you want your navigation to blend seamlessly with the Hero on pages where it is the first block, or if you'd like it to remain separate.

The Hero is a highly used and recognizable UX pattern β€” so much so that we automatically include it at the top of new pages. Because this is such a universal pattern, we include a lot of appearance options for you to sculpt the hero to fit your page.

Content fields

The Hero block supports four content fields: Headline, Subheadline, Button, and Logo. You can edit these inline or in the sidebar. If you delete a field inline, it is removed from the editor until you add content again from the sidebar.

The Headline renders as an <h1> and the Subheadline as an <h2> for semantic HTML structure. This only changes the underlying HTML β€” visual display is controlled separately by Headline Style and Subheadline Style (Customizer typography presets).

  • Headline and Subheadline β€” edit inline or in the Content sidebar panel
  • Link URL β€” set in the toolbar or sidebar; Link Text appears once a URL is added (defaults to "Learn More")
  • Logo β€” upload via Choose Logo; SVG is recommended. Size sets logo width in pixels (height scales to maintain aspect ratio). Remove with Remove Logo

Layout

  • Text Position β€” places headline, subheadline, button, and logo within the hero and sets text alignment on child elements. For example, lower-right positions content in that corner and right-aligns text. Right alignment reverts to left on mobile for readability.
  • Content Width β€” Wide (default) or Full for the inner content area

Typography and button

  • Headline Style and Subheadline Style β€” visual presets from your Customizer (h1–h6 or paragraph). These change appearance only; semantic tags remain h1 and h2.
  • Link Style β€” Button, Alt, Hollow, Secondary, Ghost, or Subtle for the call-to-action

Toggle White Text (reverse print) from the block toolbar or set Text Color in the sidebar. Use reverse print on dark backgrounds so nested content stays legible without setting text color on each element individually.

Size and height

Size presets control hero height:

  • Auto β€” same as a small hero on desktop, but expands to fit content on mobile
  • SM, MD, LG, XL β€” fixed height presets for desktop and mobile
  • Full β€” fills the viewport (ignores other size presets)

Fine-tune with Desktop Height (VH) and Mobile Height (VH) sliders. Values are in viewport height units.

Text legibility

Improve contrast of text on busy image or video backgrounds:

  • Overlay β€” gradient or solid color wash over the background (Overlay Style, Overlay Color, Overlay Opacity)
  • Text Box β€” wraps content in a container with a background; respects reverse print
  • Text BG β€” applies a colored background behind the text area only; often negates the need for an overlay

Select the clear overlay swatch or set opacity to 0% to disable the overlay.

Background

Use Type to choose a background β€” same options as the Section block:

  • Color β€” solid palette fill from your site colors
  • Image β€” photo with focal point, lazy-load, fetch priority, and optional blur
  • Pattern β€” repeating texture with Background Size scale control; SVG or seamless PNG recommended
  • Video β€” background video; the first-frame cover from the media library is used as the poster and mobile fallback

Image and video backgrounds expose BG Focal Point, Disable Lazy Load, and High Fetch Priority. Image backgrounds also support Blur and Blur Amount.

Block width

The Hero supports Wide and Full alignment from the block toolbar (default is full width). Full-width heroes span the viewport; wide alignment follows your content width.

Screenshots

Front-end

  • Contact-page hero with bottom-left copy over a photo, followed by an image-and-text band.
  • Hero with a boxed headline over a photo background and a zigzag edge into columns.

Editor

  • Image background settings β€” overlay opacity, focal point, and lazy-load options.
  • Hero content settings β€” headline, subheadline tags and styles, and text position.

Settings

Content

Headline setting in the block editor sidebar
Headline

Sets the main heading for the hero block. This text renders as an H1 for semantic HTML structure, making it important for page SEO.

Tag setting in the block editor sidebar
TagAvailable when Headline is enabled
  • h1default
  • h2
  • h3
  • h4
  • h5
  • h6
  • p
Style setting in the block editor sidebar
StyleAvailable when Headline is enabled

Controls the visual style of the headline using your Customizer typography presets (h1–h6 or paragraph). This changes appearance only; the underlying HTML remains an h1 for semantics.

  • h1
  • h2default
  • h3
  • h4
  • h5
  • h6
  • p
Subheadline setting in the block editor sidebar
Subheadline

Provides a secondary heading or descriptive text below the main headline. This text renders as an H2 for semantic HTML structure.

Tag setting in the block editor sidebar
TagAvailable when Subheadline is enabled
  • h1
  • h2default
  • h3
  • h4
  • h5
  • h6
  • p
Style setting in the block editor sidebar
StyleAvailable when Subheadline is enabled

Controls the visual style of the subheadline using your Customizer typography presets (h1–h6 or paragraph). This changes appearance only; the underlying HTML remains an h2 for semantics.

  • h1
  • h2
  • h3
  • h4
  • h5
  • h6
  • pdefault
Link URL setting in the block editor sidebar
Link URL
Link Style setting in the block editor sidebar
Link StyleOnly appears after you add a button URL.

Selects the visual style of the button, such as 'Button' for a primary call to action or 'Ghost' for a more subtle link. This helps differentiate the button's importance.

  • Buttondefault
  • Alt
  • Hollow
  • Secondary
  • Ghost
  • Subtle
Link Text setting in the block editor sidebar
Link TextOnly appears after you add a button URL.

Sets the text displayed on the button within the hero. Use clear, action-oriented text to encourage user interaction.

Text Position setting in the block editor sidebar
Text Position

Places headline, subheadline, button, and logo within the hero and sets text alignment on child elements. For example, lower-right positions content in that corner and right-aligns text. Right alignment reverts to left on mobile.

  • upper-left
  • upper
  • upper-right
  • left
  • centerdefault
  • right
  • lower-left
  • lower
  • lower-right
Logo setting in the block editor sidebar
Logo

Select an SVG logo to display in the hero. This is ideal for branding and can be resized without losing quality.

Size setting in the block editor sidebar
Size

Sets logo width in pixels when a logo image is present. Height scales automatically to preserve aspect ratio. SVG logos are recommended.

Appearance

Content Width setting in the block editor sidebar
Content Width

Sets whether hero content spans the full width of the block or uses the wide content width.

  • Full
  • Widedefault
Size setting in the block editor sidebar
Size

Sets the hero height preset (Auto, SM, MD, LG, XL, or Full). Auto matches a small hero on desktop but expands to fit content on mobile. When Full Page Hero is enabled, this preset is ignored and the block fills the viewport.

  • Auto
  • SM
  • MDdefault
  • LG
  • XL
  • Full
Desktop Height (VH) setting in the block editor sidebar
Desktop Height (VH)

Controls the height of the hero block on desktop screens, measured in viewport height (VH). Adjust this to ensure the hero fits well on larger displays.

Mobile Height (VH) setting in the block editor sidebar
Mobile Height (VH)

Controls the height of the hero block on mobile screens, measured in viewport height (VH). Set this to optimize the hero's appearance and content visibility on smaller devices.

Text Color setting in the block editor sidebar
Text Color

Flips text to the light palette for contrast on dark backgrounds. Affects the hero and all nested content. Use this instead of setting text color on individual inner blocks so you can change the background later without re-styling each element.

  • Dark
  • Light
Overlay (Text Legibility) setting in the block editor sidebar
Overlay (Text Legibility)

Improves text contrast on image or video backgrounds. Overlay adds a gradient or solid color wash. Text Box wraps content in a container with a background. Text BG applies a background behind the text area. All options respect reverse print.

  • Overlaydefault
  • Text Box
  • Text BG
Overlay Style setting in the block editor sidebar
Overlay StyleOnly visible when Overlay (Text Legibility) is set to "Overlay."

Chooses between a gradient or solid color for the text legibility overlay. This helps improve contrast between text and busy backgrounds.

  • Gradientdefault
  • Overlay
Overlay Color setting in the block editor sidebar
Overlay Color

Selects the overlay color from your palette (plus pure black or white) to darken or tint a background image or pattern for text legibility or style.

Overlay Opacity setting in the block editor sidebar
Overlay Opacity

Controls overlay strength from transparent to solid. At 100% the overlay is a flat color. Set opacity to 0% or choose the clear swatch to disable the overlay.

Background

Type setting in the block editor sidebar
Type

Chooses the background type: solid color, image, repeating pattern, or video. Image and video backgrounds expose focal point, overlay, lazy-load, and blur controls similar to the Section block.

  • Color
  • Imagedefault
  • Pattern
  • Video
Color setting in the block editor sidebar
ColorShown when the background type is "Color."

Selects a background color for the hero from the site's color palette. Use this when you want a solid color background for your hero.

Background Image setting in the block editor sidebar
Background ImageShown when the background type is "Image."

Choose a background image for the hero. This image will be displayed behind the hero content.

BG Focal Point setting in the block editor sidebar
BG Focal PointShown when the background type is "Image."

Sets the most important part of the background image, ensuring it remains visible and correctly cropped across different screen sizes. Drag the crosshairs to the desired focal point.

Disable Lazy Load setting in the block editor sidebar
Disable Lazy LoadShown when the background type is "Image."

Prevents the hero's background image from lazy loading. Enable this for images that are critical to the initial page load experience and should be visible immediately.

High Fetch Priority setting in the block editor sidebar
High Fetch PriorityShown when the background type is "Image."

Assigns a high fetch priority to the hero's background image. This tells the browser to load the image sooner, improving perceived performance for critical hero images.

Blur setting in the block editor sidebar
BlurShown when the background type is "Image."

Applies a blur effect to the background image. Use this to create a softer visual effect or to make text more readable over a detailed image.

Blur Amount setting in the block editor sidebar
Blur AmountAvailable after you turn on Blur.

Adjusts the intensity of the blur effect on the background image. Increase the value for a stronger blur, or decrease it for a more subtle effect.

Pattern setting in the block editor sidebar
PatternVisible when the background type is "Pattern."

Select a repeating pattern to use as the hero's background. This can add a subtle design element to your hero.

Background Size setting in the block editor sidebar
Background SizeVisible when the background type is "Pattern."

Controls the scale of the background pattern. Adjust this to make the pattern larger or smaller, depending on the desired visual impact.

Background Video setting in the block editor sidebar
Background VideoOnly appears when the background type is "Video."

Upload or select a video to play as the hero's background. The first-frame cover from the media library is used as the poster and mobile fallback.