Jumbo box
A jumbo box is a full-width content container which visually enhances a piece of information.
Variations
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis, facere reiciendis exercitationem eligendi ducimus ipsum quos impedit saepe ab cum ad ratione eius nemo rem asperiores dolorem dolores obcaecati voluptas.
Lorem ipsum dolor sit ametComponent used in
Page template
Details
Usage
The jumbo box component should be used whenever you want to emphasize visual content, in most of the cases for big visuals.
Guidelines
- Image resolution should be 1000x750
- Image properties recommended:
- 1280x700 (resolution)
- 2560x750 (resolution)
- 1000x750 (resolution) for the promo preset
- JPG and WEBP (format)
- Character limits recommended:
- 75 characters for the heading (
h3) - 280 characters for the paragraph (
p)
- 75 characters for the heading (
HTML structure
Overall HTML view of a jumbo box component:
div.jumbo-box
div.upper
div.content-box
h3pdiv.lower
div[data-image]Nesting element might significantly affect the HTML markup.
Presets
Jumbo box presets:
| Preset | Description |
|---|---|
| Default | Default preset. |
| Full width | Whenever the available picture should be expanded to the edges. |
| Promo | Whenever you want to add a description to the image. |
Presets are ready to use HTML structures.
Variations
Jumbo box variations:
| Variation | Description |
|---|---|
| Default | Template composed of an image, a title, a blurb and a link. |
| With aside description | Template composed of an aside box with written content. |
Modifiers
Jumbo box classes:
| Class | Description |
|---|---|
-top-arrow | Adds an arrow on top of the component. |
-inner-top-arrow | Adds an arrow on top of the image. |
-dark-blue | Changes the background colour. |
-full-width | Makes the image expand to the edges. |
-overlay | To be used whenever a background image is added to the div.lower container. |
-no-space-below | Removes component margin bottom. |
-constrained | Adjusts content to match the left and right limits of the heading text. |
To enable a modifier, add it as a class to the outermost element of this component.
Embedding
The jumbo box component cannot be embedded inside other component.
main (HTML file)
div.jumbo boxNesting
The jumbo box component can be used as a container of other components and/or elements (a nested component becomes an element of the parent component):
| Element | Description |
|---|---|
| Exchange rates | To be used solely in the exchange rates pages. |
| Iframe | Whenever you need to feature an iframe. |
| Video | Whenever you need to add a video directly in a jumbo box. |
main (HTML file)
div.jumbo-box (component)
Elements are component add-ons which can be placed directly inside the component allowing you to adapt the HTML structure to your needs. The correct markup can be checked in the element page.