Page Header Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
Page Header Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Page Header Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Page Header Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Page Header Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
This Banner has the half height option selected!
Title
Demand Erosion a Growing Risk for US Corporate Forecasts
Code
<section class="section section--spacing-below">
<div class="page-header bg--img bg--blend bg--parallax" style="background-image: url("/sites/default/files/page-header/istock-941769050.jpg"), var(--gradient-background); background-position: 50% 0px;">
<div class="wrapper--1">
<div class="page-header__text">
<h1 class="heading--1"> At Fitch, our people <br>draw on over 100 <br>years of experience </h1>
<p>We have breadth and depth across our global team, allowing us to deliver value to our clients. We employ more than 4,000 people in over 30 countries, including nearly 1,600 analysts. Our analysts are prominent global credit and risk experts who offer insights on over 190 countries, over 8,000 corporate entities and over 245,000 debt securities.</p>
</div>
</div>
</div>
</section>
{{ attach_library('fitch_master/page-header') }}
{% if paragraph.field_background_parallax.value == 1 %}{{ attach_library('fitch_master/parallax') }}{% endif %}
{%
set classes = [
'paragraph',
'paragraph--type--' ~ paragraph.bundle|clean_class,
view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class,
]
%}
{% block paragraph %}
<section
{% if content.field_section_name.0 is not empty %}id="{{ content.field_section_name.0 }}"{% endif %}
class="section
{% if content.field_section_name.0 is not empty %}section--scroll{% endif %}
{% if content.field_section_spacing.0 is not empty %}section--{{ content.field_section_spacing.0 }}{% endif %}
{% if content.field_section_spacing.1 is not empty %}section--{{ content.field_section_spacing.1 }}{% endif %}
"
>
<div
{% if content.field_background_image.0 is not empty %}
class="
page-header
{% if content.field_background_image.0 is not empty %}bg--img{% endif %}
{% if paragraph.field_background_blur.value == 1 %}bg--blur{% endif %}
{% if paragraph.field_gradient_overlay.value == 1 %}bg--blend{% endif %}
{% if content.field_color_overlay.0 is not empty %}bg--blend{% endif %}
{% if paragraph.field_background_fixed.value == 1 %}bg--fixed{% endif %}
{% if paragraph.field_background_parallax.value == 1 %}bg--parallax{% endif %}
"
style="
{% if content.field_background_image.0 is not empty %}background-image: url('{{ file_url(content.field_background_image["#items"].entity.uri.value) }}'){% if paragraph.field_gradient_overlay.value == 1 %}, var(--gradient-background){% endif %};{% endif %}
{% if content.field_color_overlay.0 is not empty %}background-color: {{ content.field_color_overlay.0 }};{% endif %}
"
{% endif %}
{% if content.field_background_video.0 is not empty %}
class="page-header"
{% endif %}
{% if content.field_background_color.0 is not empty %}
class="page-header"
style="background-color: {{ content.field_background_color.0 }};"
{% endif %}
>
{% include '@fitch_master/parts/video_background.html.twig' %}
<div class="wrapper--1">
<div class="page-header__text">
{% include '@fitch_master/paragraph/paragraph--sub-title.html.twig' %}
{% if content.field_title.0 is not empty %}
<h1 class="heading--1">{{ content.field_title }}</h1>
{% endif %}
{% include '@fitch_master/paragraph/paragraph--text.html.twig' %}
{% include '@fitch_master/paragraph/paragraph--call-to-action.html.twig' %}
{% include '@fitch_master/paragraph/paragraph--block-reference.html.twig' %}
</div>
{% if content.field_image.0 is not empty %}
<div class="page-header__image">
<div class="image-wrapper">
{{ content.field_image }}
</div>
</div>
{% endif %}
</div>
</div>
</section>
{% include '@fitch_master/parts/has_header.html.twig' %}
{% endblock paragraph %}
.page-header {
position: relative;
width: var(--banner-width);
height: var(--banner-height);
max-height: var(--banner-max-height);
margin: var(--banner-margin);
color: var(--inverted-text-color);
overflow: hidden;
transition: height 360ms ease;
z-index: 1;
}
.page-header .wrapper--1 {
height: 100%;
-ms-flex-align: center;
align-items: center;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
display: -ms-flexbox;
display: flex;
}
.page-header__text {
width: 100%;
max-width: var(--banner-text-max-width);
transition: width 360ms ease, margin 360ms ease;
margin: var(--banner-text-margin);
padding: var(--banner-text-padding);
z-index: 1;
}
.page-header .heading--1 {
margin-bottom: var(--banner-heading-margin);
font-size: var(--banner-heading-size);
transition: font-size 360ms ease;
}
.page-header .heading--1 + .button__wrapper {
padding-top: 0.9rem;
}
.page-header .heading--sub {
margin-bottom: var(--banner-heading-sub-margin);
font-size: var(--banner-heading-sub-size);
text-transform: uppercase;
}
.page-header p {
margin-bottom: var(--banner-paragraph-margin);
font-size: var(--banner-paragraph-size);
}
.page-header p:last-of-type {
margin-bottom: 0;
}
.page-header p:last-of-type + .button__wrapper {
padding-top: 2.9rem;
}
.page-header .button__wrapper {
margin-top: -0.6rem;
}
.page-header .button__wrapper a {
margin: 0.6rem 1.8rem 0 0;
}
.page-header__logo .logo {
margin: 0 0 1rem;
}
.page-header__ratings {
position: absolute;
bottom: 0;
left: 0;
padding: var(--spacing-2) 0;
width: 100%;
min-width: auto;
height: 12rem;
white-space: nowrap;
background: rgba(33, 33, 33, 0.44);
}
@media print {
.page-header__ratings {
display: none;
}
}
.page-header .video {
position: absolute;
top: 0;
left: 0;
width: 100%;
max-width: 100%;
height: 100%;
overflow: hidden;
}
.page-header__grid {
width: initial;
height: initial;
max-height: initial;
margin: initial;
color: var(--inverted-text-color);
overflow: initial;
background-color: var(--sf-color-1);
color: var(--inverted-text-color);
}
.page-header__grid-inner {
height: 60rem;
/* iPad Portrait */
/* iPhone 6 onwards */
}
@media only screen and (max-width: 768px) {
.page-header__grid-inner {
padding: 0 4.8rem;
}
}
@media only screen and (max-width: 480px) {
.page-header__grid-inner {
height: auto;
min-height: 60rem;
padding: 3.6rem 2.4rem;
}
}
[data-brand="fitch-learning"] .page-header .heading--1:after,
[data-brand="fitch-credit-certificate"] .page-header .heading--1:after {
content: '';
width: 8.4rem;
margin-bottom: 3.6rem;
padding-top: 3.6rem;
border-bottom: 0.2rem solid var(--white);
display: block;
}
/* FTICH */
@media only screen and (max-width: 1368px) {
.page-header {
min-height: 60rem;
}
.page-header__text {
margin: 3.6rem 0 0 0;
padding: 0 0 0 2.4rem;
}
}
/* iPad Pro Portrait - iPad Landscape */
@media only screen and (max-width: 1024px) {
.page-header {
min-height: 50rem;
}
.page-header__text .heading--1 {
font-size: 5.4rem;
}
}
/* iPad Portrait */
@media only screen and (max-width: 768px) {
.page-header .wrapper--1 {
padding: 0;
}
.page-header__text {
margin: 4.4rem 0 0;
padding-right: 2.4rem;
}
.page-header__text .heading--1 {
font-size: 4.8rem;
}
.page-header__image {
display: none;
}
}
/* iPhone 6 onwards */
@media only screen and (max-width: 480px) {
.page-header {
height: 84vh;
max-height: initial;
min-height: initial;
}
.page-header__text {
width: 100%;
}
.page-header__text .heading--1 {
font-size: 4.4rem;
}
.page-header__ratings {
display: none;
}
}
/* iPhone 5 */
@media only screen and (max-width: 320px) {
.page-header {
height: auto;
max-height: initial;
min-height: 60rem;
}
.page-header__text {
width: 100%;
margin: 10.8rem 0 0;
}
.page-header__text .heading--1 {
font-size: 3.6rem;
}
}
/* Print */
@media print {
.page-header {
height: auto;
max-height: initial;
min-height: initial;
color: var(--black);
}
.page-header .video {
display: none;
}
.page-header .wrapper--1 {
display: block;
}
.page-header__text {
width: 100%;
margin: 4.4rem 0 0;
padding-right: 0;
}
.page-header__text .heading--1 {
font-size: 4.8rem;
}
.page-header__image {
display: none;
}
}
@import '../abstracts/_mixins';
.page-header {
position: relative;
width: var(--banner-width);
height: var(--banner-height);
max-height: var(--banner-max-height);
margin: var(--banner-margin);
color: var(--inverted-text-color);
overflow: hidden;
transition: height 360ms ease;
z-index: 1;
.wrapper--1 {
height: 100%;
align-items: center;
flex-flow: row nowrap;
display: flex;
}
&__text {
width: 100%;
max-width: var(--banner-text-max-width);
transition: width 360ms ease, margin 360ms ease;
margin: var(--banner-text-margin);
padding: var(--banner-text-padding);
z-index: 1;
}
.heading--1 {
margin-bottom: var(--banner-heading-margin);
font-size: var(--banner-heading-size);
transition: font-size 360ms ease;
& + .button__wrapper {
padding-top: 0.9rem;
}
}
.heading--sub {
margin-bottom: var(--banner-heading-sub-margin);
font-size: var(--banner-heading-sub-size);
text-transform: uppercase;
}
p {
margin-bottom: var(--banner-paragraph-margin);
font-size: var(--banner-paragraph-size);
&:last-of-type {
margin-bottom: 0;
& + .button__wrapper {
padding-top: 2.9rem;
}
}
}
.button__wrapper {
margin-top: -0.6rem;
a {
margin: 0.6rem 1.8rem 0 0;
}
}
&__logo .logo {
margin: 0 0 1rem;
}
&__ratings {
position: absolute;
bottom: 0;
left: 0;
padding: var(--spacing-2) 0;
width: 100%;
min-width: auto;
height: 12rem;
white-space: nowrap;
background: rgba(33, 33, 33, 0.44);
@include no-print;
}
.video {
position: absolute;
top: 0;
left: 0;
width: 100%;
max-width: 100%;
height: 100%;
overflow: hidden;
}
&__grid {
width: initial;
height: initial;
max-height: initial;
margin: initial;
color: var(--inverted-text-color);
overflow: initial;
background-color: var(--sf-color-1);
color: var(--inverted-text-color);
&-inner {
height: 60rem;
@include mq-3 {
padding: 0 4.8rem;
}
@include mq-4 {
height: auto;
min-height: 60rem;
padding: 3.6rem 2.4rem;
}
}
}
}
[data-brand="fitch-learning"],
[data-brand="fitch-credit-certificate"] {
.page-header {
.heading--1:after {
content: '';
width: 8.4rem;
margin-bottom: 3.6rem;
padding-top: 3.6rem;
border-bottom: 0.2rem solid var(--white);
display: block;
}
}
}
@include mq-0 {
.page-header {
min-height: 60rem;
&__text {
margin: 3.6rem 0 0 0;
padding: 0 0 0 2.4rem;
}
}
}
@include mq-2 {
.page-header {
min-height: 50rem;
&__text {
.heading--1 {
font-size: 5.4rem;
}
}
}
}
@include mq-3 {
.page-header {
.wrapper--1 {
padding: 0;
}
&__text {
margin: 4.4rem 0 0;
padding-right: 2.4rem;
.heading--1 {
font-size: 4.8rem;
}
}
&__image {
display: none;
}
}
}
@include mq-4 {
.page-header {
height: 84vh;
max-height: initial;
min-height: initial;
&__text {
width: 100%;
.heading--1 {
font-size: 4.4rem;
}
}
&__ratings {
display: none;
}
}
}
@include mq-5 {
.page-header {
height: auto;
max-height: initial;
min-height: 60rem;
&__text {
width: 100%;
margin: 10.8rem 0 0;
.heading--1 {
font-size: 3.6rem;
}
}
}
}
@include print {
.page-header {
height: auto;
max-height: initial;
min-height: initial;
color: var(--black);
.video {
display: none;
}
.wrapper--1 {
display: block;
}
&__text {
width: 100%;
margin: 4.4rem 0 0;
padding-right: 0;
.heading--1 {
font-size: 4.8rem;
}
}
&__image {
display: none;
}
}
}
Fields
| Label | Machine name | Field type | Character Limit | Required |
|---|---|---|---|---|
| Background Blur | field_background_blur | Boolean | N/A | No |
| Background Color | field_background_color | Color | N/A | No |
| Background Fixed | field_background_fixed | Boolean | N/A | No |
| Background Image | field_background_image | Image | N/A | No |
| Background Parallax | field_background_parallax | Boolean | N/A | No |
| Background Video | field_background_video | Entity reference | N/A | No |
| Block Reference | field_block_reference | Entity reference | N/A | No |
| Color Overlay | field_color_overlay | Color | N/A | No |
| CTA | field_cta | Link | N/A | No |
| CTA Style | field_cta_style | List (integer) | N/A | No |
| Gradient Overlay | field_gradient_overlay | Boolean | N/A | No |
| Image | field_image | Image | N/A | No |
| Invert Header | field_invert_header | Boolean | N/A | No |
| Page Banner | field_page_banner | Boolean | N/A | No |
| Section Spacing | field_section_spacing | List (integer) | N/A | No |
| Sub Title | field_sub_title | Text (plain) | TBC | No |
| Text | field_text | Text (formatted, long) | TBC | No |
| Title | field_title | Text (formatted) | TBC | No |
Use Case
The page header can only be used once per page and it should come at the top.
Component Options
Wrapper
wrapper--full = Full Width
wrapper--1 = Wide (1320px)
wrapper--2 = Medium (1020px)
wrapper--3 = Small (720px)
Page Banner
This can be checked if it's the first component on the page and you need the logo to be white and sit on top to match how a Page Header (Banner) works.
If this is checked make sure the spacing above is turned off.
Invert Header
This field works in partnership with Page Banner. It should be checked if the header (logo, nav etc) should be white.
Spacing Above / Below
Spacing above adds 42px of padding above this section.
Spacing below adds 42px of padding below this section.
Double spacing above adds 84px of padding above this section.
Double spacing below adds 84px of padding below this section.
The values shown here are the default for FG, FR, FS and FB.
By default these are turned on but should be turned off for the following reasons:
- Two images are touching
- A coloured section is next to an image
- A coloured section is next to another coloured section
- It's the first or last section on the page
Background Image
This is an optional visual treatment but is the most commonly used for components.
Background Video
This can be used to add a background video that automatically play and loops.
The video is hosting locally and should be no longer than 10 seconds and no larger than 8MB.
Background Fixed
This is used to keep the background image static whilst scrolling on the page.
Background Parallax
This is used to add a parallax effect to the background image.
Background Color
Background Color offers a selection of brand colours allowing a solid background colour for the component.
| #171721 | #3f3f5b | #ff2f63 | #ffd500 | #2d374e | #174174 | #2a8abf | #33ccff | #dbddf3 | #333333 | #1a6bb4 | #dde3f2 | #3b265e |
| #6c5c86 | #9d92ae | #5e6a71 | #868f94 | #aeb4b8 | #007a87 | #409ba5 | #80bcc3 | #005cb9 | #4085ca | #80addc | #bfd6ed | #f5f5f5 |
| #00b29b | #72cb5c | #6dc3ea | #ebce56 |
Background Blur
Background Blur can be used to blur the background image and background video.
Gradient Overlay
This applies a Gradient Overlay to the background image that is predefined as part of the theme css vars.
| Fitch Guidelines - linear-gradient(108deg, #683f3f 0%, #d0e7f0 100%) |
| Fitch Group - linear-gradient(108deg, #0F2027 0%, #203A43 33%, #2C5364 100%) |
| Fitch Ratings - linear-gradient(108deg, #3e5151 0%,#decba4 100%) |
| Fitch Solutions - linear-gradient(108deg, #afc0e7 0%, #dbddf3 100%) |
| Fitch Learning - linear-gradient(108deg, #7b797d 0%, #7e8687 100%) |
| Fitch Bohua - linear-gradient(135deg, #403b4a 0%, #e7e9bb 100%) |
| Sustainble Fitch - linear-gradient(108deg, #B0DAB9 0%, #DAD299 100%) |
| Fitch Credit Certificate - linear-gradient(108deg, #7b797d 0%, #c0ccf0 100%) |
| Quant Insights - linear-gradient(108deg, #888888 0%, #888888 100%) |
Color Overlay
This is used to apply a color overlay to the background image or background video.
The Grey is our default color overlay and is used with the opacity set at 1
The EVP colours should have an opacity between 0.6 and 0.4 depending on the image and colour used.
Opacity ranges from 1 - 0. A 50% opacity would be 0.5.
| #888888 | #9db6df | #fda926 | #0bb29d | #ae3f86 | #6dc3ea | #00b29b | #72cb5c | #6dc3ea | #ebce56 |