Backgrounds

These modular elements can be readily used and customized in every layout across pages.

Image Background

Image Background

<div class="position-relative py-6 py-lg-8">
  <div class="bg-holder rounded overlay overlay-0" style="background-image:url(../assets/img/gallery/g2.jpg);">
  </div> <!--/.bg-holder-->
  <div class="position-relative text-center">
    <h4 class="text-white">Image Background</h4>
  </div>
</div>
Parallax Backgrounds

Use .parallax class with .bg-holder class and .has-parallax to it's parent for effect.

Image Background Parallax
<section class="overflow-hidden rounded has-parallax">
  <div class="bg-holder overlay overlay-2 parallax rounded" style="background-image:url(../assets/img/gallery/g3.jpg);" data-parallax="data-parallax" data-rellax-speed="1"> </div>
  <div class="text-center position-relative">
    <h5 class="text-white">Image Background Parallax</h5>
  </div>
</section>
HTML5 Video Background

Video Background

<section class="py-0">
  <div class="bg-holder overlay rounded" style="background-image:url(../assets/img/headers/header-coming-soon.png);">
    <video class="bg-video" autoplay="autoplay" loop="loop" muted="muted">
      <source src="../assets/video/shoes.mp4" type="video/mp4" />
    </video>
  </div>
  <div class="position-relative vh-50 d-flex flex-center">
    <h4 class="text-white">Video Background</h4>
  </div>
</section>
Youtube video

Youtube Video Background

<section class="py-0">
  <div class="bg-holder" style="background-image:url(../assets/img/headers/header-12.jpg);">
    <div class="yt-video" data-youtube-embed='{"videoId":"BYK1bkSO61c","startSeconds":7,"endSeconds":58}'></div>
  </div> <!--/.bg-holder-->
  <div class="position-relative vh-25 d-flex flex-center">
    <h4 class="text-white">Youtube Video Background</h4>
  </div>
</section>
Shades of overlay

Use following classess with .overlay class for different shades.

Image Background

(.overlay)

<section class="text-center py-7">
  <div class="bg-holder overlay" style="background-image:url(../assets/img/headers/header-1.jpg);">
  </div> <!--/.bg-holder-->
  <div class="position-relative text-center">
    <h5 class="text-white">Image Background</h5>
    <p class="text-white fs-1">(.overlay)</p>
  </div>
</section>
Image Background

(.overlay-0)

<section class="text-center py-7">
  <div class="bg-holder overlay overlay-0 rounded" style="background-image:url(../assets/img/headers/header-2.jpg);">
  </div> <!--/.bg-holder-->
  <div class="position-relative text-center">
    <h5 class="text-white">Image Background</h5>
    <p class="text-white fs-1">(.overlay-0)</p>
  </div>
</section>
Image Background

(.overlay-1)

<section class="text-center py-7">
  <div class="bg-holder overlay overlay-1 rounded" style="background-image:url(../assets/img/headers/header-3.jpg);">
  </div> <!--/.bg-holder-->
  <div class="position-relative text-center">
    <h5 class="text-white">Image Background</h5>
    <p class="text-white fs-1">(.overlay-1)</p>
  </div>
</section>
Youtube Background

(.overlay-2)

<section class="py-3">
  <div class="bg-holder" style="background-image:url(../assets/img/headers/header-12.jpg);">
    <div class="yt-video" data-youtube-embed='{"videoId":"BYK1bkSO61c","startSeconds":7,"endSeconds":58}'></div>
  </div> <!--/.bg-holder-->
  <div class="position-relative vh-25 d-flex flex-center flex-column">
    <h5 class="text-white">Youtube Background</h5>
    <p class="text-white fs-1">(.overlay-2)</p>
  </div>
</section>