Components

Banner

Image banners

Text box banner

© Copyright or credit
Headline sed elit lorem. Donec dictum.

Pellentesque tempor tincidunt quam, finibus vulputate eros iaculis pharetra orci arcu, dictum maximus arcu pellentesque eget. Cras massa nunc.

Fullscreen

Try it yourself on the playground

Playground

Image overlay banner

© Copyright or credit
Headline sed elit lorem. Donec dictum.

Pellentesque tempor tincidunt quam, finibus vulputate eros iaculis pharetra orci arcu, dictum maximus arcu pellentesque eget. Cras massa nunc.

Fullscreen

Try it yourself on the playground

Playground

Text highlight banner

© Copyright or credit
Headline sed elit lorem. Donec dictum.

Pellentesque tempor tincidunt quam, finibus vulputate eros iaculis pharetra orci arcu, dictum maximus arcu pellentesque eget. Cras massa nunc.

Fullscreen

Try it yourself on the playground

Playground

Plain background banner

Headline sed elit lorem. Donec dictum.

Pellentesque tempor tincidunt quam, finibus vulputate eros iaculis pharetra orci arcu, dictum maximus arcu pellentesque eget. Cras massa nunc.

Fullscreen

Try it yourself on the playground

Playground

Other variants

Note: Variants below can be applied to all kind of banners.
Check usage guidelines for more information.

Left aligned content

Removing class .ecl-banner--center will put the text back on left in the banner.

Banner width

Banners placed inside a grid container (.ecl-container) will expand to this container width.

To have a full width banner, the recommanded way is to place it outside of the grid container.

However, if there is a need to have a full width banner inside the grid container, the css class .ecl-banner--fullwidth can be used (just put it at the same level as .ecl-page-banner).

Caution: if you plan to use full width banner using this fullwidth css class, we recommend to include the optional ecl-reset.css, as some global rules here would improve the display (overflow-x: hidden).