Banners

Page banner

Image banners

Text box image banner

© Copyright or credit
EU Budget for the future

Innovation, economy, environment and geopolitics

Fullscreen

Try it yourself on the playground

Playground

Shaded image banner

© Copyright or credit
EU Budget for the future

Innovation, economy, environment and geopolitics

Fullscreen

Try it yourself on the playground

Playground

Gradient image banner

© Copyright or credit
EU Budget for the future

Innovation, economy, environment and geopolitics

Fullscreen

Try it yourself on the playground

Playground

Simple banners

EU Budget for the future

Innovation, economy, environment and geopolitics

Fullscreen

Try it yourself on the playground

Playground

Simple banners colour

Simple banners can be displayed with several background colours by using one css class or another. Here are the possibilities

variantcolourcss class
primaryblue.ecl-hero-banner--primary
secondarylight grey.ecl-hero-banner--secondary
whitewhite.ecl-hero-banner--white

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-hero-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-page-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 use the "website" preset, as some global rules here would improve the display (overflow-x: hidden).