Skip to content

Hero

The Hero is the first section of a page. It holds the main headline, a short text, up to two buttons and a large photo.

In the admin: a page’s Content, block Hero

A Hero block on the home page, with an announcement, a headline, a short text, two buttons and a photo
  • Headline is the page’s main message. Keep it short: it is set in very large type.
  • Subheadline adds one or two sentences. Leave a blank line between paragraphs.
  • Announcement (shown above the headline) is the small pill above the headline, with its own link. Leave both empty to hide it.
  • Primary button text and Link make the dark button. Secondary button text and Link make the lighter one next to it.
  • Image caption shows in a chip at the bottom corner of the photo.
  • Center the layout centres the text and makes the headline a little smaller. The Pricing and Contact pages use it.
Field in the adminKindNotes
HeadlineShort textRequired.
SubheadlineText
Primary button textShort text
Primary button link (starts with /, https://, mailto:, tel: or #)Short text
Secondary button textShort text
Secondary button link (starts with /, https://, mailto:, tel: or #)Short text
ImageImage
Image caption (shown on the photo)Short text
Announcement (shown above the headline)Short textThe announcement pill above the headline.
Announcement link (starts with /, https://, mailto:, tel: or #)Short textWhere the announcement pill links to.
Center the layoutTick boxOn for the Pricing and Contact pages.
Section ID (lowercase, for links like /#pricing)Short text
  1. Open the Hero block.
  2. Under Image, select the picture and choose Replace, or remove it and choose a new one.
  3. Add alt text that says what the photo shows.
  4. Publish the page.

The photo is cropped to a wide strip on large screens and to a square on narrow ones. Choose a picture whose subject is in the middle. See Preparing images.

  • With no Image, the Hero shows text only. There is no placeholder picture.
  • Image caption shows only when there is a photo.
  • Empty button fields mean no button.
  • An empty announcement hides the pill.
  • On each page, the first Hero’s Subheadline becomes the page’s description in search results, and its photo becomes the picture shown with shared links, unless you fill in the SEO panel. See Search engine details of a page.
  • The sizes and colours of the headline and buttons are fixed. Email developer@example.com to change them.