Drupal Canvas Hero Section
Hero section
The big, bold hook at the top that makes people want to keep scrolling
The Hero section is a core layout element in Webhaven used to get straight to the point, showing your main message and a clear button to get people moving.
Pick a visual style to set the mood:
Minimal on your page background, Midnight dark with a deep blue gradient, or Spotlight with a soft glow from above. Midnight and Spotlight always run the full width of the screen, so there the width setting keeps your text comfortable to read instead of shrinking the colour.
This page shows available options, usage examples, and configuration details. Full property definitions are listed in the specifications table below.
Hero section (Minimal - centered)
Hero section (Minimal - left)
Hero section (Midnight - centered)
Hero section (Midnight - left)
Hero section (Spotlight - centered)
Hero section (Spotlight - left)
Hero specifications
An overview of the available properties on every hero section:
| Property | Description |
|---|---|
| Visual style | List (minimal, midnight, spotlight) to set the background treatment |
| Alignment | List (left, center, right) to align the hero. |
| Width | List (small, normal, big, full width) to control the width. |
| Spacing | List (none, tight, compact, normal, spacious) to control the spacing. |
| Caption | Text |
| Title | Text |
| Subtitle | Text |
| Button | Text with URL |
| Button secondary | Text with URL |