When a detail page is opened, the header changes to only display a back button and some more actions to the right. There is a possibility to add languages in the actions on the right. Very important to know is that the languages on mobile are shown in the settings page. So they can be hidden with the class u-tablet-hide to hide them on devices under the tablet breakpoint.
Do note that the header detail does not have a background color and by default the languages are shown in white. To fix this, use the languages modifier m-languages--inverted to get the correct result.
On some screens the content will make the language switcher feel like floating in the interface. This can be fixed by visually grouping them together using for example a line. This can be done with the o-header--with-border modifier.
- o-header--detail
<header class="o-header o-header--detail o-header--with-border">
<div class="o-header__container l-container">
<a
class="a-icon-button icon-chevron-left "
href=""
></a>
<div class="o-header__content">
<h1 class="o-header__title">Detail</h1>
<small class="o-header__subtitle">this is a subtitle</small>
</div>
<div class="o-header__right-actions">
<ul class="m-languages m-languages--inverted u-tablet-hide">
<li class="m-languages__item is-active">
<a class="m-languages__link" href="">NL</a>
</li>
<li class="m-languages__item ">
<a class="m-languages__link" href="">FR</a>
</li>
</ul>
</div>
</div>
</header>