Skip to content
Get Started Download Report a problem

Hero

The Hero block presents a main message, supporting text, and a call to action near the top of a Homepage, Landing Page, or Default Page.

Block details

Supported page types
  • Homepage
  • Default Page
  • Landing Page
Block role
Standalone on Homepage and Landing Page Top-slot content on Default Pages.
Allowed blocks No nested blocks
Frontend view of the Hero block.
Hero rendered in the front end.
ControlInputDescription
HeadingTextMain hero heading.
Paragraph contentRich textSupporting copy beneath the heading.
CTA TextTextCall to action label.
CTA URLURL or page searchCall to action destination.
  • The content field supports multiple paragraphs.
  • Text formatting includes bold text and links.
  • The call-to-action label uses the compact 14px button type size.
  • The first Hero block on a page receives the default HTML ID hero. Further Hero blocks use hero-2, hero-3, and so on. The ID can be replaced through Gutenberg’s Advanced → HTML anchor setting.
  • This block is separate from the homepage title section managed through the Customizer.
  • It can be inserted directly on the Homepage and Landing Page templates.
  • On a Default Page, it can be inserted only in the Top slot of Page Layout - 3 Slots.