A jumbotron is a design element that applies a background image to a block of content. A videotron does the same, but uses a background video instead. Images and videos used as backgrounds are intended for decorative purposes only. These elements are not intended to convey content explicitly. Videos are automatically muted and looped.
Jumbotrons can be applied to:
- Page headers
- Page headings
- Page sections
Videotrons can be applied to:
- Page headers
- Page headings
Examples
Window-width videotron heading.
Datadef elements
The following datadef elements apply to all jumbotron and videotron instances.
Datadef element | Presence | Description |
---|---|---|
... > Jumbotron/Videotron > Aspect ratio |
| Used to set the aspect ratio of the jumbotron or videotron:
|
... > Jumbotron/Videotron > Custom aspect ratio (w:h) |
| Appears only if 'Aspect ratio' is set to 'custom'. Provide the aspect ratio in w:h format, with a colon separating the width value from the height value. |
... > Jumbotron > Background image |
| Applies only to jumbotrons. Identifies the image to be used as the header background. Tips:
|
... > Videotron > Video |
| Applies only to videotrons. Identifies the video to be used as the header background. Tips:
|
... > Videotron > Still frame image |
| Applies only to videotrons. Identifies the image to be displayed when the background video cannot be loaded or played. Tips:
|
... > Jumbotron/Videotron > Additional content |
| Provide any additional content here to be displayed in the page header below the masthead. Accessibility note: do not insert headings here when working with page headers. You can achieve the look of headings using the provided wysiwyg styles. Refer to 'Styling wysiwyg content'. |
... > Jumbotron/Videotron > Content alignment |
| Aligns the additional header content to either left or center. |
... > Jumbotron/Videotron > Width |
| Indicates the width of the heading background image or video.
|