Core site header
<header class="ecl-site-header" data-ecl-auto-init="SiteHeader">
<div class="ecl-site-header__header">
<div class="ecl-site-header__container ecl-container">
<div class="ecl-site-header__top"><a href="/example"
class="ecl-link ecl-link--standalone ecl-site-header__logo-link" aria-label="European Union"><img
alt="European Union flag" title="European Union"
class="ecl-site-header__logo-image ecl-site-header__logo-image-mobile"
src="/dist/media/icons.2936c801.svg" /><img alt="European Union flag" title="European Union"
class="ecl-site-header__logo-image ecl-site-header__logo-image-desktop"
src="/dist/media/icons.2936c801.svg" /></a>
<div class="ecl-site-header__action"><a class="ecl-button ecl-button--ghost ecl-site-header__language-selector"
href="/example" data-ecl-language-selector="" aria-label="English"
aria-controls="language-list-overlay"><span class="ecl-site-header__language-icon"><svg
class="ecl-icon ecl-icon--s ecl-site-header__icon" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#language"></use>
</svg><span class="ecl-site-header__language-code">en</span></span>English</a>
<div class="ecl-site-header__search-container"><a
class="ecl-button ecl-button--ghost ecl-site-header__search-toggle" href="/example"
data-ecl-search-toggle="true" aria-controls="search-form-id" aria-expanded="false"><svg
class="ecl-icon ecl-icon--s" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#search"></use>
</svg>Search</a>
<form class="ecl-search-form ecl-site-header__search" role="search" data-ecl-search-form=""
id="search-form-id">
<div class="ecl-form-group"><label for="search-input-id"
class="ecl-form-label ecl-search-form__label">Search</label><input type="search" id="search-input-id"
class="ecl-text-input ecl-text-input--m ecl-search-form__text-input" placeholder="Placeholder text" />
</div><button class="ecl-button ecl-button--search ecl-search-form__button" type="submit"
aria-label="Search"><span class="ecl-button__container"><span class="ecl-button__label"
data-ecl-label="true">Search</span><svg
class="ecl-icon ecl-icon--xs ecl-button__icon ecl-button__icon--after" focusable="false"
aria-hidden="true" data-ecl-icon="">
<use xlink:href="/dist/media/icons.2936c801.svg#search"></use>
</svg></span></button>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="ecl-language-list ecl-language-list--overlay" data-ecl-language-list-overlay=""
aria-labelledby="ecl-language-list__title" role="dialog" hidden="" id="language-list-overlay">
<div class="ecl-language-list__container ecl-container">
<div class="ecl-row">
<div class="ecl-language-list__close ecl-col-12 ecl-col-l-8 ecl-offset-l-2"><button
class="ecl-button ecl-button--ghost ecl-language-list__close-button" type="submit"
data-ecl-language-list-close=""><span class="ecl-button__container"><span class="ecl-button__label"
data-ecl-label="true">Close</span><svg
class="ecl-icon ecl-icon--s ecl-button__icon ecl-button__icon--after" focusable="false"
aria-hidden="true" data-ecl-icon="">
<use xlink:href="/dist/media/icons.2936c801.svg#close"></use>
</svg></span></button></div>
<div class="ecl-language-list__title ecl-col-12 ecl-col-l-8 ecl-offset-l-2" id="ecl-language-list__title"><svg
class="ecl-icon ecl-icon--m ecl-language-list__title-icon" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#generic-lang"></use>
</svg>Select your language</div>
</div>
<div class="ecl-row ecl-language-list__eu">
<div class="ecl-language-list__category ecl-col-12 ecl-col-l-8 ecl-offset-l-2">EU official languages</div>
<div class="ecl-language-list__column ecl-col-12 ecl-col-l-4 ecl-offset-l-2">
<ul class="ecl-language-list__list">
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="bg" hrefLang="bg"
rel="alternate">български</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="es" hrefLang="es"
rel="alternate">español</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="cs" hrefLang="cs"
rel="alternate">čeština</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="da" hrefLang="da"
rel="alternate">dansk</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="de" hrefLang="de"
rel="alternate">Deutsch</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="et" hrefLang="et"
rel="alternate">eesti</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="el" hrefLang="el"
rel="alternate">ελληνικά</a></li>
<li class="ecl-language-list__item ecl-language-list__item--is-active"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--icon ecl-link--icon-after ecl-language-list__link"
lang="en" hrefLang="en" rel="alternate"><span class="ecl-link__label">English</span><svg
class="ecl-icon ecl-icon--xs ecl-link__icon" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#check"></use>
</svg></a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="fr" hrefLang="fr"
rel="alternate">français</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ga" hrefLang="ga"
rel="alternate">Gaeilge</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="hr" hrefLang="hr"
rel="alternate">hrvatski</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="it" hrefLang="it"
rel="alternate">italiano</a></li>
</ul>
</div>
<div class="ecl-language-list__column ecl-col-12 ecl-col-l-4">
<ul class="ecl-language-list__list">
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="lv" hrefLang="lv"
rel="alternate">latviešu</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="lt" hrefLang="lt"
rel="alternate">lietuvių</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="hu" hrefLang="hu"
rel="alternate">magyar</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="mt" hrefLang="mt"
rel="alternate">Malti</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="nl" hrefLang="nl"
rel="alternate">Nederlands</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="pl" hrefLang="pl"
rel="alternate">polski</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="pt" hrefLang="pt"
rel="alternate">português</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ro" hrefLang="ro"
rel="alternate">română</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="sk" hrefLang="sk"
rel="alternate">slovenčina</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="sl" hrefLang="sl"
rel="alternate">slovenščina</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="fi" hrefLang="fi"
rel="alternate">suomi</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="sv" hrefLang="sv"
rel="alternate">svenska</a></li>
</ul>
</div>
</div>
<div class="ecl-row ecl-language-list__non-eu">
<div class="ecl-language-list__category ecl-col-12 ecl-col-l-8 ecl-offset-l-2">Non-EU languages</div>
<div class="ecl-language-list__column ecl-col-12 ecl-col-l-4 ecl-offset-l-2">
<ul class="ecl-language-list__list">
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="zh" hrefLang="zh"
rel="alternate">中文</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="tr" hrefLang="tr"
rel="alternate">Türk</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ru" hrefLang="ru"
rel="alternate">pусский</a></li>
</ul>
</div>
<div class="ecl-language-list__column ecl-col-12 ecl-col-l-4">
<ul class="ecl-language-list__list">
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ca" hrefLang="ca"
rel="alternate">Català</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ar" hrefLang="ar"
rel="alternate">عَرَبِيّ</a></li>
</ul>
</div>
</div>
</div>
</div>
</header>
Try it yourself on the playground
PlaygroundHarmonised site header
<header class="ecl-site-header" data-ecl-auto-init="SiteHeader">
<div class="ecl-site-header__header">
<div class="ecl-site-header__container ecl-container">
<div class="ecl-site-header__top"><a href="/example"
class="ecl-link ecl-link--standalone ecl-site-header__logo-link" aria-label="European Union"><img
alt="European Union flag" title="European Union"
class="ecl-site-header__logo-image ecl-site-header__logo-image-mobile"
src="/dist/media/icons.2936c801.svg" /><img alt="European Union flag" title="European Union"
class="ecl-site-header__logo-image ecl-site-header__logo-image-desktop"
src="/dist/media/icons.2936c801.svg" /></a>
<div class="ecl-site-header__action">
<div class="ecl-site-header__login-container"><a
class="ecl-button ecl-button--ghost ecl-site-header__login-toggle" href="/example"><svg
class="ecl-icon ecl-icon--s ecl-site-header__icon" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#log-in"></use>
</svg>Log in</a></div><a class="ecl-button ecl-button--ghost ecl-site-header__language-selector"
href="/example" data-ecl-language-selector="" aria-label="English"
aria-controls="language-list-overlay"><span class="ecl-site-header__language-icon"><svg
class="ecl-icon ecl-icon--s ecl-site-header__icon" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#language"></use>
</svg><span class="ecl-site-header__language-code">en</span></span>English</a>
<div class="ecl-site-header__search-container"><a
class="ecl-button ecl-button--ghost ecl-site-header__search-toggle" href="/example"
data-ecl-search-toggle="true" aria-controls="search-form-id" aria-expanded="false"><svg
class="ecl-icon ecl-icon--s" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#search"></use>
</svg>Search</a>
<form class="ecl-search-form ecl-site-header__search" role="search" data-ecl-search-form=""
id="search-form-id">
<div class="ecl-form-group"><label for="search-input-id"
class="ecl-form-label ecl-search-form__label">Search</label><input type="search" id="search-input-id"
class="ecl-text-input ecl-text-input--m ecl-search-form__text-input" placeholder="Placeholder text" />
</div><button class="ecl-button ecl-button--search ecl-search-form__button" type="submit"
aria-label="Search"><span class="ecl-button__container"><span class="ecl-button__label"
data-ecl-label="true">Search</span><svg
class="ecl-icon ecl-icon--xs ecl-button__icon ecl-button__icon--after" focusable="false"
aria-hidden="true" data-ecl-icon="">
<use xlink:href="/dist/media/icons.2936c801.svg#search"></use>
</svg></span></button>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="ecl-site-header__banner">
<div class="ecl-container">
<div class="ecl-site-header__site-name">Site name</div><a href=""
class="ecl-link ecl-link--cta ecl-link--icon ecl-link--icon-after ecl-site-header__cta"><span
class="ecl-link__label">CTA link</span><svg
class="ecl-icon ecl-icon--fluid ecl-icon--rotate-90 ecl-link__icon" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#corner-arrow"></use>
</svg></a>
</div>
</div>
<div class="ecl-language-list ecl-language-list--overlay" data-ecl-language-list-overlay=""
aria-labelledby="ecl-language-list__title" role="dialog" hidden="" id="language-list-overlay">
<div class="ecl-language-list__container ecl-container">
<div class="ecl-row">
<div class="ecl-language-list__close ecl-col-12 ecl-col-l-8 ecl-offset-l-2"><button
class="ecl-button ecl-button--ghost ecl-language-list__close-button" type="submit"
data-ecl-language-list-close=""><span class="ecl-button__container"><span class="ecl-button__label"
data-ecl-label="true">Close</span><svg
class="ecl-icon ecl-icon--s ecl-button__icon ecl-button__icon--after" focusable="false"
aria-hidden="true" data-ecl-icon="">
<use xlink:href="/dist/media/icons.2936c801.svg#close"></use>
</svg></span></button></div>
<div class="ecl-language-list__title ecl-col-12 ecl-col-l-8 ecl-offset-l-2" id="ecl-language-list__title"><svg
class="ecl-icon ecl-icon--m ecl-language-list__title-icon" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#generic-lang"></use>
</svg>Select your language</div>
</div>
<div class="ecl-row ecl-language-list__eu">
<div class="ecl-language-list__category ecl-col-12 ecl-col-l-8 ecl-offset-l-2">EU official languages</div>
<div class="ecl-language-list__column ecl-col-12 ecl-col-l-4 ecl-offset-l-2">
<ul class="ecl-language-list__list">
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="bg" hrefLang="bg"
rel="alternate">български</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="es" hrefLang="es"
rel="alternate">español</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="cs" hrefLang="cs"
rel="alternate">čeština</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="da" hrefLang="da"
rel="alternate">dansk</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="de" hrefLang="de"
rel="alternate">Deutsch</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="et" hrefLang="et"
rel="alternate">eesti</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="el" hrefLang="el"
rel="alternate">ελληνικά</a></li>
<li class="ecl-language-list__item ecl-language-list__item--is-active"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--icon ecl-link--icon-after ecl-language-list__link"
lang="en" hrefLang="en" rel="alternate"><span class="ecl-link__label">English</span><svg
class="ecl-icon ecl-icon--xs ecl-link__icon" focusable="false" aria-hidden="true">
<use xlink:href="/dist/media/icons.2936c801.svg#check"></use>
</svg></a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="fr" hrefLang="fr"
rel="alternate">français</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ga" hrefLang="ga"
rel="alternate">Gaeilge</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="hr" hrefLang="hr"
rel="alternate">hrvatski</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="it" hrefLang="it"
rel="alternate">italiano</a></li>
</ul>
</div>
<div class="ecl-language-list__column ecl-col-12 ecl-col-l-4">
<ul class="ecl-language-list__list">
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="lv" hrefLang="lv"
rel="alternate">latviešu</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="lt" hrefLang="lt"
rel="alternate">lietuvių</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="hu" hrefLang="hu"
rel="alternate">magyar</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="mt" hrefLang="mt"
rel="alternate">Malti</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="nl" hrefLang="nl"
rel="alternate">Nederlands</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="pl" hrefLang="pl"
rel="alternate">polski</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="pt" hrefLang="pt"
rel="alternate">português</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ro" hrefLang="ro"
rel="alternate">română</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="sk" hrefLang="sk"
rel="alternate">slovenčina</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="sl" hrefLang="sl"
rel="alternate">slovenščina</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="fi" hrefLang="fi"
rel="alternate">suomi</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="sv" hrefLang="sv"
rel="alternate">svenska</a></li>
</ul>
</div>
</div>
<div class="ecl-row ecl-language-list__non-eu">
<div class="ecl-language-list__category ecl-col-12 ecl-col-l-8 ecl-offset-l-2">Non-EU languages</div>
<div class="ecl-language-list__column ecl-col-12 ecl-col-l-4 ecl-offset-l-2">
<ul class="ecl-language-list__list">
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="zh" hrefLang="zh"
rel="alternate">中文</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="tr" hrefLang="tr"
rel="alternate">Türk</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ru" hrefLang="ru"
rel="alternate">pусский</a></li>
</ul>
</div>
<div class="ecl-language-list__column ecl-col-12 ecl-col-l-4">
<ul class="ecl-language-list__list">
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ca" hrefLang="ca"
rel="alternate">Català</a></li>
<li class="ecl-language-list__item"><a href="/example"
class="ecl-link ecl-link--standalone ecl-language-list__link" lang="ar" hrefLang="ar"
rel="alternate">عَرَبِيّ</a></li>
</ul>
</div>
</div>
</div>
</div>
</header>
Try it yourself on the playground
Playground