Page Titles

Default page title

The default markup for a typical page title:

And the HTML for the breadcrumbs is:

In the above code, .vcenter class stands to vertically centered, meaning that the two elements with this class will be vertically aligned inside their wrapper which is .tb-vcenter-wrapper element.

In addition to <h1 class="title">Default page title</h1>, there can be two additional information inside the .title-wrapper element. A complete one will be:

Height

The heigh of page title by default is 150px. You can add some assets classes to specify it's height (i.e .h-500, .h-700) or if you want to use a Revolution slider inside, then you should add .auto-height class.

Background image

Add .set-bg class along with data-img-src attibute.

Parallax

Instead of .set-bg you should use .parallax-layer class. This will make your background image to act like a parallax background image.

Overlay

Adding .ov-* classes to the page-head will add specified overlay on your background image. This can be useful to make contrast between text and image.

Alignment

Addidn .center-it class will brign the title contents to center. Also it will hide the breadcrumbs, if any.

Dark & Light

This asset class (.dark) will make texts white, so you can use dark background images or overlays without worrying about the contrast.

Code snippets

Note to the .lined class here

This is a fullscreen page title

In this example we have used .parallax-layer class on .title-wrapper with data-parallax-mode="mode-header-content"

Another variation to parallax content by adding data-parallax-mode="mode-title" to page-head.

Last updated