Lana is a creative and fully responsive HTML/CSS template based on Bootstrap 4 framework, suitable for any creative people, business, agency, portfolio etc...
Follow the steps below to get started with your Site Template:
html folder to find all the Templates Files.html/assets/css - Extra Stylesheets Folderhtml/demo - Demo Images Folderhtml/assets/fonts - Fonts Folderhtml/assets/images - Images Folderhtml/include - Required PHP Functions Folderhtml/assets/js - Javacripts Folderhtml/assets/css/style.css - Main Stylesheet Filehtml/index.html - Index File/HomepageNote: Add Your custom styles to assets/css/custom.css. This solution will help you in future updates.
Lana follows a simple coding structure. here is the sample:
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Your Stylesheets, Scripts & Title -->
</head>
<body>
<div id="preloader" class="preloader preloader-dark">
[...]
</div>
<div class="site-container">
<!-- Site header -->
<header class="site-header header-mobile-light header-content-light header-content-mobile-dark">
[...]
</header>
<!-- Back To Top Button -->
<a href="#top" class="backtotop scrollto">
[...]
</a>
<!-- Global overlay -->
<div class="global-overlay">
[...]
</div>
<!-- Scroll progress -->
<div class="scroll-progress">
[...]
</div>
<!-- Page content -->
<div class="ln-fullpage">
<section class="ln-section">
[...]
</section>
</div>
<!-- Site footer -->
<footer class="site-footer footer-content-light footer-mobile-content-light">
[...]
</footer>
</div>
<!-- Your Scripts -->
</body>
</html>
This template is based on Bootstrap 4. Go to Bootrstrap's documentation and check how does it work.
You can add a Favicon to your Website using the following code:
<link rel="icon" href="assets/images/favicon.png" type="image/png" sizes="16x16">
You can add Apple Touch Icons to your Website using the following code:
<link rel="apple-touch-icon" href="assets/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/images/apple-touch-icon-114x114.png">
<h1>h1. Heading 1</h1>
<h2>h2. Heading 2</h2>
<h3>h3. Heading 3</h3>
<h4>h4. Heading 4</h4>
<h5>h5. Heading 5</h5>
<h6>h6. Heading 6</h6>
<h1 class="heading-uppercase">h1. Heading 1</h1>
<h2 class="heading-uppercase">h2. Heading 2</h2>
<h3 class="heading-uppercase">h3. Heading 3</h3>
<h4 class="heading-uppercase">h4. Heading 4</h4>
<h5 class="heading-uppercase">h5. Heading 5</h5>
<h6 class="heading-uppercase">h6. Heading 6</h6>
Fusce pretium, elit ut tincidunt fermentum, neque nisi tristique arcu, id viverra lacus tortor sed orci. Integer eu pharetra lacus. Donec venenatis orci id dui vestibulum, vel hendrerit arcu scelerisque.
<p>Fusce pretium, elit ut tincidunt fermentum, neque nisi tristique arcu, id viverra lacus tortor sed orci. Integer eu pharetra lacus. Donec venenatis orci id dui vestibulum, vel hendrerit arcu scelerisque.</p>
Fusce pretium, elit ut tincidunt fermentum, neque nisi tristique arcu, id viverra lacus tortor sed orci. Integer eu pharetra lacus. Donec venenatis orci id dui vestibulum, vel hendrerit arcu scelerisque.
<p class="lead">Fusce pretium, elit ut tincidunt fermentum, neque nisi tristique arcu, id viverra lacus tortor sed orci. Integer eu pharetra lacus. Donec venenatis orci id dui vestibulum, vel hendrerit arcu scelerisque.</p>
<img src="http://via.placeholder.com/150x150" alt="" class="rounded">
<img src="http://via.placeholder.com/150x150" alt="" class="img-thumbnail">
This template is based on Bootstrap 4. Go to Bootrstrap's documentation and check how does it work.
This template is based on Bootstrap 4. Go to Bootrstrap's documentation and check how does it work.
Lightbox Single Image
Please add mfp-image to the a tag.
<a href="http://via.placeholder.com/1500x1500" class="mfp-image">
<img alt="" src="http://via.placeholder.com/150x150">
</a>
Lightbox Gallery
Please add mfp-gallery class above images.
<div class="row mfp-gallery">
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-2.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-2.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-4.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-4.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-6.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-6.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-7.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-7.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-8.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-8.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-9.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-9.jpg">
</a>
</div>
</div>
Lightbox Video
Please add mfp-iframe to the a tag.
<a href="https://www.youtube.com/watch?v=L9szn1QQfas" class="mfp-iframe btn">
Youtube Video
</a>
<a href="https://vimeo.com/71071717" class="mfp-iframe btn">
Vimeo Video
</a>
Lightbox Map
Please add mfp-iframe to the a tag.
<a href="https://www.google.com/maps/embed/v1/place?q=London,+Wielka+Brytania&key=AIzaSyAN0om9mFmy1QN6Wf54tXAowK4eT0ZUPrU" class="mfp-iframe btn">
Google Map Embed
</a>
You can set the countdown in data-countdown, as you can see on example::
<div class="countdown" data-countdown="2018/12/25 12:00:00"></div>
This template use Slick. Go to Slick's documenttion and check how does it work.
<div class="row">
<div class="col-md-6 col-sm-6">
<div class="feature-block mb-5 animated" data-animation="fadeInUp">
<div class="feature-icon mb-4 text-white">
<div>
<i class="ti-timer"></i>
</div>
</div>
<h3 class="h4 text-white">Launch Quickly</h3>
</div>
</div>
[...]
This template is based on Bootstrap 4. Go to Bootrstrap's documentation and check how does it work.
Lightbox Single Image
Please add mfp-image to the a tag.
<a href="http://via.placeholder.com/1500x1500" class="mfp-image">
<img alt="" src="http://via.placeholder.com/150x150">
</a>
Lightbox Gallery
Please add mfp-gallery class above images.
<div class="row mfp-gallery">
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-2.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-2.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-4.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-4.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-6.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-6.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-7.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-7.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-8.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-8.jpg">
</a>
</div>
<div class="col-md-4 mb-15">
<a href="demo/images/portfolio/project-9.jpg">
<img class="img-responsive" alt="" src="demo/images/portfolio/project-9.jpg">
</a>
</div>
</div>
Lightbox Video
Please add mfp-iframe to the a tag.
<a href="https://www.youtube.com/watch?v=L9szn1QQfas" class="mfp-iframe button button-rounded">
Youtube Video
</a>
<a href="https://vimeo.com/71071717" class="mfp-iframe button button-rounded button-cyan">
Vimeo Video
</a>
Lightbox Map
Please add mfp-iframe to the a tag.
<a href="https://www.google.com/maps/embed/v1/place?q=London,+Wielka+Brytania&key=AIzaSyAN0om9mFmy1QN6Wf54tXAowK4eT0ZUPrU" class="mfp-iframe button button-rounded">
Google Map Embed
</a>
We have created some really useful helper classes for you.
Background color
.bg-primary.bg-secondary.bg-light.bg-dark.bg-navy.bg-blue.bg-aqua.bg-teal.bg-olive.bg-green.bg-lime.bg-yellow.bg-orange.bg-red.bg-marron.bg-fuchsia.bg-purple.bg-black.bg-white.bg-transparentBackground size
.bg-cover - background-size:cover.bg-contain - background-size:containBackground position
.bg-top-left - background-position:top left.bg-top-center - background-position:top center.bg-top-right - background-position:top right.bg-center-left - background-position:center left.bg-center - background-position:center.bg-center-right - background-position:center right.bg-bottom-left - background-position:bottom left.bg-bottom-center - background-position:bottom center.bg-bottom-right - background-position:bottom rightBackground repeat
.bg-repeat - background-repeat:repeat.bg-repeat-x - background-repeat:repeat-x.bg-repeat-y - background-repeat:repeat-y.bg-norepeat - background-repeat:no-repeatWidth
.w--1 - width:1px.w--2 - width:2px.w--3 - width:3px.w--4 - width:4px.w--5 - width:5px.w--6 - width:6px.w--7 - width:7px.w--8 - width:8px.w--9 - width:9px.w--10 - width:10px.w--50 - width:50px.w--100 - width:100px.w--150 - width:150px.w--200 - width:200px.w--250 - width:250px.w--300 - width:300px.w--350 - width:350px.w--400 - width:400px.w--450 - width:450px.w--500 - width:500px.w--550 - width:550px.w--600 - width:600px.w--650 - width:650px.w--700 - width:700px.w--auto - width:auto.maxw--100 - max-width:100%.minw--100 - min-width:100px.minw--200 - min-width:200px.minw--300 - min-width:300px.minw--400 - min-width:400px.minw--500 - min-width:500px.minw--600 - min-width:600px.minw--700 - min-width:700pxHeight
.h--1 - height:1px.h--2 - height:2px.h--3 - height:3px.h--4 - height:4px.h--5 - height:5px.h--6 - height:6px.h--7 - height:7px.h--8 - height:8px.h--9 - height:9px.h--10 - height:10px.h--50 - height:50px.h--100 - height:100px.h--150 - height:150px.h--200 - height:200px.h--250 - height:250px.h--300 - height:300px.h--350 - height:350px.h--400 - height:400px.h--450 - height:450px.h--500 - height:500px.h--550 - height:550px.h--600 - height:600px.h--650 - height:650px.h--700 - height:700px.h--auto - height:auto.maxh--100 - max-height:100%.minh--100 - min-height:100px.minh--200 - min-height:200px.minh--300 - min-height:300px.minh--400 - min-height:400px.minh--500 - min-height:500px.minh--600 - min-height:600px.minh--700 - min-height:700px.minh--800 - min-height:800px.fullscreen - min-height:100vh.fullscreen-{breakpoint} - for sm, md, lg, and xlText decoration
.text-underline - text-decoration:underlineFont family
.main-font - font-family: 'Open Sans', sans-serif.alt-font - font-family: 'Montserrat', sans-serifFont weight
.fw-100 - font-weight:100.fw-200 - font-weight:200.fw-300 - font-weight:300.fw-400 - font-weight:400.fw-500 - font-weight:500.fw-600 - font-weight:600.fw-700 - font-weight:700.fw-800 - font-weight:800.fw-900 - font-weight:900Text color
.text-primary.text-secondary.text-light.text-dark.text-navy.text-blue.text-aqua.text-teal.text-olive.text-green.text-lime.text-yellow.text-orange.text-red.text-marron.text-fuchsia.text-purple.text-black.text-whiteOpacity
.opacity-100 - opacity:1.opacity-95 - opacity:.95.opacity-90 - opacity:.9.opacity-85 - opacity:.85.opacity-80 - opacity:.8.opacity-75 - opacity:.75.opacity-70 - opacity:.70.opacity-65 - opacity:.65.opacity-60 - opacity:.60.opacity-55 - opacity:.55.opacity-50 - opacity:.5.opacity-45 - opacity:.45.opacity-40 - opacity:.4.opacity-35 - opacity:.35.opacity-30 - opacity:.3.opacity-25 - opacity:.25.opacity-20 - opacity:.2.opacity-15 - opacity:.15.opacity-10 - opacity:.1.opacity-5 - opacity:.05.opacity-0 - opacity:0Overflow
.overflow-hidden - overflow:hiddenz-index
.zindex-0 - z-index:0.zindex-1 - z-index:1.zindex-2 - z-index:2.zindex-3 - z-index:3.zindex-4 - z-index:4.zindex-5 - z-index:5.zindex-555 - z-index:555.zindex-5555 - z-index:5555.zindex-n1 - z-index:-1Box shadow
.shadow-1.shadow-2.shadow-3.shadow-4Spacing
Property
m - for classes that set marginp - for classes that set paddingSides
t - for classes that set margin-top or padding-topb - for classes that set margin-bottom or padding-bottoml - for classes that set margin-left or padding-leftr - for classes that set margin-right or padding-rightx - for classes that set both *-left and *-righty - for classes that set both *-top and *-bottomblank - for classes that set a margin or padding on all 4 sides of the elementSize
0 - for classes that eliminate the margin or padding by setting it to 010 - 10px20 - 20px30 - 30px40 - 40px50 - 50px60 - 60px70 - 70px80 - 80px90 - 90px100 - 100px110 - 110px120 - 120pxauto - for classes that set the margin to autoSpacing (margin and padding) classes work from min-width: 0.
If you need to use spacing utilities that apply to custom breakpoint please using the format {property}{sides}-{breakpoint}--{size} for sm, md, lg, xl.
sm - min-width: 576pxmd - min-width: 768pxlg - min-width: 992pxxl - min-width: 1200pxExample
.pt--0 { padding-top:0 }
.pt-sm--0 { padding-top: 0 }
.mb--0 { margin-bottom:0 }
.mb-sm--0 { margin-bottom: 0 }
You can animate each single element of the template, simply adding the animated class and the data-animation attribute, as you can see on example:
<p class="lead animated" data-animation="fadeInUp">Creative Solutions For You</p>
Take a look here for a complete list of the animations available.
You can animate each single element of the template when the page is loaded, simply adding the onstart class.Example
<p class="lead animated" data-animation="fadeInUp" data-animation-delay="800">Creative Solutions For You</p>
<!-- Global overlay -->
<div class="global-overlay">
<div class="overlay-inner bg-image-holder bg-cover">
<img src="demo/images/image-4.jpg" alt="background">
</div>
<div class="overlay-inner bg-dark opacity-55"></div>
</div>
Add colors in hex format to the data-gradient-bg attribute.
<!-- Global overlay -->
<div class="global-overlay">
<div class="overlay-inner" data-gradient-bg="[['#AA076B','#61045F'],['#02AAB0','#00CDAC'],['#DA22FF','#9733EE']]"></div>
</div>
Please add class slideshow-background to the body tag.
Open main.js file and find this code:
// Slideshow
if ($body.hasClass('slideshow-background')) {
$body.vegas({
preload: true,
timer: false,
delay: 5000,
transition: 'fade',
transitionDuration: 1000,
slides: [
{ src: 'demo/images/image-15.jpg' },
{ src: 'demo/images/image-16.jpg' },
{ src: 'demo/images/image-17.jpg' },
{ src: 'demo/images/image-4.jpg' }
]
});
}
Please add class slideshow-video-background to the body tag.
Open main.js file and find this code:
// Slideshow with Video
if ($body.hasClass('slideshow-video-background')) {
$body.vegas({
preload: true,
timer: false,
delay: 5000,
transition: 'fade',
transitionDuration: 1000,
slides: [
{ src: 'demo/images/image-15.jpg' },
{ src: 'demo/video/marine.jpg',
video: {
src: [
'demo/video/marine.mp4',
'demo/video/marine.webm',
'demo/video/marine.ogv'
],
loop: false,
mute: true
}
},
{ src: 'demo/images/image-16.jpg' },
{ src: 'demo/images/image-17.jpg' }
]
});
}
Please add class slideshow-zoom-background to the body tag.
Open main.js file and find this code:
// Slideshow - ZoomOut
if ($body.hasClass('slideshow-zoom-background')) {
$body.vegas({
preload: true,
timer: false,
delay: 7000,
transition: 'zoomOut',
transitionDuration: 4000,
slides: [
{ src: 'demo/images/image-4.jpg' },
{ src: 'demo/images/image-16.jpg' },
{ src: 'demo/images/image-17.jpg' },
{ src: 'demo/images/image-15.jpg' }
]
});
}
Please add class kenburns-background to the body tag.
Open main.js file and find this code:
// Kenburns
if ($body.hasClass('kenburns-background')) {
var kenburnsDisplayBackdrops = false;
var kenburnsBackgrounds = [
{ src: 'demo/images/image-15.jpg', valign: 'top' },
{ src: 'demo/images/image-14.jpg', valign: 'top' },
{ src: 'demo/images/image-17.jpg', valign: 'top' }
];
$body.vegas({
preload: true,
transition: 'swirlLeft2',
transitionDuration: 4000,
timer: false,
delay: 10000,
slides: kenburnsBackgrounds,
walk: function (nb) {
if (kenburnsDisplayBackdrops === true) {
var backdrop;
backdrop = backdrops[nb];
backdrop.animation = 'kenburns';
backdrop.animationDuration = 20000;
backdrop.transition = 'fade';
backdrop.transitionDuration = 1000;
$body
.vegas('options', 'slides', [ backdrop ])
.vegas('next');
}
}
});
}
<!-- Global overlay -->
<div class="global-overlay">
<div class="overlay-inner bg-image-holder bg-cover">
<img src="demo/images/image-4.jpg" alt="background">
</div>
<div class="overlay-inner overlay-video">
<div class="video-wrapper">
<video autoplay muted loop data-keepplaying>
<source src="demo/video/work.webm" type="video/webm">
<source src="demo/video/work.mp4" type="video/mp4">
<source src="demo/video/work.ogv" type="video/ogg">
</video>
</div>
</div>
<div class="overlay-inner bg-dark opacity-50"></div>
</div>
Open main.js file and find this code:
// Youtube Video
if ($('#youtube-background').length > 0) {
var videos = [
{videoURL: "iXkJmJa4NvE", showControls:false, containment:'.overlay-video',autoPlay:true, mute:true, startAt:0,opacity:1, loop:true, showYTLogo:false, realfullscreen: true, addRaster:true}
];
$('.player').YTPlaylist(videos, true);
}
Open main.js file and find this code:
// Youtube Multiple Videos
if ($('#youtube-multiple-background').length > 0) {
var videos = [
{videoURL: "CG20eBusRg0", showControls:false, containment:'.overlay-video',autoPlay:true, mute:true, startAt:0,opacity:1, loop:false, showYTLogo:false, realfullscreen: true, addRaster:true},
{videoURL: "iXkJmJa4NvE", showControls:false, containment:'.overlay-video',autoPlay:true, mute:true, startAt:0,opacity:1, loop:false, showYTLogo:false, realfullscreen: true, addRaster:true}
];
$('.player').YTPlaylist(videos, true);
}
<!-- Global overlay -->
<div class="global-overlay">
<div class="overlay-inner bg-primary"></div>
</div>
<!-- Global overlay -->
<div class="global-overlay">
<div class="overlay-inner bg-image-holder bg-cover">
<img src="demo/images/image-4.jpg" alt="background">
</div>
<div class="overlay-inner global-overlay-color"></div>
</div>
Add color in hex format to the data-overlay-color attribute and opacity (from 0 to 100) in the data-overlay-opacity attribute.
<section class="ln-section d-lg-flex fullscreen-lg" data-anchor="home" data-tooltip="Home" data-overlay-color="#00050e" data-overlay-opacity="50">
<div class="overlay has-mobile-overlay">
<div class="overlay-inner"></div>
</div>
<div class="container align-self-lg-center">
[...]
[...]
[...]
</div>
</section>
<section class="ln-section d-lg-flex fullscreen-lg" data-anchor="home" data-tooltip="Home">
<div class="overlay">
<div class="overlay-inner bg-image-holder bg-cover">
<img src="demo/images/image-4.jpg" alt="background">
</div>
<div class="overlay-inner bg-dark opacity-55"></div>
</div>
<div class="container align-self-lg-center">
[...]
[...]
[...]
</div>
</section>
<section class="ln-section d-lg-flex fullscreen-lg" data-anchor="home" data-tooltip="Home">
<div class="overlay">
<div class="overlay-inner bg-image-holder bg-cover">
<img src="demo/images/image-4.jpg" alt="background">
</div>
<div class="overlay-inner overlay-video">
<div class="video-wrapper">
<video autoplay muted loop data-keepplaying>
<source src="demo/video/work.webm" type="video/webm">
<source src="demo/video/work.mp4" type="video/mp4">
<source src="demo/video/work.ogv" type="video/ogg">
</video>
</div>
</div>
<div class="overlay-inner bg-dark opacity-50"></div>
</div>
<div class="container align-self-lg-center">
[...]
[...]
[...]
</div>
</section>
Add colors in hex format to the data-gradient-bg attribute.
<section class="ln-section d-lg-flex fullscreen-lg" data-anchor="home" data-tooltip="Home">
<div class="overlay">
<div class="overlay-inner" data-gradient-bg="[['#AA076B','#61045F'],['#02AAB0','#00CDAC'],['#DA22FF','#9733EE']]"></div>
</div>
<div class="container align-self-lg-center">
[...]
[...]
[...]
</div>
</section>
<section class="ln-section d-lg-flex fullscreen-lg" data-anchor="home" data-tooltip="Home">
<div class="overlay">
<div class="overlay-inner bg-primary"></div>
</div>
<div class="container align-self-lg-center">
[...]
[...]
[...]
</div>
</section>
Available classes:
.header-content-light - header with light content.header-content-dark - header with dark content.header-content-mobile-light - header with light content on mobile devices.header-content-mobile-dark - header with dark content on mobile devices.header-mobile-light - header with white background on mobile devices.header-mobile-dark - header with dark background on mobile devicesDefault code:
<!-- Site header -->
<header class="site-header header-mobile-light header-content-light header-content-mobile-dark">
<div class="header-brand">
<!-- Logo -->
<a class="logo" href="#">
<img class="logo-light" src="assets/images/logo.png" alt="">
<img class="logo-dark" src="assets/images/logo-dark.png" alt="">
</a>
<button type="button" id="navigation-toggle" class="nav-toggle">
<span></span>
<span></span>
<span></span>
</button>
</div>
<div class="header-collapse">
<div class="header-collapse-inner">
<nav class="site-nav">
<ul id="navigation">
<li data-menuanchor="home">
<a href="#home">Home</a>
</li>
<li data-menuanchor="our-mission">
<a href="#our-mission">Our mission</a>
</li>
<li data-menuanchor="what-we-do">
<a href="#what-we-do">What we do</a>
</li>
<li data-menuanchor="our-solutions">
<a href="#our-solutions">Our solutions</a>
</li>
<li data-menuanchor="subscribe">
<a href="#subscribe">Subscribe</a>
</li>
<li data-menuanchor="our-work">
<a href="#our-work">Our work</a>
</li>
<li data-menuanchor="contact">
<a href="#contact">Contact</a>
</li>
</ul>
</nav>
</div>
</div>
</header>