The content header displays the page title in a specific way for different content types.
Use the content header when the following conditions apply:
When these conditions apply, the content header can be used.
If used, the content header should always be placed just below the general header.
Do not use the content header when the above conditions don’t apply.
Do not use the content header on other places then the page title.
The content header is a combination of one or more of the following 4 components:
primary
: Set the primary theme color as background.dark-background
: Makes content light colored for dark backgrounds (use in combination with primary
).secondary
: Set the secondary theme color as background.accolade-title
: Use the accolade layout.breakout
: When the accolade title has to break out of the box (use in combination with accolade-title
without any other header elements).overlap
: Adjust the bottom padding to create space for overlapping elements.
{% if image %}
{% set modifier = modifier ~ ' image' %}
{% endif %}
<div class="content-header-container {{ modifier }}">
<div class="left">
{% if speech_button %}
{% include '@text-to-speech-button' %}
{% endif %}
{% include '@heading' with {
'heading': 'h1',
'heading_text': heading_text
} %}
{% if date %}
{% include '@pubdate' %}
{% endif %}
{% if summary %}
<div class="summary-text">
{% include '@paragraph' with {
'text': summary_text
} %}
</div>
{% endif %}
{% if popular_topics %}
{% include '@heading' with {
'heading': 'h4',
'heading_text': 'Most searched topics'
} %}
{% include '@tag-list' with {
tags: [
{text: 'It is', type: 'tag'},
{text: 'summer outside', type: 'tag'},
{text: 'and we all', type: 'tag'},
{text: 'enjoy', type: 'tag'},
{text: 'the sun', type: 'tag'}
]
} %}
{% endif %}
</div>
{% if image %}
<div class="right">
{# Image generated with https://placeholderimage.dev #}
{% include '@image' with {
'modifier': '',
'src': 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdYAAAHWCAYAAADKGqhaAAAAAXNSR0IArs4c6QAAIABJREFUeF7t3QWT5EiSBtCcZWaeZWb8//9gaZZhlpmZYc68btWmjhZlpVeW+/ST2dndTWeGIp5H5ZeSQsonPvvZzz5zshEgQIAAAQIpAk8I1hRHjRAgQIAAgRsBwWoiECBAgACBRAHBmoipKQIECBAgIFjNAQIECBAgkCggWBMxNUWAAAECBASrOUCAAAECBBIFBGsipqYIECBAgIBgNQcIECBAgECigGBNxNQUAQIECBAQrOYAAQIECBBIFBCsiZiaIkCA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cTUFAECBAgQEKzmAAECBAgQSBQQrImYmiJAgAABAoLVHCBAgAABAokCgjURU1MECBAgQECwmgMECBAgQCBRQLAmYmqKAAECBAgIVnOAAAECBAgkCgjWRExNESBAgAABwWoOECBAgACBRAHBmoipKQIECBAgIFjNAQIECBAgkCggWBMxNUWAAAECBASrOUCAAAECBBIFBGsipqYIECBAgIBgNQcIECBAgECigGBNxNQUAQIECBAQrOYAAQIECBBIFBCsiZiaIkCAAAECgtUcIECAAAECiQKCNRFTUwQIECBAQLCaAwQIECBAIFFAsCZiaooAAQIECAhWc4AAAQIECCQKCNZETE0RIECAAAHBag4QIECAAIFEAcGaiKkpAgQIECAgWM0BAgQIECCQKCBYEzE1RYAAAQIEBKs5QIAAAQIEEgUEayKmpggQIECAgGA1BwgQIECAQKKAYE3E1BQBAgQIEBCs5gABAgQIEEgUEKyJmJoiQIAAAQKC1RwgQIAAAQKJAoI1EVNTBAgQIEBAsJoDBAgQIEAgUUCwJmJqigABAgQICFZzgAABAgQIJAoI1kRMTREgQIAAAcFqDhAgQIAAgUQBwZqIqSkCBAgQICBYzQECBAgQIJAoIFgTMTVFgAABAgQEqzlAgAABAgQSBQRrIqamCBAgQICAYDUHCBAgQIBAooBgTcTUFAECBAgQEKzmAAECBAgQSBQQrImYmiJAgAABAoLVHCBAgAABAokCgjURU1MECBAgQECwmgMECBAgQCBRQLAmYmqKAAECBAgIVnOAAAECBAgkCgjWRExNESBAgAABwWoOECBAgACBRAHBmoipKQIECBAgIFjNAQIECBAgkCggWBMxNUWAAAECBASrOUCAAAECBBIFBGsipqYIECBAgIBgNQcIECBAgECigGBNxNQUAQIECBAQrOYAAQIECBBIFBCsiZiaIkCAAAECgtUcIECAAAECiQKCNRFTUwQIECBAQLCaAwQIECBAIFFAsCZiaooAAQIECAhWc4AAAQIECCQKCNZETE0RIECAAAHBag4QIECAAIFEAcGaiKkpAgQIECAgWM0BAgQIECCQKCBYEzE1RYAAAQIEBKs5QIAAAQIEEgUEayKmpggQIECAgGA1BwgQIECAQKKAYE3E1BQBAgQIEBCs5gABAgQIEEgUEKyJmJoiQIAAAQKC1RwgQIAAAQKJAoI1EVNTBAgQIEBAsJoDBAgQIEAgUUCwJmJqigABAgQICFZzgAABAgQIJAoI1kRMTREgQIAAAcFqDhAgQIAAgUQBwZqIqSkCBAgQICBYzQECBAgQIJAoIFgTMTVFgAABAgQEqzlAgAABAgQSBQRrIqamCBAgQICAYDUHCBAgQIBAooBgTcTUFAECBAgQEKzmAAECBAgQSBQQrImYmiJAgAABAoLVHCBAgAABAokCgjURU1MECBAgQECwmgMECBAgQCBRQLAmYmqKAAECBAgIVnOAAAECBAgkCgjWRExNESBAgAABwWoOECBAgACBRAHBmoipKQIECBAgIFjNAQIECBAgkCggWBMxNUWAAAECBASrOUCAAAECBBIFBGsipqYIECBAgIBgNQcIECBAgECigGBNxNQUAQIECBAQrOYAAQIECBBIFBCsiZiaIkCAAAECgtUcIECAAAECiQKCNRFTUwQIECBAQLCaAwQIECBAIFFAsCZiaooAAQIECAhWc4AAAQIECCQKCNZETE0RIECAAAHBag4QIECAAIFEAcGaiKkpAgQIECAgWM0BAgQIECCQKCBYEzE1RYAAAQIEBKs5QIAAAQIEEgUEayKmpggQIECAgGA1BwgQIECAQKKAYE3E1BQBAgQIEBCs5sBjL/CWt7zl9OpXv/rG4de//vXpF7/4xWNvAuA6Ak8++eTpVa961c3Ofvazn51++9vfXmfH9nKnAoL1Tnmv3/hLXvKS0ytf+cqbHf/rX/+6CYprb8973vNOr3/96292+8wzz5x++ctfnv773/9euxuH9vfCF77w9NGPfvTBa3/wgx/c2uyd73zn6fnPf/5NW3//+99PP/rRjw714RovetGLXnR66Utfenrxi198es5znnP6xz/+cdPHP/7xjzc1qrzFfHrXu971oIu/+93vbl2j7HE+8cQTp/ibC9uYS1Pt//rXv57+8pe/7O7uzW9+8ym+2E1/K1/84hfL/q3sDsYLHggI1mfZZPjIRz5yig/R6Q/185///NVH+La3ve30hje84cF+v/nNb57+/Oc/X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AAElFTkSuQmCC',
'alt_text': 'Header image',
'caption': 'This is the image caption.',
'ratio': null
} %}
</div>
{% endif %}
</div>
<div class="content-header-container secondary">
<div class="left">
<button class="readspeaker-button">
<i class="icon-readspeaker" aria-hidden="true"></i><span>Listen</span>
</button>
<h1>This is the title of the page</h1>
<div class="summary-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin blandit ipsum sed gravida posuere. Maecenas sit amet sapien aliquam, semper elit in, sodales massa.</p>
</div>
</div>
</div>
{
"modifier": "secondary",
"heading_text": "This is the title of the page",
"speech_button": true,
"summary": true,
"summary_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin blandit ipsum sed gravida posuere. Maecenas sit amet sapien aliquam, semper elit in, sodales massa.",
"popular_topics": false,
"image": false,
"date": false
}
.content-header-container {
@include theme('background-color', 'color-primary', 'content-header-container-background-primary');
display: flex;
position: relative;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 60px;
padding: 60px 20px;
@include tablet {
margin-bottom: 45px;
padding: 90px 20px;
}
h1 {
max-width: none;
}
&.image {
margin-bottom: calc(100vw - 105px);
padding-bottom: 120px;
@include tablet {
flex-direction: row;
margin-bottom: 80px;
padding-top: 80px;
padding-bottom: 80px;
}
@include desktop {
margin-bottom: 145px;
}
}
&.overlap {
padding-top: 60px;
padding-bottom: 120px;
@include tablet {
flex-direction: row;
padding-top: 80px;
padding-bottom: 105px;
&.image {
padding-bottom: 90px;
}
}
}
&.secondary {
@include theme('background-color', 'color-secondary', 'content-header-container-background-secondary');
}
&.accolade-title {
@include theme('background-color', 'color-tertiary-light', 'content-header-accolade-container-background');
h1 {
@include accolade('bottom', 'left', 100px, 36px, 'color-none', 'color-primary');
@include theme('background-color', 'color-primary', 'content-header-accolade-text-background');
display: inline;
padding: 5px 15px;
color: color('white');
line-height: 130%;
box-decoration-break: clone;
}
&.breakout {
padding-bottom: 45px;
@include tablet {
padding-bottom: 55px;
}
.left {
position: absolute;
bottom: 3px;
}
h1 {
bottom: 0;
}
}
}
&:not(.image) {
.left {
padding-right: 0;
}
}
.left {
flex-basis: auto;
max-width: $bp-max-content;
@include tablet {
padding-right: 60px;
}
h1 {
margin: 0;
}
h4 {
margin: 60px 0 20px;
}
.summary-text {
margin: 30px 0 0;
p {
@include large-text();
line-height: 177.778%;
}
p:last-of-type {
margin-bottom: 0;
}
}
time + .summary-text {
margin: 10px 0 0;
}
.tag-list-wrapper {
margin: 20px 0 0;
li,
a {
width: 100%;
@include phablet {
width: auto;
}
}
}
}
.right {
flex: auto;
align-self: flex-end;
width: 100%;
height: auto;
@include tablet {
flex: 0 0 calc(47vw - 180px);
width: auto;
height: calc(47vw - 80px - 290px);
text-align: right;
}
@media only screen and (min-width: 1400px) {
flex: 0 0 470px;
height: calc(470px - 190px);
}
figure {
display: block;
position: absolute;
bottom: 0;
width: 100%;
padding-right: 40px;
transform: translate(0, calc(100% - 90px));
@include tablet {
position: static;
max-width: 31.5rem;
padding: 0;
transform: none;
}
img {
width: 100%;
height: auto;
}
}
}
}