Digital pattern library

Section header

The section header pattern contains the name of a section with either a full-width dark or light colour background image. It must only be used on the subject pages to clearly separate the different sections.

Rules for the section header

Options available


Dark grey text on light background

Add a section-header--bg-lighten class.

Lorem ipsum dolor

Code
<!-- Begin pattern: section-header //-->
<section class="section-header section-header--bg-lighten" style="background-image: url(../../assets/docs/images/section-header/bg-section-header-1700x300.jpg);">
    <div class="container">
    	<div class="row">
    		<div class="section-header__wrapper">
		        <div class="section-header__content">
		            <h2>Lorem ipsum dolor</h2>
		        </div>
    		</div>
		</div>
	</div>
</section>
<!-- End pattern: section-header //-->

White text on dark background

Add section-header--inverse long-form--bg-darken classes.

Lorem ipsum dolor

Code
<!-- Begin pattern: section-header //-->
<section class="section-header section-header--inverse long-form--bg-darken" style="background-image: url(../../assets/docs/images/section-header/bg-section-header-1700x300.jpg);">
    <div class="container">
    	<div class="row">
    		<div class="section-header__wrapper">
		        <div class="section-header__content">
		            <h2>Lorem ipsum dolor</h2>
		        </div>
    		</div>
		</div>
	</div>
</section>
<!-- End pattern: section-header //-->