Page tamplates documentation
<body> <div class="background-page overlay-container"> <video autoplay="autoplay" loop muted poster="http://www.framework-y.com/images/thumb-large.png" class="background-fullscreen"> <source src="video.mp4" type="video/mp4"> </video> </div> <div class="overlay-content"> <header> ... </header> <div class="section-empty"> <div class="container content"> <div class="row"> ... </div> </div> </div> </div> <footer> ... </footer> </body>
<body> <div class="background-page overlay-container"> <video autoplay="autoplay" loop muted poster="http://www.framework-y.com/images/thumb-large.png" class="background-fullscreen"> <div data-video-youtube="NA6fPQTd22M" video-quality="hd"></div> </video> </div> <div class="overlay-content"> <header> ... </header> <div class="container content"> <div class="row"> ... </div> </div> </div> <footer> ... </footer> </body>
Name | Type | Description |
---|---|---|
Settings | Information |
Add the background-page obejct in first row of body and add class overlay-content to the main content container.
|
Overlay pattern | HTML |
You can add a overlay to every background including images, videos and sliders. Insert the code <div class="bg-overlay pattern-name"></div> into the container
<div class="background-page"> ... </div> as first item and replace pattern-name with the pattern you want. Overlay pattern is a feature of Javascript and CSS, complete documentation and patterns list here. Example: <div class="background-page overlay-container"> <div class="bg-overlay transparent-dark"></div> <video autoplay="autoplay" loop muted poster="video-poster.jpg" class="background-fullscreen"> <source src="video.mp4" type="video/mp4"> </video> </div> |
Background video is part of background video section. Complete documentation here