Skip to content

Hero Banner ​

DC Theme - Hero Banner is the headline band at the top of a page: an eyebrow, a headline, supporting text and up to two buttons, with a picture, a video, another module or nothing beside the words.

Add a Hero ​

  1. Go to Content → Site Modules → New and choose DC Theme - Hero Banner
  2. Set the position to hero
  3. Fill in the settings below
  4. On the Menu Assignment tab, pick the pages that should show it

Use one hero per page. The hero band is full width by default – see Layout.

Shape ​

SettingDefaultDescription
What goes with the wordsA pictureA picture, A video, Another module or Nothing. Pick this first: it decides which settings below appear
Where it goesBeside the wordsBeside the words, Beside, on the left, Below the words or Behind the words. Hidden when the companion is Nothing
Shading behind the words62Behind the words only. How much black is laid over the picture or video, as a percentage from 20 to 95. 62 keeps white text readable on a white photo; a dark picture carries the words at 40 or less
Module positionhero-formAnother module only. Publish a module to this position and it appears in a panel beside or below the words
WidthSame width as the wordsBelow the words only. Full width runs the picture or video across the whole band and crops it to a set height
BackgroundPage backgroundPage background, Surface tint or Brand colour. The text on Brand is picked to stay legible

Behind the words needs a picture or an uploaded video. With a YouTube or Vimeo link, another module or nothing, the hero falls back to Beside the words, and the form warns you before you save.

A Form Beside the Words ​

Joomla has no form module of its own. Set What goes with the words to Another module, then publish your form extension's module to the hero-form position, assigned to the same pages. Any module works there – the sample data puts a Custom module with contact details in it.

Words ​

SettingDefaultDescription
EyebrowEmptySmall line above the headline, such as a sector or location
HeadlineEmptyThe main promise. Short works better than complete
Headline levelHeading 1Heading 1, Heading 2, Heading 3 or Plain text. Heading 1 on the home page. Elsewhere the page title is already the Heading 1, so use Heading 2
Supporting textEmptyAn editor field for a sentence or two under the headline

The Picture ​

Shown when What goes with the words is A picture.

SettingDefaultDescription
ImageEmptyBehind the words uses it full bleed, so pick something that still reads with a dark wash over it
Image descriptionEmptyAlt text for screen readers. Leave empty only if the image is purely decorative

The Video ​

Shown when What goes with the words is A video.

SettingDefaultDescription
Video fromA file on this siteA file on this site or YouTube or Vimeo
VideoEmptyAn MP4 file. Keep it short and compress it well
Video linkEmptyThe ordinary link from the address bar, such as youtube.com/watch?v=..., youtu.be/... or vimeo.com/.... No embed code needed
Video posterEmptyThe still shown before play. Falls back to the hero image when empty
Image descriptionEmptyDescribes the video for screen readers

A YouTube or Vimeo video loads nothing from those sites until the visitor presses play, and then plays from youtube-nocookie.com or with Vimeo's do-not-track option. An uploaded video behind the words plays as a background, with a button to stop it.

Buttons ​

SettingDefaultDescription
Button textEmptyThe main button. Leave empty for no button
Main button colourBrandBrand or Accent. Keep the accent for the one action that matters most
Button linkEmptyWhere the main button goes
Button iconEmptyA Bootstrap Icons name shown before the text, such as arrow-right. Needs Bootstrap Icons on in the template style
First button opensIn this tabIn this tab or In a new tab
Second button textEmptyAn optional second, outlined button
Second button linkEmptyWhere the second button goes
Second button iconEmptyA Bootstrap Icons name, such as whatsapp or telephone
Second button opensIn this tabIn this tab or In a new tab

A button only shows when it has both text and a link. A new tab suits a booking system or another site. Keep pages on your own site in the same tab.

Next Steps ​

Joomla Extensions by Contona