Installation
Follow the steps below to setup your site template:
- Unzip the downloaded package and open the /HTML folder to find all the template files. You will need to upload these files to your hosting web server using FTP in order to use it on your website.
- Below is the folder structure and needs to be uploaded to your website root directory:
HTML/css- Stylesheets folderHTML/fonts– Icon fonts folderHTML/images- Images folderHTML/js- Javacripts folderHTML/sound– Sound audio files for Intro pagesHTML/video– Video files
- You should upload all or specific HTML files as per your need.
- You're now good to go..! Start adding your content/images and generate your beautiful brand new website for your awesome users.
HTML Structure
H-Code follows a simple and easy to customize coding structure. Here is the sample for your reference:
<!doctype html>
<html class="no-js" lang="en">
<head>
<!-- title -->
<meta name="description" content="">
<meta name="keywords" content="">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1" />
<!-- favicon -->
<!-- style -->
</head>
<body>
<!-- navigation panel -->
<nav role="navigation">
...
</nav>
<!-- end navigation panel -->
<!-- slider -->
<section class="wow fadeIn">
<div class="container">
...
</div>
</section>
<!-- end slider -->
<!-- content section -->
<section class="wow fadeIn">
<div class="container">
...
</div>
</section>
<!-- end content section -->
<!-- footer -->
<footer class="wow fadeIn">
<div class="container">
...
</div>
</footer>
<!-- end footer -->
<!-- javascript libraries -->
</body>
</html>
Logo Settings
The Logo Container can be found in the Nav Container - .navbar
<!-- logo --> <div class="col-md-2 pull-left"><a class="logo-light" href="index.html"><img alt="" src="images/logo-white.png" class="logo" /></a><a class="logo-dark" href="index.html"><img alt="" src="images/logo-light.png" class="logo" /></a></div> <!-- end logo -->
Note The Logo Image's maximum height can be 70px.
Image & Favicon Settings
Image Settings
H-code download package does not contain images which are there in our online demo. We are using placeholder images instead of real images. You will see the image code as mentioned below. You can replace placeholder image url with your image url like images/yourimage.jpg
<img src="http://placehold.it/350x150">
NoteYour image size should be the same as per placeholder image url.
Favicon Settings
To change the favicon image of your site, you need to load a new ICO image in a site root or to point out a new address of the image.
<!-- favicon -->
<link rel="shortcut icon" href="images/favicon.png">
<link rel="apple-touch-icon" href="images/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
Changing Fonts
H-code uses 3 fonts: OpenSans, Oswald & OpenSans Condensed from the Google Fonts Library. You can change the fonts from /css/style.css file in below lines. If you want to use self hosted fonts other than Google fonts then here is an example of self hosted fonts. In this case you need to remove below lines and change font names in /css/style.css file as per your fonts used.
/* ===================================
Google font
====================================== */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);
@import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700);
Optimization Tips
Now a days fast & optimized website is must, so we would like to represent some optimization tips below which can affect your overall website speed:
gZip Compression & Browser Caching
This is probably one of the mostly used techniques you should definitely implement in order to increase your website's loading speed. gZip Compression is used to compress the Files that are delivered when loading a website. It includes HTML, CSS, Javascript & Font files along with other miscellaneous text files. This is used to save the static data in your browser itself so that when you open the next pages on the same website, the content does not gets downloaded again and hence further pages loads fast.
gZip compression & browser caching can be enabled using the .htaccess file on an Apache web server. You can use the codes from here: https://github.com/h5bp/html5-boilerplate/blob/master/dist/ to enable these modules on your server.
Image Compression & Optimization
We normally use lots of images on our websites to make it look beautiful as well as easily understandable but it can make the website slow if we do not take care of image size. It is important to resize, optimize & compress your images before using it on your website. Here are some tips which can be helpful:
- Resize your images: Resize your images before using it on your website. Do not just download an image & place it as it is in your website. The size/resolution of the image matters since it is not recommended to use an Image size of 1200px x 800px in a content size of 300px x 200px as this is unnecessary. Resize it to 300px x 200px.
- Image formats: There are three common file types that are used for web images which are JPEG, GIF, & PNG. For images with a flat background use JPEG images, for images with a transparent background use PNG images and for images with animations use GIF images.
- Compressing images: Images compression is important as it considerably reduces the size without losing the quality. There are several FREE image optimization tools available to download.
For MAC use ImageOptim
For windows use riot for compressing JPEG images & PNG Gauntlet for PNG images.
CSS & jQuery Minifications
It is also a best practice to combine & minify all your CSS files to a single CSS file & all Javascript files to a single JS file as it reduces the size of the file and combining the files helps in reducing the number of HTTP requests made to the server. There are several tools available online to Minify your CSS & JS files.
We recommend to use CSS Minifier for CSS and use Javascript Minifier for JS.
Customize Header Expiry/Caching
By using a customized Expiry header, your web components like images, static files, CSS, Javascript skipped unnecessary HTTP request when the same user reload the page for the second time. It reduces the bandwidth needed and definitely help in serving the page faster.
Disable ETags
Compared to the potential hassles that can be encountered when implementing the rule above, the application of this rule is very easy. You just need to add the following to your .htaccess file:
FileETags none
Note that this rule applies to sites that are in a server farm. If you’re using a shared host, you could skip this step, but we recommend that you do it regardless.
Content Delivery Network
You can use a CDN to further speed up your website. You can use the CDN to deliver static files of your website like CSS, JS, Images & Font files. There are many CDN hosting providers available in the market but we would recommend MaxCDN or CloudFlare.
Note CDN setup requires extra monthly recurring fees to setup.
Fast Web Hosting Servers
Website speed depends on your Web Hosting Servers also, so it is recommended that you choose a Hosting Company/Server that provides a reliable & a fast hosting service. You can refer some recommended hosting Services here: http://themeforest.net/get_hosting.
Header Types
You can choose between 5 Types of headers while creating your Pages. The list of various header types & its descriptions are provided below for your reference:
1. Light Header
Default header with no background color & light text.
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-white nav-border-bottom" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel -->
2. Dark Header
Header with dark background & light text. You can add the .nav-dark class for a dark header.
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-white nav-dark" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel -->
3. Light Transparent Header
Header with light transparent background & dark text. You can add the .nav-light-transparent class for a light transparent header.
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-border-bottom nav-light-transparent" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel -->
4. Dark Transparent Header
Header with dark transparent background & light text. You can add the .nav-dark-transparent class for a dark transparent header.
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-white nav-dark-transparent" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel -->
5. Static Sticky Header
Sticky header with white background & dark text. You can add the .static-sticky class for a static sticky header.
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav bg-white nav-border-bottom static-sticky" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel -->
6. Non Sticky Header
You can add the .non-sticky class for a non sticky header.
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav bg-white nav-border-bottom static-sticky non-sticky" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel -->
7. Hamburger Menu Header
You can add the .full-width-pull-menu .full-width-pull-menu-dark class for a hamburger menu header.
<!-- navigation panel --> <nav class="navbar navbar-default nav-dark navbar-fixed-top nav-transparent overlay-nav sticky-nav full-width-pull-menu full-width-pull-menu-dark" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel -->
Change Header Height
You can change the default header height of 100px to any other height according to your requirements. Simply use the following CSS codes and amend it as required:
nav .container {
height: 100px;
}
.shrink-nav .container{
height: 100px;
}
.shrink-nav .navbar-nav > li > .dropdown-menu {
top: 76px;
}
.shrink-nav .dropdown.simple-dropdown .dropdown-menu {
top: 66px !important;
}
.shrink-nav .cart-content {
top: 65px;
}
.shrink-nav .search-form {
top: 64px !important;
}
@media (max-width: 991px) {
.navbar.shrink-nav .text-right {
top: 56px;
}
}
Page Titles
You can choose between 11 Types of page titles while creating your pages. The list of page title options & its descriptions are provided below for your reference:
1. Page Title White
Page title in white background with sub title and breadcrumb in right. You can use class .page-title
<!-- head section --> <section class="content-top-margin page-title border-bottom-light border-top-light "> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow slideInUp wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="black-text">Page title white</h1> <!-- end page title --> <!-- page title tagline --> <span class="text-uppercase xs-display-none">Lorem Ipsum is simply dummy text of the printing.</span> <!-- end title tagline --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow slideInUp wow fadeInUp xs-display-none" data-wow-duration="600ms"> <div class="separator-line bg-black no-margin-lr sm-margin-top-two sm-margin-bottom-three no-margin-top xs-display-none"></div> <!-- breadcrumb --> <ul> <li><a href="#">Home</a></li> <li><a href="#">Pages</a></li> <li>Page title white</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title white code in page-title-white.html page for your reference.
2. Page Title Gray
Page title in gray background with sub title and breadcrumb in right. You can use class .page-title
<!-- head section --> <section class="content-top-margin page-title bg-gray"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow slideInUp wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="black-text">Page title white</h1> <!-- end page title --> <!-- page title tagline --> <span class="text-uppercase xs-display-none">Lorem Ipsum is simply dummy text of the printing.</span> <!-- end title tagline --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow slideInUp wow fadeInUp xs-display-none" data-wow-duration="600ms"> <div class="separator-line bg-black no-margin-lr sm-margin-top-two sm-margin-bottom-three no-margin-top xs-display-none"></div> <!-- breadcrumb --> <ul> <li><a href="#">Home</a></li> <li><a href="#">Pages</a></li> <li>Page title white</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title gray code in page-title-gray.html page for your reference.
3. Page Title Dark Gray
Page title in dark gray background and white font with sub title and breadcrumb in right. You can use class .page-title
<!-- head section --> <section class="content-top-margin page-title bg-dark-gray"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="white-text">Page title dark gray</h1> <!-- end page title --> <!-- page title tagline --> <span class="text-uppercase white-text xs-display-none">Lorem Ipsum is simply dummy text of the printing.</span> <!-- end title tagline --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow fadeInUp xs-display-none" data-wow-duration="600ms"> <div class="separator-line bg-white no-margin-lr sm-margin-top-two sm-margin-bottom-three no-margin-top xs-display-none"></div> <!-- breadcrumb --> <ul> <li class="white-text"><a href="#" class="white-text">Home</a></li> <li class="white-text"><a href="#" class="white-text">Pages</a></li> <li class="white-text">Page title dark gray</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title dark gray code in page-title-dark-gray.html page for your reference.
4. Page Title Black
Page title in black background and white font with sub title and breadcrumb in right. You can use class .page-title
<!-- head section --> <section class="content-top-margin page-title bg-black"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="white-text">Page title dark gray</h1> <!-- end page title --> <!-- page title tagline --> <span class="text-uppercase white-text xs-display-none">Lorem Ipsum is simply dummy text of the printing.</span> <!-- end title tagline --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow fadeInUp xs-display-none" data-wow-duration="600ms"> <div class="separator-line bg-white no-margin-lr sm-margin-top-two sm-margin-bottom-three no-margin-top xs-display-none"></div> <!-- breadcrumb --> <ul> <li class="white-text"><a href="#" class="white-text">Home</a></li> <li class="white-text"><a href="#" class="white-text">Pages</a></li> <li class="white-text">Page title dark gray</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title black code in page-title-black.html page for your reference.
5. Page Title with Image
Page title with background image and white font with sub title and breadcrumb in right. You can use class .page-title
<!-- head section --> <section class="content-top-margin page-title parallax3 parallax-fix"> <div class="opacity-medium bg-black"></div> <img class="parallax-background-img" src="images/parallax-img19.jpg" alt=""/> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="white-text">Page title with image</h1> <!-- end page title --> <!-- page title tagline --> <span class="text-uppercase white-text xs-display-none">Lorem Ipsum is simply dummy text of the printing.</span> <!-- end title tagline --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow fadeInUp xs-display-none" data-wow-duration="600ms"> <div class="separator-line bg-white no-margin-lr sm-margin-top-two sm-margin-bottom-three no-margin-top xs-display-none"></div> <!-- breadcrumb --> <ul> <li><a href="#" class="white-text">Home</a></li> <li class="white-text"><a href="#" class="white-text">Pages</a></li> <li class="white-text">Page title with image</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title with image code in page-title-with-image.html page for your reference.
6. Page Title Large
Page title centered with background image and white font with sub title. You can use class .page-title-large
<!-- head section --> <section class="page-title parallax3 parallax-fix page-title-large"> <div class="opacity-medium bg-black"></div> <img class="parallax-background-img" src="images/parallax-img20.jpg" alt="" /> <div class="container"> <div class="row"> <div class="col-md-12 col-sm-12 text-center animated fadeInUp"> <div class="separator-line bg-yellow no-margin-top margin-four"></div> <!-- page title --> <h1 class="white-text">Page title large</h1> <!-- end page title --> <!-- page title tagline --> <span class="text-uppercase white-text">Lorem Ipsum is simply dummy text of the printing.</span> <!-- end title tagline --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title large code in page-title-large.html page for your reference.
7. Page Title Small White
Page title in white background and breadcrumb in right. You can use class .page-title-small
<!-- head section --> <section class="content-top-margin page-title page-title-small border-bottom-light border-top-light"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="black-text">Page title small white</h1> <!-- end page title --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow fadeInUp xs-display-none" data-wow-duration="600ms"> <!-- breadcrumb --> <ul> <li><a href="#">Home</a></li> <li><a href="#">Pages</a></li> <li>Page title white</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title small white code in page-title-small-white.html page for your reference.
8. Page Title Small Gray
Page title in gray background and breadcrumb in right. You can use class .page-title-small
<!-- head section --> <section class="content-top-margin page-title page-title-small bg-gray"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="black-text">Page title small gray</h1> <!-- end page title --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow fadeInUp xs-display-none" data-wow-duration="600ms"> <!-- breadcrumb --> <ul> <li><a href="#">Home</a></li> <li><a href="#">Pages</a></li> <li>Page title gray</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title small gray code in page-title-small-gray.html page for your reference.
9. Page Title Small Dark Gray
Page title in dark gray background and white font with breadcrumb in right. You can use class .page-title-small
<!-- head section --> <section class="content-top-margin page-title page-title-small bg-dark-gray"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="white-text">Page title small dark gray</h1> <!-- end page title --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow fadeInUp xs-display-none" data-wow-duration="600ms"> <!-- breadcrumb --> <ul> <li class="white-text"><a href="#" class="white-text">Home</a></li> <li class="white-text"><a href="#" class="white-text">Pages</a></li> <li class="white-text">Page title dark gray</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title small dark gray code in page-title-small-dark-gary.html page for your reference.
10. Page Title Small Black
Page title in black background and white font with breadcrumb in right. You can use class .page-title-small
<!-- head section --> <section class="content-top-margin page-title page-title-small bg-black"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-7 col-sm-12 wow fadeInUp" data-wow-duration="300ms"> <!-- page title --> <h1 class="white-text">Page title small black</h1> <!-- end page title --> </div> <div class="col-lg-4 col-md-5 col-sm-12 breadcrumb text-uppercase wow fadeInUp xs-display-none" data-wow-duration="600ms"> <!-- breadcrumb --> <ul> <li class="white-text"><a href="#" class="white-text">Home</a></li> <li class="white-text"><a href="#" class="white-text">Pages</a></li> <li class="white-text">Page title black</li> </ul> <!-- end breadcrumb --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title small black code in page-title-small-black.html page for your reference.
11. Page Title Center Align
Page title centered with black background and white font with sub title. You can use class .page-title
<!-- head section --> <section class="content-top-margin page-title bg-black"> <div class="container"> <div class="row"> <div class="col-md-12 col-sm-12 text-center wow fadeInUp"> <!-- page title --> <h1 class="white-text">Page title center align</h1> <!-- end page title --> <!-- page title tagline --> <span class="text-uppercase white-text xs-display-none">Lorem Ipsum is simply dummy text of the printing.</span> <!-- end title tagline --> </div> </div> </div> </section> <!-- end head section -->Note You can find page title center align code in page-title-center-align.html page for your reference.
Page Layout
You can choose between 5 Types of page layout while creating your page. The list of page layout options & its descriptions are provided below for your reference:
Full Width
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-border-bottom bg-white" role="navigation"> <div class="container"> ... </div> </nav> <!--end navigation panel --> <!-- head section --> <section class="content-top-margin page-title page-title-small bg-gray"> <div class="container"> ... </div> </section> <!-- end head section --> <!-- content section --> <section class="wow fadeIn"> <div class="container"> <div class="row"> <!-- content --> <div class="col-md-12"> ... </div> <!-- end content --> </div> </div> </section> <!-- end content section --> <!-- footer --> <footer> ... </footer> <!-- end footer -->
Note You can find code in page-full-width.html page for your reference.
Full Width - Wide
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-border-bottom bg-white" role="navigation"> <div class="container"> ... </div> </nav> <!--end navigation panel --> <!-- head section --> <section class="content-top-margin page-title page-title-small bg-gray"> <div class="container"> ... </div> </section> <!-- end head section --> <!-- content section --> <section class="wow fadeIn"> <div class="container-fluid"> <div class="row"> <!-- content --> <div class="col-md-12"> ... </div> <!-- end content --> </div> </div> </section> <!-- end content section --> <!-- footer --> <footer> ... </footer> <!-- end footer -->
Note You can find code in page-full-width-wide.html page for your reference.
Left Sidebar
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-border-bottom nav-white" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel --> <!-- head section --> <section class="page-title parallax3 parallax-fix page-title-large"> <div class="opacity-medium bg-black"></div> <img class="parallax-background-img" src="images/slider-img37.jpg" alt="" /> <div class="container"> ... </div> </section> <!-- end head section --> <!-- content section --> <section class="wow fadeIn"> <div class="container"> <div class="row"> <!-- sidebar --> <div class="col-md-3 col-sm-4 sidebar"> <!-- widget --> <div class="widget"> <h5 class="widget-title font-alt">More About Company</h5> <div class="thin-separator-line bg-dark-gray no-margin-lr"></div> <div class="widget-body"> <ul class="category-list"> <li><a href="services.html">Web Development</a></li> <li><a href="services.html">Logo and Identity</a></li> <li><a href="services.html">Graphic Design</a></li> <li><a href="services.html">App Development</a></li> <li><a href="services.html">Social Marketing</a></li> <li><a href="services.html">Content Creation</a></li> </ul> </div> </div> <!-- end widget --> </div> <!-- end sidebar --> <!-- content --> <div class="col-md-8 col-sm-8 col-md-offset-1 xs-margin-top-seven"> <div class="clearfix"> <div class="col-md-2"> ... </div> </div> </div> <!-- end content --> </div> </div> </section> <!-- end content section --> <!-- footer --> <footer> ... </footer> <!-- end footer -->
Note You can find code in page-left-sidebar.html page for your reference.
Right Sidebar
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-border-bottom nav-white" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel --> <!-- head section --> <section class="page-title parallax3 parallax-fix page-title-large"> <div class="opacity-medium bg-black"></div> <img class="parallax-background-img" src="images/slider-img37.jpg" alt="" /> <div class="container"> ... </div> </section> <!-- end head section --> <!-- content section --> <section class="wow fadeIn"> <div class="container"> <div class="row"> <!-- content --> <div class="col-md-8 col-sm-8"> <div class="clearfix"> <div class="col-md-12"> ... </div> </div> </div> <!-- end content --> <!-- sidebar --> <div class="col-md-3 col-sm-4 sidebar col-md-offset-1 xs-margin-top-seven"> <!-- widget --> <div class="widget"> <h5 class="widget-title font-alt">More About Company</h5> <div class="thin-separator-line bg-dark-gray no-margin-lr"></div> <div class="widget-body"> <ul class="category-list"> <li><a href="services.html">Web Development</a></li> <li><a href="services.html">Logo and Identity</a></li> <li><a href="services.html">Graphic Design</a></li> <li><a href="services.html">App Development</a></li> <li><a href="services.html">Social Marketing</a></li> <li><a href="services.html">Content Creation</a></li> </ul> </div> </div> <!-- end widget --> </div> <!-- end sidebar --> </div> </div> </section> <!-- end content section --> <!-- footer --> <footer> ... </footer> <!-- end footer -->
Note You can find code in page-right-sidebar.html page for your reference.
Both Sidebar
<!-- navigation panel --> <nav class="navbar navbar-default navbar-fixed-top nav-transparent overlay-nav sticky-nav nav-border-bottom nav-white" role="navigation"> <div class="container"> ... </div> </nav> <!-- end navigation panel --> <!-- head section --> <section class="page-title parallax3 parallax-fix page-title-large"> <div class="opacity-medium bg-black"></div> <img class="parallax-background-img" src="images/slider-img31.jpg" alt="" /> <div class="container"> ... </div> </section> <!-- end head section --> <!-- content section --> <section class="wow fadeIn"> <div class="container"> <div class="row"> <!-- sidebar --> <div class="col-md-3 col-sm-6 sidebar pull-left"> <!-- widget --> <div class="widget"> <h5 class="widget-title font-alt">More About Company</h5> <div class="thin-separator-line bg-dark-gray no-margin-lr"></div> <div class="widget-body"> <ul class="category-list"> <li><a href="services.html">Web Development</a></li> <li><a href="services.html">Logo and Identity</a></li> <li><a href="services.html">Graphic Design</a></li> <li><a href="services.html">App Development</a></li> <li><a href="services.html">Social Marketing</a></li> <li><a href="services.html">Content Creation</a></li> </ul> </div> </div> <!-- end widget --> </div> <!-- end sidebar --> <!-- sidebar --> <div class="col-md-3 col-sm-6 sidebar pull-right xs-margin-top-seven"> <!-- widget --> <div class="widget quick-contact"> <h5 class="widget-title font-alt">Quick Contact</h5> <div class="thin-separator-line bg-dark-gray no-margin-lr"></div> <div class="widget-body"> <form> <!-- input --> <input type="text" name="name" placeholder="Your Name"> <!-- end input --> <!-- input --> <input type="text" name="email" placeholder="Your Email"> <!-- end input --> <!-- textarea --> <textarea name="comment" placeholder="Your Message"></textarea> <!-- end textarea --> <!-- button --> <input type="button" name="submit" value="Submit" class="highlight-button-dark btn btn-small no-margin-bottom"> <!-- end button --> </form> </div> </div> <!-- end widget --> </div> <!-- end sidebar --> <!-- content --> <div class="col-md-6 col-sm-12 col-xs-12 pull-left sm-margin-top-seven"> <div class="clearfix"> <div class="col-md-12 col-sm-12 no-padding"> ... </div> </div> </div> <!-- end content --> </div> </div> </section> <!-- end content section --> <!-- footer --> <footer> ... </footer> <!-- end footer -->
Note You can find code in page-both-sidebar.html page for your reference.
Columns & Grid
Basic grid layouts to get you familiar with building within the Bootstrap grid system.
Three equal columns
Get three equal-width columns starting at desktops and scaling to large desktops. On mobile devices, tablets and below, the columns will automatically stack.
.col-md-4.col-md-4.col-md-4Three unequal columns
Get three columns starting at desktops and scaling to large desktops of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.
.col-md-3.col-md-6.col-md-3Two columns
Get two columns starting at desktops and scaling to large desktops.
.col-md-8.col-md-4Full width, single column
.col-md-12Two columns with two nested columns
Per the documentation, nesting is easy—just put a row of columns within an existing column. This gives you two columns starting at desktops and scaling to large desktops, with another two (equal widths) within the larger column.
At mobile device sizes, tablets and down, these columns and their nested columns will stack.
.col-md-8
.col-md-6.col-md-6.col-md-4Mixed: mobile and desktop
The Bootstrap 3 grid system has four tiers of classes: xs (phones), sm (tablets), md (desktops), and lg (larger desktops). You can use nearly any combination of these classes to create more dynamic and flexible layouts.
Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs.
.col-xs-12 .col-md-8.col-xs-6 .col-md-4.col-xs-6 .col-md-4.col-xs-6 .col-md-4.col-xs-6 .col-md-4.col-xs-6.col-xs-6Mixed: mobile, tablet, and desktop
.col-xs-12 .col-sm-6 .col-lg-8.col-xs-6 .col-lg-4.col-xs-6 .col-sm-4.col-xs-6 .col-sm-4.col-xs-6 .col-sm-4Column clearing
Clear floats at specific breakpoints to prevent awkward wrapping with uneven content.
Resize your viewport or check it out on your phone for an example.
.col-xs-6 .col-sm-3.col-xs-6 .col-sm-3.col-xs-6 .col-sm-3Offset, push, and pull resets
Reset offsets, pushes, and pulls at specific breakpoints.
.col-sm-5 .col-md-6.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0.col-sm-6 .col-md-5 .col-lg-6.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0Grid Structure
.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-1.col-md-2.col-md-2.col-md-2.col-md-2.col-md-2.col-md-2.col-md-3.col-md-3.col-md-3.col-md-3.col-md-4.col-md-4.col-md-4.col-md-5.col-md-5.col-md-5.col-md-6.col-md-6.col-md-1.col-md-11.col-md-2.col-md-10.col-md-3.col-md-9.col-md-4.col-md-8.col-md-5.col-md-7Helper Classes
We have created some really useful helper classes for you. Here are a few of them:
Text Size
.text-small- For small size of text.text-med- For medium size of text.text-large- For large size of text.text-extra-large- For extra large size of text.title-small- For small size of title.title-med- For medium size of title.title-large- For large size of title.title-extra-large- For extra large size of title
Text Color
.white-text- For white color text.black-text- For black color text.light-gray-text- For light gray color text.gray-text- For gray color text.dark-gray-text- For dark gray color text.deep-gray-text- For deep gray color text.deep-light-gray-text- For deep light gray color text.yellow-text- For yellow color text.pink-text- For pink color text.magenta-text- For magenta color text.orange-text- For orange color text.deep-red-text- For deep red color text
Text Align
.text-left- For text align left.text-right- For text align right.text-center- For text align center.text-justify- For text align justify
Text Transform
.text-lowercase- For text to lowercase.text-uppercase- For text to uppercase
Letter Spacing
.no-letter-spacing- For letter spacing of none.letter-spacing-1- For letter spacing of 1 pixel.letter-spacing-2- For letter spacing of 2 pixel.letter-spacing-3- For letter spacing of 3 pixel.letter-spacing-4- For letter spacing of 4 pixel.letter-spacing-5- For letter spacing of 5 pixel.letter-spacing-6- For letter spacing of 6 pixel.letter-spacing-7- For letter spacing of 7 pixel.letter-spacing-8- For letter spacing of 8 pixel.letter-spacing-9- For letter spacing of 9 pixel.letter-spacing-10- For letter spacing of 10 pixel
Font Weight
.font-weight-100- For font weight of 100.font-weight-400- For font weight of 400.font-weight-600- For font weight of 600.font-weight-700- For font weight of 700.font-weight-800- For font weight of 800
Icon Size
.extra-large-icon- For extra large icon size.large-icon- For large icon size.medium-icon- For medium icon size.small-icon- For small icon size.extra-small-icon- For extra small icon size
Background Color
.bg-white- For background color of white.bg-black- For background color of black.bg-gray- For background color of gray.bg-dark-gray- For background color of dark gray.bg-mid-gray- For background color of medium gray.bg-yellow- For background color of yellow.bg-deep-yellow- For background color of deep yellow.bg-golden-yellow- For background color of golden yellow.bg-fast-yellow- For background color of fast yellow.bg-light-yellow- For background color of light yellow.bg-yellow-ochre- For background color of yellow ochre.bg-green- For background color of green.bg-dark-green- For background color of dark green.bg-deep-brown- For background color of medium gray.bg-orange- For background color of orange.bg-deep-orange- For background color of deep orange.bg-fast-orange- For background color of fast orange.bg-pink- For background color of pink.bg-deep-pink- For background color of deep pink.bg-light-pink- For background color of light pink.bg-fast-pink- For background color of fast pink.bg-deep-red- For background color of deep red.bg-magenta- For background color of magenta.bg-dark-blue- For background color of dark blue.bg-violet- For background color of violet
Opacity
.opacity-light- For light opacity.opacity-medium- For medium opacity.opacity-full- For full opacity
Margin
.margin-one- Margin of 1% on the top and bottom side.margin-two- Margin of 2% on the top and bottom side.margin-three- Margin of 3% on the top and bottom side.margin-four- Margin of 4% on the top and bottom side.margin-five- Margin of 5% on the top and bottom side.margin-six- Margin of 1% on the top and no margin of bottom side.margin-seven- Margin of 7% on the top and 5% margin of bottom side.margin-eight- Margin of 8% on the top and bottom side.margin-nine- Margin of 9% on the top and bottom side.margin-ten- Margin of 10% on the top and bottom side.margin-eleven- Margin of 22% on the top and bottom side.margin-right-four- Margin of 4% on the right side.margin-right-five- Margin of 5% on the right side.margin-right-six- Margin of 6% on the right side.margin-right-seven- Margin of 7% on the right side.margin-right-eight- Margin of 8% on the right side.margin-right-nine- Margin of 9% on the right side.margin-right-tenMargin of 10% on the right side.margin-left-right-one- Margin of 6% on the left and right side.margin-two-bottom- Margin of 2% on the bottom side.margin-four-bottom- Margin of 4% on the bottom side.margin-five-bottom- Margin of 5% on the bottom side.margin-ten-bottom- Margin of 10% on the bottom side.no-margin- No margin of on the all side.no-margin-lr- No margin of on the left and right side.no-margin-top- No margin of on the top side.no-margin-bottom- No margin of on the bottom side.no-margin-left- No margin of on the left side.no-margin-right- No margin of on the right side
Padding
.padding-one- Padding of 1% on the top and bottom side.padding-two- Padding of 2% on the top and bottom side.padding-three- Padding of 3% on the top and bottom side.padding-four- Padding of 4% on the top and bottom side.padding-five- Padding of 5% on the top and bottom side.padding-six- Padding of 3% on the top, left and right side.padding-seven- Padding of 6% on the all side.padding-eight- Padding of 20% on the top and bottom side.padding-nine- Padding of 6% on the top and bottom side.padding-left-right- Padding of 6% on the left and right side.padding-two-bottom- Padding of 2% on the bottom side.padding-left-right-px- Padding of 15 pixel on the left and right side.no-padding-left-right- No padding of on the left and right side.no-padding-right- No padding of on the right side.no-padding-top- No padding of on the top side.no-padding-left- No padding of on the left side.no-padding-bottom- No padding of on the bottom side.no-padding- No padding of on the all side
Float
.pull-left- Float DIV to left.pull-right- Float DIV to right.no-float- No float
Display
.display-block- For display block.display-inline-block- For display inline-block.display-inline- For display inline.display-none- For display none.overflow-hidden- For overflow hidden
Position
.position-relative- For element position relative.position-absolute- For element position absolute.position-right- For element position fixed to right of the body or parent element.position-left- For element position fixed to left of the body or parent element
Width
.width-20- For width of 20% on DIV/Text.width-30- For width of 30% on DIV/Text.width-40- For width of 40% on DIV/Text.width-50- For width of 50% on DIV/Text.width-60- For width of 60% on DIV/Text.width-70- For width of 70% on DIV/Text.width-80- For width of 80% on DIV/Text.width-90- For width of 90% on DIV/Text.width-100- For width of 100% on DIV/Text.width-auto- For width of auto on DIV/Text
Height
.height-100- For height of 100% on DIV.height-auto- For height auto on DIV
Border
.white-round-border- For white round border.border-thick- For thick border.border-top- For border top side only.border-right- For border right side only.border-bottom- For border bottom side only.border-left- For border left side only.border-color-black- For black border color.border-color-white- For white border color.border-gray- For gray border color.border-color-orange- For orange border color.no-border- For no border on all sides.border-top-light- For border top side.border-bottom-light- For border bottom side.border-transperent-light- For transparent border.no-border-round- For no border radius
Useful Tips
In H-Code you can add link/button which direct you to other section of the same page with smooth scroll effect like it is one page website. You just need to add class: inner-link and href should be the ID of the section as per the example shown below:
<a href="#home" class="inner-link">Home</a>
NotePlease note that destination section should have valid ID.
Slider Types & Options
H-Code includes 3 types of sliders as mentioned below:
Bootstrap Slider Without Captions
<div id="myCarousel" class="carousel slide carousel-slide"> <!-- indicators --> <ol class="carousel-indicators xs-indicators-black" style="bottom:0"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> </ol> <!-- wrapper for slides --> <div class="carousel-inner"> <!-- slider item --> <div class="item active full-screen"> <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img1.jpg');"></div> </div> <!-- end slider item --> <!-- slider item --> <div class="item full-screen"> <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img2.jpg');"></div> </div> <!-- end slider item --> <!-- slider item --> <div class="item full-screen"> <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img3.jpg');"></div> </div> <!-- end slider item --> </div> <!-- left and right controls --> <a class="left carousel-control" href="#myCarousel" data-slide="prev"> <img src="images/arrow-pre.png" alt="" /> </a> <a class="right carousel-control" href="#myCarousel" data-slide="next"> <img src="images/arrow-next.png" alt="" /> </a> </div>
NoteFor full screen slider, You can use the .full-screen class in item div.
Bootstrap Slider With Captions
<div id="myCarousel" class="carousel slide carousel-slide"> <!-- indicators --> <ol class="carousel-indicators xs-indicators-black" style="bottom:0"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> </ol> <!-- wrapper for slides --> <div class="carousel-inner"> <!-- slider item --> <div class="item active full-screen"> <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img1.jpg');"></div> <div class="opacity-full bg-white display-none xs-display-block"></div> <div class="container"> <div class="row"> <div class="container full-screen position-relative"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle slider-text-middle6 padding-left-right-px wow fadeInUp slider-text"> <div class="col-md-3 col-sm-5 col-xs-6 text-left animated fadeInUp no-padding"> <h1>Innovation Through </h1> <div class="separator-line bg-yellow no-margin-lr"></div> <span>We consult on digital strategy & craft meaningful connections with your customers across web.</span> <a class="highlight-button btn inner-link no-margin-lr no-margin-bottom" href="#portfolio">Digital Marketing</a> </div> </div> </div> </div> </div> </div> </div> </div> <!-- end slider item --> <!-- slider item --> <div class="item full-screen"> <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img2.jpg');"></div> <div class="opacity-full bg-white display-none xs-display-block"></div> <div class="container"> <div class="row"> <div class="container full-screen position-relative"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle slider-text-middle6 padding-left-right-px wow fadeInUp slider-text"> <div class="col-md-3 col-sm-5 col-xs-6 text-left animated fadeInUp no-padding"> <h1>Innovation Through </h1> <div class="separator-line bg-yellow no-margin-lr"></div> <span>We consult on digital strategy & craft meaningful connections with your customers across web.</span> <a class="highlight-button btn inner-link no-margin-lr no-margin-bottom" href="#portfolio">Digital Marketing</a> </div> </div> </div> </div> </div> </div> </div> </div> <!-- end slider item --> <!-- slider item --> <div class="item full-screen"> <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img3.jpg');"></div> <div class="opacity-full bg-white display-none xs-display-block"></div> <div class="container"> <div class="row"> <div class="container full-screen position-relative"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle slider-text-middle6 padding-left-right-px wow fadeInUp slider-text"> <div class="col-md-3 col-sm-5 col-xs-6 text-left animated fadeInUp no-padding"> <h1>Innovation Through </h1> <div class="separator-line bg-yellow no-margin-lr"></div> <span>We consult on digital strategy & craft meaningful connections with your customers across web.</span> <a class="highlight-button btn inner-link no-margin-lr no-margin-bottom" href="#portfolio">Digital Marketing</a> </div> </div> </div> </div> </div> </div> </div> </div> <!-- end slider item --> </div> <!-- left and right controls --> <a class="left carousel-control" href="#myCarousel" data-slide="prev"> <img src="images/arrow-pre.png" alt="" /> </a> <a class="right carousel-control" href="#myCarousel" data-slide="next"> <img src="images/arrow-next.png" alt="" /> </a> </div>Note You can find bootstrap slider code in slider-bootstrap.html page and above is the code for your reference.
Setting Slider Height
<div id="myCarousel" class="carousel slide carousel-slide" style="height:600px;"> <!-- indicators --> <ol class="carousel-indicators xs-indicators-black" style="bottom:0"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> </ol> <!-- wrapper for slides --> <div class="carousel-inner"> <!-- slider item --> <div class="item active" > <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img1.jpg'); "></div> <div class="opacity-full bg-white display-none xs-display-block"></div> <div class="container"> <div class="row"> <div class="container position-relative" style="height:600px;"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle slider-text-middle6 padding-left-right-px wow fadeInUp slider-text"> <div class="col-md-3 col-sm-5 col-xs-6 text-left animated fadeInUp no-padding"> <h1>Innovation Through </h1> <div class="separator-line bg-yellow no-margin-lr"></div> <span>We consult on digital strategy & craft meaningful connections with your customers across web.</span> <a class="highlight-button btn inner-link no-margin-lr no-margin-bottom" href="#portfolio">Digital Marketing</a> </div> </div> </div> </div> </div> </div> </div> </div> <!-- end slider item --> <!-- slider item --> <div class="item"> <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img2.jpg');"></div> <div class="opacity-full bg-white display-none xs-display-block"></div> <div class="container"> <div class="row"> <div class="container position-relative" style="height:600px;"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle slider-text-middle6 padding-left-right-px wow fadeInUp slider-text"> <div class="col-md-3 col-sm-5 col-xs-6 text-left animated fadeInUp no-padding"> <h1>Innovation Through </h1> <div class="separator-line bg-yellow no-margin-lr"></div> <span>We consult on digital strategy & craft meaningful connections with your customers across web.</span> <a class="highlight-button btn inner-link no-margin-lr no-margin-bottom" href="#portfolio">Digital Marketing</a> </div> </div> </div> </div> </div> </div> </div> </div> <!-- end slider item --> <!-- slider item --> <div class="item"> <!-- set the first background image using inline CSS below. --> <div class="fill" style="background-image:url('images/slider-img3.jpg');"></div> <div class="opacity-full bg-white display-none xs-display-block"></div> <div class="container"> <div class="row"> <div class="container position-relative" style="height:600px;"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle slider-text-middle6 padding-left-right-px wow fadeInUp slider-text"> <div class="col-md-3 col-sm-5 col-xs-6 text-left animated fadeInUp no-padding"> <h1>Innovation Through </h1> <div class="separator-line bg-yellow no-margin-lr"></div> <span>We consult on digital strategy & craft meaningful connections with your customers across web.</span> <a class="highlight-button btn inner-link no-margin-lr no-margin-bottom" href="#portfolio">Digital Marketing</a> </div> </div> </div> </div> </div> </div> </div> </div> <!-- end slider item --> </div> <!-- left and right controls --> <a class="left carousel-control" href="#myCarousel" data-slide="prev"> <img src="images/arrow-pre.png" alt="" /> </a> <a class="right carousel-control" href="#myCarousel" data-slide="next"> <img src="images/arrow-next.png" alt="" /> </a> </div>
NoteTo change the slider height please follow below steps:
1. Remove .full-screen class from entire slider code.
2. In main .carousel class DIV and all slider items .container DIV add this style – style="height:600px;"
Or
Simply copy above code and change height instead of 600px as per your requirements.
OWL Slider - Full Screen
<!-- owl slider --> <div id="owl-demo" class="owl-carousel owl-theme light-pagination"> <!-- slider item --> <div class="item owl-bg-img" style="background-image:url('images/slider-img1.jpg');"> <div class="slider-overlay bg-slider"></div> <div class="container full-screen position-relative"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle animated fadeInUp"> <span class="owl-subtitle white-text xs-margin-bottom-four">We're a digital agency</span> <span class="owl-title-big white-text">Change the world one digital experience at a time</span><br> <a href="#features" class="btn-small-white btn margin-six inner-link">Go Innovation!</a><a href="#features" class="btn-small-white btn margin-six inner-link">Go Emotions!</a> </div> </div> </div> </div> </div> <!-- end slider item --> <!-- slider item --> <div class="item owl-bg-img" style="background-image:url('images/slider-img2.jpg');"><div class="slider-overlay bg-slider"></div> <div class="container full-screen position-relative"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle"> <span class="owl-subtitle white-text xs-margin-bottom-four">We believe hard work</span> <span class="owl-title-big white-text">We believe in design, strategy and technology</span><br> <a href="#about" class="btn-small-white btn margin-six">Go Innovation!</a><a href="#about" class="btn-small-white btn margin-six">Go Emotions!</a> </div> </div> </div> </div> </div> <!-- end slider item --> <!-- slider item --> <div class="item owl-bg-img" style="background-image:url('images/slider-img3.jpg');"><div class="slider-overlay bg-slider"></div> <div class="container full-screen position-relative"> <div class="slider-typography"> <div class="slider-text-middle-main"> <div class="slider-text-middle"> <span class="owl-subtitle white-text xs-margin-bottom-four">We believe challenges</span> <span class="owl-title-big white-text">We solve your digital challenges</span><br> <a href="#about" class="btn-small-white btn margin-six">Go Innovation!</a><a href="#about" class="btn-small-white btn margin-six">Go Emotions!</a> </div> </div> </div> </div> </div> <!-- end slider item --> </div> <!-- end owl slider -->
Javascript
<script>
$(function () {
$("#owl-demo").owlCarousel({
navigation: true, // Show next and prev buttons
slideSpeed: 300,
paginationSpeed: 400,
singleItem: true,
navigationText: ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"]
});
});
</script>
Note You can find owl slider - full screen code in home-slider-owl1.html page and above is the code for your reference.
OWL Slider - Half Screen
<div id="owl-demo" class="owl-carousel owl-theme owl-half-slider dark-pagination"> <!-- slider item --> <div class="item owl-bg-img" style="background-image:url('images/slider-img1.jpg');"> <div class="container position-relative"> <div class="slider-typography text-left"> <div class="slider-text-middle-main"> <div class="slider-text-middle padding-left-right-px animated fadeInUp"> <span class="owl-subtitle black-text margin-three no-margin-top xs-margin-bottom-six">We believe hard work</span> <span class="owl-title black-text">We believe in design, strategy and web technology</span> <a class="highlight-button-black-border btn btn-small" href="about-us.html">Read More</a> </div> </div> </div> </div> </div> <!-- end slider item --> <!-- slider item --> <div class="item owl-bg-img" style="background-image:url('images/slider-img2.jpg');"> <div class="container position-relative"> <div class="slider-typography text-left"> <div class="slider-text-middle-main"> <div class="slider-text-middle padding-left-right-px"> <span class="owl-subtitle black-text margin-three no-margin-top xs-margin-bottom-six">We believe hard work</span> <span class="owl-title black-text">We believe in design, strategy and web technology</span> <a class="highlight-button-black-border btn btn-small" href="about-us.html">Read More</a> </div> </div> </div> </div> </div> <!-- end slider item --> <!-- slider item --> <div class="item owl-bg-img" style="background-image:url('images/slider-img3.jpg');"> <div class="container position-relative"> <div class="slider-typography text-left"> <div class="slider-text-middle-main"> <div class="slider-text-middle padding-left-right-px"> <span class="owl-subtitle black-text margin-three no-margin-top xs-margin-bottom-six">We believe challenges</span> <span class="owl-title black-text">We create meaningful experiences through innovation</span> <a class="highlight-button-black-border btn btn-small" href="about-us.html">Read More</a> </div> </div> </div> </div> </div> <!-- end slider item --> </div>Note You can find owl slider - half screen code in home-slider-owl2.html page and above is the code for your reference.
Revolution Slider - Full Screen
<div id="myCarousel">
<div class="tp-banner-container">
<div class="revolution-slider-full" >
<ul> <!-- slide 1 -->
<li data-transition="random" data-slotamount="1" data-masterspeed="1000" data-thumb="images/revolution1-slider-img1.jpg" data-delay="13000" data-saveperformance="off" data-title="h-code food">
<!-- main image -->
<img src="images/onepage-restaurant-slider-bg.jpg" alt="fullslide1" data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat">
<!-- layer 1 -->
<div class="tp-caption sfb stb"
data-x="center" data-hoffset="0"
data-y="center" data-voffset="343"
data-speed="500"
data-start="1500"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 50;"><img src="images/onepage-restaurant-slider-05.png" alt="" >
</div>
<!-- layer 2 -->
<div class="tp-caption tp-resizeme sfb stb"
data-x="center" data-hoffset="-80"
data-y="center" data-voffset="445"
data-speed="500"
data-start="1800"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 49;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-04.png">
</div>
<!-- layer 3 -->
<div class="tp-caption tp-resizeme sfb stb"
data-x="center" data-hoffset="50"
data-y="center" data-voffset="445"
data-speed="500"
data-start="2100"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 48;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-06.png">
</div>
<!-- layer 4 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="136"
data-y="center" data-voffset="333"
data-speed="500"
data-start="2300"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 47;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-07.png">
</div>
<!-- layer 5 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="217"
data-y="center" data-voffset="230"
data-speed="500"
data-start="2600"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 46;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-08.png">
</div>
<!-- layer 6 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="271"
data-y="center" data-voffset="135"
data-speed="500"
data-start="2900"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 46;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-09.png">
</div>
<!-- layer 7 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="394"
data-y="center" data-voffset="148"
data-speed="500"
data-start="3200"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 46;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-11.png">
</div>
<!-- layer 8 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="331"
data-y="center" data-voffset="238"
data-speed="500"
data-start="3500"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 46;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-10.png">
</div>
<!-- layer 9 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="256"
data-y="center" data-voffset="325"
data-speed="500"
data-start="3800"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 46;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-12.png">
</div>
<!-- layer 10 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="200"
data-y="center" data-voffset="419"
data-speed="500"
data-start="4100"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 46;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-13.png">
</div>
<!-- layer 11 -->
<div class="tp-caption tp-resizeme "
data-x="center" data-hoffset="280"
data-y="center" data-voffset="270"
data-speed="500"
data-start="4300"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 45;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-14.png">
</div>
<!-- layer 12 -->
<div class="tp-caption tp-resizeme "
data-x="center" data-hoffset="314"
data-y="center" data-voffset="306"
data-speed="500"
data-start="4600"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 45;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-31.png">
</div>
<!-- layer 13 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="477"
data-y="center" data-voffset="57"
data-speed="500"
data-start="4900"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 45;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-15.png">
</div>
<!-- layer 14 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="426"
data-y="center" data-voffset="-25"
data-speed="500"
data-start="5200"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 44;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-16.png">
</div>
<!-- layer 15 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="329"
data-y="center" data-voffset="-134"
data-speed="500"
data-start="5500"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 44;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-17.png">
</div>
<!-- layer 16 -->
<div class="tp-caption tp-resizeme sfr str"
data-x="center" data-hoffset="497"
data-y="center" data-voffset="-160"
data-speed="500"
data-start="5800"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 44;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-18.png">
</div>
<!-- layer 17 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="239"
data-y="center" data-voffset="-386"
data-speed="500"
data-start="6100"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 44;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-19.png">
</div>
<!-- layer 18 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="320"
data-y="center" data-voffset="-260"
data-speed="500"
data-start="6300"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 44;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-20.png">
</div>
<!-- layer 19 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="360"
data-y="center" data-voffset="-380"
data-speed="500"
data-start="6600"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 42;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-21.png">
</div>
<!-- layer 20 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="83"
data-y="center" data-voffset="-458"
data-speed="500"
data-start="6900"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 42;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-22.png">
</div>
<!-- layer 21 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="-75"
data-y="center" data-voffset="-430"
data-speed="500"
data-start="7200"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 41;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-24.png">
</div>
<!-- layer 22 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="-280"
data-y="center" data-voffset="-420"
data-speed="500"
data-start="7500"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 40;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-25.png">
</div>
<!-- layer 23 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="-200"
data-y="center" data-voffset="-556"
data-speed="500"
data-start="7800"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 40;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-26.png">
</div>
<!-- layer 24 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="-468"
data-y="center" data-voffset="-425"
data-speed="500"
data-start="8100"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 39;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-27.png">
</div>
<!-- layer 25 -->
<div class="tp-caption tp-resizeme sft stt"
data-x="center" data-hoffset="-378"
data-y="center" data-voffset="-205"
data-speed="500"
data-start="8400"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 39;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-28.png">
</div>
<!-- layer 26 -->
<div class="tp-caption tp-resizeme sfl stl"
data-x="center" data-hoffset="-506"
data-y="center" data-voffset="-190"
data-speed="500"
data-start="8700"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 38;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-29.png">
</div>
<!-- layer 27 -->
<div class="tp-caption tp-resizeme sfl stl"
data-x="center" data-hoffset="-506"
data-y="center" data-voffset="-60"
data-speed="500"
data-start="9000"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 38;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-30.png">
</div>
<!-- layer 28 -->
<div class="tp-caption tp-resizeme sfl stl"
data-x="center" data-hoffset="-389"
data-y="center" data-voffset="164"
data-speed="500"
data-start="9300"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 38;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-01.png">
</div>
<!-- layer 29 -->
<div class="tp-caption tp-resizeme sfl stl"
data-x="center" data-hoffset="-260"
data-y="center" data-voffset="275"
data-speed="500"
data-start="9600"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 37;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-02.png">
</div>
<!-- layer 30 -->
<div class="tp-caption tp-resizeme sfl stl"
data-x="center" data-hoffset="-350"
data-y="center" data-voffset="330"
data-speed="500"
data-start="9900"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 37;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-03.png">
</div>
<!-- layer 31 -->
<div class="tp-caption tp-resizeme"
data-x="center" data-hoffset="-23"
data-y="center" data-voffset="-97"
data-speed="500"
data-start="10200"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 37;"><img src="images/dummy.png" alt="" data-lazyload="images/onepage-restaurant-slider-logo.png">
</div>
<!-- LAYER 32 -->
<div class="tp-caption light_medium_28_shadowed tp-resizeme"
data-x="center" data-hoffset="-23"
data-y="center" data-voffset="120"
data-speed="500"
data-start="10500"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 47; max-width: auto; max-height: auto; text-align: center;">Where Food & Hospitaility<br>Become One
</div>
</li>
<!-- slide 2 -->
<li data-transition="random" data-slotamount="1" data-masterspeed="1000" data-thumb="images/revolution1-slider-img1.jpg" data-delay="10000" data-saveperformance="off" data-title="our Menu">
<!-- main image -->
<img src="images/onepage-restaurant-slider-bg.jpg" alt="fullslide1" data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat">
<!-- layer 1 -->
<div class="tp-caption sfr str"
data-x="center" data-hoffset="472"
data-y="center" data-voffset="-44"
data-speed="500"
data-start="1500"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 20;"><img src="images/onepage-restaurant-slider-02-01.png" alt="" >
</div>
<!-- layer 2 -->
<div class="tp-caption sfr str"
data-x="center" data-hoffset="600"
data-y="center" data-voffset="80"
data-speed="500"
data-start="1800"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 19;"><img src="images/onepage-restaurant-slider-02-02.png" alt="" >
</div>
<!-- layer 3 -->
<div class="tp-caption sfr str"
data-x="center" data-hoffset="800"
data-y="center" data-voffset="380"
data-speed="500"
data-start="2100"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 21;"><img src="images/onepage-restaurant-slider-02-05.png" alt="" >
</div>
<!-- layer 4 -->
<div class="tp-caption sfr str"
data-x="center" data-hoffset="150"
data-y="center" data-voffset="-280"
data-speed="500"
data-start="2400"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 21;"><img src="images/onepage-restaurant-slider-02-03.png" alt="" >
</div>
<!-- layer 5 -->
<div class="tp-caption sfr str"
data-x="center" data-hoffset="280"
data-y="center" data-voffset="-330"
data-speed="500"
data-start="2700"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 21;"><img src="images/onepage-restaurant-slider-02-04.png" alt="" >
</div>
<!-- layer 6 -->
<div class="tp-caption sfr str"
data-x="center" data-hoffset="520"
data-y="center" data-voffset="-70"
data-speed="500"
data-start="3000"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 21;"><img src="images/onepage-restaurant-slider-02-06.png" alt="" >
</div>
<!-- layer 7 -->
<div class="tp-caption sfl stl"
data-x="center" data-hoffset="-280"
data-y="center" data-voffset="130"
data-speed="500"
data-start="3300"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 21;"><img src="images/onepage-restaurant-slider-02-07.png" alt="" >
</div>
<!-- LAYER 8 -->
<div class="tp-caption light_medium_40_shadowed tp-resizeme"
data-x="30"
data-y="center" data-voffset="-100"
data-speed="500"
data-start="3600"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 47; max-width: auto; max-height: auto;">Enjoy a wonderful<br>dining experience.
</div>
<!-- LAYER 9 -->
<div class="tp-caption regular_small_text_18 tp-resizeme"
data-x="30"
data-y="center" data-voffset="-30"
data-speed="500"
data-start="3900"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 47; max-width: auto; max-height: auto;">Simply but delicious food.
</div>
<!-- LAYER 10 -->
<div class="tp-caption customin tp-resizeme"
data-x="30"
data-y="center" data-voffset="30"
data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0;scaleY:0;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
data-speed="500"
data-start="4200"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 22; max-width: auto; max-height: auto; white-space: nowrap;"><a href='#' class='largeredbtn'>our Menu</a>
</div>
</li>
<!-- slide 3 -->
<li data-transition="random" data-slotamount="1" data-masterspeed="1000" data-thumb="images/revolution1-slider-img1.jpg" data-delay="10000" data-saveperformance="off" data-title="Popular dish">
<!-- main image -->
<img src="images/onepage-restaurant-slider-bg.jpg" alt="fullslide1" data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat">
<!-- layer 1 -->
<div class="tp-caption sfr str"
data-x="center" data-hoffset="472"
data-y="center" data-voffset="50"
data-speed="500"
data-start="1500"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 20;"><img src="images/onepage-restaurant-slider-03-01.png" alt="" >
</div>
<!-- layer 2 -->
<div class="tp-caption sfl stl"
data-x="center" data-hoffset="-690"
data-y="center" data-voffset="330"
data-speed="500"
data-start="2000"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
style="z-index: 20;"><img src="images/onepage-restaurant-slider-03-02.png" alt="" >
</div>
<!-- LAYER 3 -->
<div class="tp-caption light_medium_40_shadowed tp-resizeme"
data-x="30"
data-y="center" data-voffset="-100"
data-speed="500"
data-start="2500"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 47; max-width: auto; max-height: auto;">have a great time
</div>
<!-- LAYER 4 -->
<div class="tp-caption regular_small_text_18 tp-resizeme"
data-x="30"
data-y="center" data-voffset="-55"
data-speed="500"
data-start="3000"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 47; max-width: auto; max-height: auto;">Only the best ingredients for our dishes
</div>
<!-- LAYER 5 -->
<div class="tp-caption customin tp-resizeme"
data-x="30"
data-y="center" data-voffset="10"
data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0;scaleY:0;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
data-speed="500"
data-start="3500"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 22; max-width: auto; max-height: auto; white-space: nowrap;"><a href='#' class='largeredbtn'>Popular dish</a>
</div>
</li>
</ul>
<div class="tp-bannertimer"></div>
</div>
</div>
</div>
Javascript
jQuery('.revolution-slider-full').show().revolution(
{
dottedOverlay: "none",
delay: 9000,
startwidth: 1170,
startheight: 700,
hideThumbs: 200,
thumbWidth: 100,
thumbHeight: 50,
thumbAmount: 5,
navigationType: "none",
navigationArrows: "solo",
navigationStyle: "preview2",
touchenabled: "on",
onHoverStop: "off",
swipe_velocity: 0.7,
swipe_min_touches: 1,
swipe_max_touches: 1,
drag_block_vertical: false,
keyboardNavigation: "on",
navigationHAlign: "center",
navigationVAlign: "bottom",
navigationHOffset: 0,
navigationVOffset: 20,
soloArrowLeftHalign: "left",
soloArrowLeftValign: "center",
soloArrowLeftHOffset: 20,
soloArrowLeftVOffset: 0,
soloArrowRightHalign: "right",
soloArrowRightValign: "center",
soloArrowRightHOffset: 20,
soloArrowRightVOffset: 0,
shadow: 0,
fullWidth: "off",
fullScreen: "on",
spinner: "spinner1",
stopLoop: "off",
stopAfterLoops: -1,
stopAtSlide: -1,
shuffle: "off",
forceFullWidth: "off",
fullScreenAlignForce: "off",
minFullScreenHeight: "400",
hideThumbsOnMobile: "off",
hideNavDelayOnMobile: 1500,
hideBulletsOnMobile: "off",
hideArrowsOnMobile: "off",
hideThumbsUnderResolution: 0,
hideSliderAtLimit: 0,
hideCaptionAtLimit: 0,
hideAllCaptionAtLilmit: 0,
startWithSlide: 0,
fullScreenOffsetContainer: ".header"
});
Note You can find revolution slider - full screen code in home-slider-revolution1.html page and above is the code for your reference.
Revolution Slider - Half Screen
<section id="myCarousel">
<div class="tp-banner-container">
<div class="revolution-slider-half" >
<ul> <!--SLIDE 1 -->
<li data-transition="slidevertical" data-slotamount="1" data-masterspeed="1000" data-thumb="images/revolution1-slider-img6.jpg" data-saveperformance="on" >
<!--MAIN IMAGE -->
<img src="images/revolution1-slider-img6-bg.jpg" alt="fullslide1" data-bgposition="center top" data-bgfit="cover" data-bgrepeat="no-repeat">
<!--LAYERS 1 -->
<div class="tp-caption lft ltt skewtoleftshort "
data-x="center" data-hoffset="0"
data-y="top" data-voffset="70"
data-speed="1000"
data-start="1000"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 10;"><img src="images/revolution1-slider-img6-03.jpg" alt="" data-lazyload="images/revolution1-slider-img6-03.png">
</div>
<!--LAYER 2 -->
<div class="tp-caption lft ltt skewtoleftshort "
data-x="center" data-hoffset="0"
data-y="top" data-voffset="0"
data-speed="1000"
data-start="1300"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 9;"><img src="images/revolution1-slider-img6-03.jpg" alt="" data-lazyload="images/revolution1-slider-img6-04.png">
</div>
<!--LAYER 3 -->
<div class="tp-caption sfl ltt"
data-x="left" data-hoffset="-25"
data-y="center" data-voffset="50"
data-speed="1000"
data-start="1400"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 8;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img6-05.png">
</div>
<!--LAYER 4 -->
<div class="tp-caption sfl ltt"
data-x="left" data-hoffset="175"
data-y="center" data-voffset="200"
data-speed="1000"
data-start="1500"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 7;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img6-06.png">
</div>
<!--LAYER 5 -->
<div class="tp-caption lfb ltt"
data-x="center" data-hoffset="-50"
data-y="bottom" data-voffset="150"
data-speed="1000"
data-start="1500"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 6;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img6-01.png">
</div>
<!--LAYER 6 -->
<div class="tp-caption lfb ltt"
data-x="right" data-hoffset="-415"
data-y="bottom" data-voffset="150"
data-speed="1000"
data-start="1600"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 6;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img6-02.png">
</div>
<!--LAYER 7 -->
<div class="tp-caption lfb ltt"
data-x="right" data-hoffset="-225"
data-y="center" data-voffset="200"
data-speed="1000"
data-start="1700"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 6;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img6-07.png">
</div>
<!--LAYER 8 -->
<div class="tp-caption lfr ltt"
data-x="right" data-hoffset="-75"
data-y="center" data-voffset="0"
data-speed="1000"
data-start="1800"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 6;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img6-08.png">
</div>
<!--LAYER 9 -->
<div class="tp-caption light_medium_30_shadowed lfb ltt light_medium_30_shadowed-black"
data-x="center" data-hoffset="0"
data-y="center" data-voffset="40"
data-speed="600"
data-start="1900"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 11; max-width: auto; max-height: auto; white-space: nowrap;">Innovative technology
</div>
<!--LAYER 10 -->
<div class="tp-caption light_heavy_70_shadowed lfb ltt tp-resizeme light_medium_30_shadowed-black"
data-x="center" data-hoffset="0"
data-y="center" data-voffset="80"
data-speed="600"
data-start="2000"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 3; max-width: auto; max-height: auto; white-space: nowrap;">Creating beautiful work
</div>
<!--LAYER 11 -->
<div class="tp-caption customin tp-resizeme largeredbtn-black"
data-x="center" data-hoffset="0"
data-y="center" data-voffset="150"
data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0;scaleY:0;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
data-speed="500"
data-start="2100"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 12; max-width: auto; max-height: auto; white-space: nowrap;"><a href="portfolio-grid-4columns.html" class='largeredbtn'>Go Innovation!</a>
</div>
</li>
<!--SLIDE 2 -->
<li data-transition="slidevertical" data-slotamount="1" data-masterspeed="1000" data-thumb="images/revolution1-slider-img4.jpg" data-saveperformance="off" data-title="Slide">
<!--MAIN IMAGE -->
<img src="images/revolution1-slider-img5-bg.jpg" alt="fullslide1" data-bgposition="center top" data-bgfit="cover" data-bgrepeat="no-repeat">
<!--LAYERS 1 -->
<div class="tp-caption sfl rs-parallaxlevel-7"
data-x="right" data-hoffset="-0"
data-y="bottom" data-voffset="50"
data-speed="1000"
data-start="1000"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
style="z-index: 2;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img5-man.png">
</div>
<!--LAYERS 2 -->
<div class="tp-caption light_medium_30_shadowed lfb ltt tp-resizeme"
data-x="left" data-hoffset="380"
data-y="top" data-voffset="265"
data-speed="600"
data-start="800"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 2; max-width: auto; max-height: auto; white-space: nowrap;">We're a digital agency
</div>
<!--LAYERS 3 -->
<div class="tp-caption light_heavy_70_shadowed lfb ltt tp-resizeme"
data-x="left" data-hoffset="380"
data-y="top" data-voffset="335"
data-speed="600"
data-start="900"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 3; max-width: auto; max-height: auto; white-space: nowrap;">Power of great ideas
</div>
<!--LAYERS 4 -->
<div class="tp-caption customin tp-resizeme"
data-x="left" data-hoffset="380"
data-y="top" data-voffset="390"
data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0;scaleY:0;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
data-speed="500"
data-start="1200"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 4; max-width: auto; max-height: auto; white-space: nowrap;"><a href="portfolio-grid-4columns.html" class='largeredbtn'>Go Innovation!</a>
</div>
</li>
<!--SLIDE 3 -->
<li data-transition="slidevertical" data-slotamount="1" data-masterspeed="1000" data-thumb="images/revolution1-slider-img7.jpg" data-saveperformance="off" data-title="Slide">
<!--MAIN IMAGE -->
<img src="images/revolution1-slider-img7-bg.jpg" alt="fullslide6" data-bgposition="center botton" data-bgfit="cover" data-bgrepeat="no-repeat">
<!--LAYERS 1 -->
<div class="tp-caption lfl ltr rs-parallaxlevel-9"
data-x="right" data-hoffset="-480"
data-y="top" data-voffset="70"
data-speed="1000"
data-start="1000"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 1;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img7-01.png">
</div>
<!--LAYERS 2 -->
<div class="tp-caption lfr ltr rs-parallaxlevel-9"
data-x="right" data-hoffset="30"
data-y="top" data-voffset="70"
data-speed="1000"
data-start="1300"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 2;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img7-02.png">
</div>
<!--LAYERS 3 -->
<div class="tp-caption lfb ltb rs-parallaxlevel-1"
data-x="right" data-hoffset="-380"
data-y="bottom" data-voffset="-10"
data-speed="1000"
data-start="1500"
data-easing="Power4.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-endeasing="Power4.easeIn"
style="z-index: 3;"><img src="images/revolution1-slider-img4.jpg" alt="" data-lazyload="images/revolution1-slider-img7-03.png">
</div>
<!--LAYERS 4 -->
<div class="tp-caption light_medium_30_shadowed lfb ltt tp-resizeme"
data-x="left" data-hoffset="380"
data-y="center" data-voffset="-10"
data-speed="600"
data-start="800"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 4; max-width: auto; max-height: auto; white-space: nowrap;">Digital communications
</div>
<!--LAYERS 5 -->
<div class="tp-caption light_heavy_70_shadowed lfb ltt tp-resizeme"
data-x="left" data-hoffset="380"
data-y="center" data-voffset="40"
data-speed="600"
data-start="900"
data-easing="Power4.easeOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.01"
data-endelementdelay="0.1"
data-endspeed="500"
data-endeasing="Power4.easeIn"
style="z-index: 4; max-width: auto; max-height: auto; white-space: nowrap;">Changing face of digital
</div>
<!--LAYERS 6 -->
<div class="tp-caption customin tp-resizeme rs-parallaxlevel-0"
data-x="left" data-hoffset="380"
data-y="center" data-voffset="120"
data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0;scaleY:0;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
data-speed="500"
data-start="1200"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-linktoslide="next"
style="z-index: 4; max-width: auto; max-height: auto; white-space: nowrap;"><a href="portfolio-grid-4columns.html" class='largeredbtn'>Go Innovation!</a>
</div>
</li>
</ul>
</div>
</div>
</section>
Javascript
jQuery('.revolution-slider-half').show().revolution(
{
dottedOverlay: "none",
delay: 9000,
startwidth: 1920,
startheight: 700,
hideThumbs: 200,
thumbWidth: 100,
thumbHeight: 50,
thumbAmount: 5,
navigationType: "none",
navigationArrows: "solo",
navigationStyle: "preview1",
touchenabled: "on",
onHoverStop: "on",
swipe_velocity: 0.7,
swipe_min_touches: 1,
swipe_max_touches: 1,
drag_block_vertical: false,
keyboardNavigation: "on",
navigationHAlign: "center",
navigationVAlign: "bottom",
navigationHOffset: 0,
navigationVOffset: 20,
soloArrowLeftHalign: "left",
soloArrowLeftValign: "center",
soloArrowLeftHOffset: 20,
soloArrowLeftVOffset: 0,
soloArrowRightHalign: "right",
soloArrowRightValign: "center",
soloArrowRightHOffset: 20,
soloArrowRightVOffset: 0,
shadow: 0,
fullWidth: "on",
fullScreen: "off",
spinner: "spinner0",
stopLoop: "off",
stopAfterLoops: -1,
stopAtSlide: -1,
shuffle: "off",
autoHeight: "off",
forceFullWidth: "off",
hideThumbsOnMobile: "off",
hideNavDelayOnMobile: 1500,
hideBulletsOnMobile: "off",
hideArrowsOnMobile: "off",
hideThumbsUnderResolution: 0,
hideSliderAtLimit: 0,
hideCaptionAtLimit: 0,
hideAllCaptionAtLilmit: 0,
startWithSlide: 0,
parallax: "mouse",
parallaxBgFreeze: "on",
parallaxLevels: [7, 4, 3, 2, 5, 4, 3, 2, 1, 0],
});
Note You can find revolution slider - half screen code in home-slider-revolution2.html page and above is the code for your reference.You can find the revolution slider related documentation here.
Read Revolution Slider Document
Slider Typography
H-Code includes 32+ sliders typography.
NoteYou can find slider typography code in index.html, home-fashion.html, home-architecture.html, home-spa.html, home-restaurant.html, home-agency.html, home-travel-agency.html, home-corporate.html, home-photography.html, home-shop.html, home-blog.html, home-blog-grid.html, home-parallax1.html, home-parallax2.html, home-parallax3.html, home-parallax4.html, home-parallax5.html, home-slider-owl2.html, slider-owl.html, home-shop.html, onepage-bootstrap-slider.html, onepage-fashion.html, onepage-architecture.html, onepage-spa.html, onepage-agency.html, onepage-restaurant.html, onepage-travel-agency.html, onepage-corporate.html, onepage-personal.html, onepage-wedding.html, onepage-landing.html
Helper Classes
We have created some helper classes for the Sliders. Here are a few of them:
.full-screen- Makes the slider full screen.opacity-light- For light opacity.opacity-medium- For medium opacity.opacity-full- For full opacity.slider-text-middle- Typography text vertical align middle.slider-text-top- Typography text vertical align top.slider-text-bottom- Typography text vertical align bottom
Accordions
Extend the default collapse behavior to create an accordion with the panel component.
<!-- accordion --> <div class="panel-group accordion-style1" id="accordion-one"> <!-- accordion item --> <div class="panel panel-default"> <div class="panel-heading active-accordion"> <a data-toggle="collapse" data-parent="#accordion-one" href="#accordion-one-link1"><h4 class="panel-title">Accordion Item #1<span class="pull-right"><i class="fa fa-minus"></i></span></h4></a> </div> <div id="accordion-one-link1" class="panel-collapse collapse in"> <div class="panel-body"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </div> </div> </div> <!-- end accordion item --> <!-- accordion item --> <div class="panel panel-default"> <div class="panel-heading"> <a data-toggle="collapse" data-parent="#accordion-one" href="#accordion-one-link2"><h4 class="panel-title">Accordion Item #2<span class="pull-right"><i class="fa fa-plus"></i></span></h4></a> </div> <div id="accordion-one-link2" class="panel-collapse collapse"> <div class="panel-body"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </div> </div> </div> <!-- end accordion item --> </div> <!-- end accordion -->
NoteMany examples were shown in accordions.html page.
Toggle
Extend the default collapse behavior to create an toggle with the panel component.
<!-- toggle --> <div class="panel-group toggles"> <!-- toggle item --> <div class="panel panel-default" id="collapse-one"> <div role="tablist" id="headingOne" class="panel-heading"> <a data-toggle="collapse" data-parent="#collapse-one" href="#collapse-one-link1"><h4 class="panel-title">Collapse Item #1<span class="pull-right"><i class="fa fa-plus"></i></span></h4></a> </div> <div id="collapse-one-link1" class="panel-collapse collapse"> <div class="panel-body"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </div> </div> </div> <!-- end toggle item --> <!-- toggle item --> <div class="panel panel-default"> <div role="tablist" id="headingTwo" class="panel-heading"> <a data-toggle="collapse" data-parent="#collapse-one" href="#collapse-one-link2"><h4 class="panel-title">Collapse Item #2<span class="pull-right"><i class="fa fa-plus"></i></span></h4></a> </div> <div id="collapse-one-link2" class="panel-collapse collapse"> <div class="panel-body"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </div> </div> </div> <!-- end toggle item --> </div> <!-- end toggle -->
NoteMany examples were shown in accordions.html page.
Progress Bar
Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.
<div class="progress-bar-main">
<!-- progress bar item -->
<div class="progress-bar-sub">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"></div>
</div>
<div class="progress-name"><strong>Jquery</strong> - 4 years Experience</div>
</div>
<!-- end progress bar item -->
<!-- progress bar item -->
<div class="progress-bar-sub">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width: 90%;"></div>
</div>
<div class="progress-name"><strong>Wordpress</strong> - 6 years Experience</div>
</div>
<!-- end progress bar item -->
<!-- progress bar item -->
<div class="progress-bar-sub">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100" style="width: 95%;"></div>
</div>
<div class="progress-name"><strong>HTML5</strong> - 5 years Experience</div>
</div>
<!-- end progress bar item -->
</div>
NoteMany examples were shown in progress-bar.html page.
Buttons
H-Code contains many types of button like Small, normal, big buttons, link, primary, default, warning, icon buttons, reveal buttons, etc... All of this types are customized.
<a href="#" class="highlight-button btn btn-large button xs-margin-bottom-five">Button Large</a>
<a href="#" class="highlight-button btn btn-medium button xs-margin-bottom-five">Button Medium</a>
<a href="#" class="highlight-button btn btn-small button xs-margin-bottom-five">Button Small</a>
<a href="#" class="highlight-button btn btn-very-small button xs-no-margin">Very Small</a>
NoteMany examples were shown in buttons.html page.
Features Box
Showcase your main features, services, pricing, testimonials, etc... using H-Code Features Box element.
<!-- features grid --> <!-- features item --> <div class="col-md-3 col-xs-6 text-center features-box-style1 sm-margin-bottom-six"> <i class="icon-tools medium-icon gray-text"></i> <h5 class="margin-ten no-margin-top xs-margin-bottom-five">Graphic Design</h5> <p>Lorem Ipsum is simply dummy text<br> the printing and typesetting industry.</p> </div> <!-- end features item --> <!-- features item --> <div class="col-md-3 col-xs-6 text-center features-box-style1 sm-margin-bottom-six"> <i class="icon-target medium-icon gray-text"></i> <h5 class="margin-ten no-margin-top xs-margin-bottom-five">Social Marketing</h5> <p>Lorem Ipsum is simply dummy text<br> the printing and typesetting industry.</p> </div> <!-- end features item --> <!-- features item --> <div class="col-md-3 col-xs-6 text-center features-box-style1 xs-margin-bottom-six"> <i class="icon-map medium-icon gray-text"></i> <h5 class="margin-ten no-margin-top xs-margin-bottom-five">Brand Strategy</h5> <p>Lorem Ipsum is simply dummy text<br> the printing and typesetting industry.</p> </div> <!-- end features item --> <!-- features item --> <div class="col-md-3 col-xs-6 text-center features-box-style1"> <i class="icon-hotairballoon medium-icon gray-text"></i> <h5 class="margin-ten no-margin-top xs-margin-bottom-five">Brand Strategy</h5> <p>Lorem Ipsum is simply dummy text<br> the printing and typesetting industry.</p> </div> <!-- end features item --> <!-- end features grid -->
NoteMany examples were shown in features-box.html page.
Tabs
Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus. You can activate a tab navigation without writing any JavaScript by simply specifying data-toggle="tab" on an element. Adding the nav and nav-tabs classes to the tab ul will apply the Bootstrap tab styling.
<!-- tab --> <div class="tab-style1"> <div class="row"> <div class="col-md-12 col-sm-12"> <!-- tab navigation --> <ul class="nav nav-tabs nav-tabs-light text-left"> <li class="active"><a href="#tab_sec1" data-toggle="tab">Magento</a></li> <li><a href="#tab_sec2" data-toggle="tab">Jquery</a></li> <li><a href="#tab_sec3" data-toggle="tab">Wordpress</a></li> <li><a href="#tab_sec4" data-toggle="tab">HTML / CSS</a></li> </ul> <!-- tab end navigation --> </div> </div> <!-- tab content section --> <div class="tab-content"> <!-- tab content --> <div class="tab-pane med-text fade in active" id="tab_sec1"> <div class="row"> <div class="col-md-12 col-sm-12"> <p class="no-margin-bottom">Lorem Ipsum is simply dummy text of the printing and typesetting industry. .</p><br> </div> </div> </div> <!-- end tab content --> <!-- tab content --> <div class="tab-pane fade in" id="tab_sec2"> <div class="row"> <div class="col-md-12 col-sm-12"> <p class="no-margin-bottom">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p><br> </div> </div> </div> <!-- end tab content --> <!-- tab content --> <div class="tab-pane fade in" id="tab_sec3"> <div class="row"> <div class="col-md-12 col-sm-12"> <p class="no-margin-bottom">Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p><br> </div> </div> </div> <!-- end tab content --> <!-- tab content --> <div class="tab-pane fade in" id="tab_sec4"> <div class="row"> <div class="col-md-12 col-sm-12"> <p class="no-margin-bottom">Lorem Ipsum is simply dummy text of the printing and typesetting industry. .</p><br> </div> </div> </div> <!-- end tab content --> </div> <!-- end tab content section --> </div> <!-- end tab -->
NoteMany examples were shown in tabs.html page.
Alert Massage
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. Wrap any text and an optional dismiss button in .alert and one of the four contextual classes (e.g., .alert-success) for basic alert messages.
<!-- alert message --> <div class="alert alert-success fade in" role="alert"> <i class="fa fa-thumbs-up alert-success"></i> <strong>Well done!</strong> You successfully read this important alert message. <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> </div> <!-- end alert message --> <!-- alert message --> <div class="alert alert-info fade in" role="alert"> <i class="fa fa-info-circle alert-info"></i> <strong>Heads up!</strong> This alert needs your attention, but it's not super important. <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> </div> <!-- end alert message --> <!-- alert message --> <div class="alert alert-warning fade in" role="alert"> <i class="fa fa-question-circle alert-warning"></i> <strong>Warning!</strong> Best check yo self, you're not looking too good. <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> </div> <!-- end alert message --> <!-- alert message --> <div class="alert alert-danger fade in" role="alert"> <i class="fa fa-warning alert-danger"></i> <strong>Oh snap!</strong> Change a few things up and try submitting again. <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> </div> <!-- end alert message -->
NoteMany examples were shown in alert-massage.html page.
Pagination
Provide pagination links for your site or app with the multi-page pagination component, or the simpler pager alternative.
<div class="pagination">
<a href="#"><img alt="" src="images/arrow-pre-small.png"></a>
<a href="#">1</a>
<a href="#">2</a>
<a class="active" href="#">3</a>
<a href="#">4</a>
<a href="#">5</a>
<a href="#"><img alt="" src="images/arrow-next-small.png"></a>
</div>
NoteExamples were shown in blog-masonry-2columns.html page.
Breadcrumbs
Indicate the current page's location within a navigational hierarchy.
<div class="col-md-4 col-sm-12 breadcrumb text-uppercase xs-display-none">
<div class="separator-line bg-black no-margin-lr sm-margin-top-two sm-margin-bottom-two no-margin-top xs-display-none sm-margin-bottom-three"></div>
<!-- breadcrumb -->
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Blog</a></li>
<li>2 Columns</li>
</ul>
<!-- end breadcrumb -->
</div>
NoteExamples were shown in blog-masonry-2columns.html page.
Video and Sound
Add audio and video in your website for better user experience.
Embed Video
For embed video we use powerfull FitVids plugin. A lightweight, easy-to-use jQuery plugin for fluid width video embeds.
<div class="fit-videos">
<!-- youtube video -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/mcixldqDIEQ" frameallowfullscreen></iframe>
<!-- end youtube video -->
</div>
NoteMany examples were shown in video-sound.html page.
HTML5 Video
To add html5 video you should have 3 types of video: .mp4, .ogg and .webm. Video may be loop, autoplaying, muted/unmuted. The general structure, with fix height and some additional markup see below:
<section class="full-screen no-padding cover-background" style="background-image:url('images/video-bg1.jpg');">
<div class="container-fluid full-screen position-relative no-padding" >
<div class="opacity-light gradient-overlay"></div>
<div class="video-wrapper">
<video autoplay muted loop class="html-video">
<source type="video/mp4" src="video/video.mp4">
<source type="video/ogg" src="video/video.ogg">
<source type="video/webm" src="video/video.webm">
</video>
</div>
</div>
</section>
NoteExamples were shown in home-full-screen-video.html page.
Embed Audio
<!-- sound --> <iframe width="100%" height="166" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/3005344&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false" scrolling="no"></iframe> <!-- end sound -->
NoteExamples were shown in video-sound.html page.
Counter and Skills
Counter
Counter is a jQuery plugin that animates a number from zero (counting up towards it).
<div id="counter">
<div class="container">
<div class="row">
<!-- counter -->
<div class="col-md-3 col-sm-6 bottom-margin text-center counter-section wow fadeInUp sm-margin-bottom-ten" data-wow-duration="300ms">
<i class="icon-heart medium-icon"></i>
<span id="anim-number-pizza" class="counter-number"></span>
<span class="timer counter-number alt-font" data-to="312" data-speed="7000"></span>
<span class="counter-title">Pizzas Ordered</span>
</div>
<!-- end counter -->
<!-- counter -->
<div class="col-md-3 col-sm-6 bottom-margin text-center counter-section wow fadeInUp sm-margin-bottom-ten" data-wow-duration="600ms">
<i class="icon-happy medium-icon"></i>
<span class="timer counter-number alt-font" data-to="980" data-speed="7000"></span>
<span class="counter-title">Happy Clients</span>
</div>
<!-- end counter -->
<!-- counter -->
<div class="col-md-3 col-sm-6 bottom-margin-small text-center counter-section wow fadeInUp xs-margin-bottom-ten" data-wow-duration="900ms">
<i class="icon-anchor medium-icon"></i>
<span class="timer counter-number alt-font" data-to="810" data-speed="7000"></span>
<span class="counter-title">Projects Completed</span>
</div>
<!-- end counter -->
<!-- counter -->
<div class="col-md-3 col-sm-6 text-center counter-section wow fadeInUp" data-wow-duration="1200ms">
<i class="icon-chat medium-icon"></i>
<span class="timer counter-number alt-font" data-to="600" data-speed="7000"></span>
<span class="counter-title">Comments Reserved</span>
</div>
<!-- end counter -->
</div>
</div>
</div>
NoteMany examples were shown in counter-and-skills.html page.
Skills (Pie Chart)
Easy pie chart is a jQuery plugin that uses the canvas element to render simple pie charts for single values. These charts are highly customizable, very easy to implement, scale to the resolution of the display of the client to provide sharp charts even on retina displays, and use requestAnimationFrame for smooth animations on modern devices.
It does not matter how many charts you use into one page, all are them will work. data-percent attribute sets percents.
<div class="text-center center-col">
<!-- pie charts -->
<div class="col-md-3 col-sm-3 wow bounceIn xs-margin-bottom-ten">
<div class="chart-percent"><span class="chart white-text" data-percent="75"><span class="percent"></span> </span></div>
<div class="chart-text">
<h5 class="white-text">Graphic Design</h5>
<p>Expert, 7 years</p>
</div>
</div>
<!-- end pie charts -->
<!-- pie charts -->
<div class="col-md-3 col-sm-3 wow bounceIn xs-margin-bottom-ten">
<div class="chart-percent"><span class="chart white-text" data-percent="88"><span class="percent"></span></span></div>
<div class="chart-text">
<h5 class="white-text">Web Design</h5>
<p>Expert, 9 years</p>
</div>
</div>
<!-- end pie charts -->
<!-- pie charts -->
<div class="col-md-3 col-sm-3 wow bounceIn xs-margin-bottom-ten">
<div class="chart-percent"><span class="chart white-text" data-percent="90"><span class="percent"></span> </span></div>
<div class="chart-text">
<h5 class="white-text">Branding</h5>
<p>Expert, 5 years</p>
</div>
</div>
<!-- end pie charts -->
<!-- pie charts -->
<div class="col-md-3 col-sm-3 wow bounceIn">
<div class="chart-percent"><span class="chart white-text" data-percent="96"><span class="percent"></span> </span></div>
<div class="chart-text">
<h5 class="white-text">Photography</h5>
<p>Expert, 4 years</p>
</div>
</div>
<!-- end pie charts -->
</div>
NoteMany examples were shown in counter-and-skills.html page.
Animation
Scroll to reveal animations are latest in the trends. You can do them too with H-Code. You can use animations on any element you want. Here is the Sample Code:
<div class="wow bounceInUp">
Content to Reveal Here
</div>
You can also use delays, duration and offset for your animations:
<section class="wow slideInLeft" data-wow-duration="1200ms" data-wow-delay="500ms">
...
</section>
NoteDelay duration is in milliseconds.
Here is the list of the Animation Types you can use:
bounceflashpulserubberBandshakeswingtadawobblebounceInbounceInDownbounceInLeftbounceInRightbounceInUpbounceOutbounceOutDownbounceOutLeftbounceOutRightbounceOutUpfadeInfadeInDownfadeInDownBigfadeInLeftfadeInLeftBigfadeInRightfadeInRightBigfadeInUpfadeInUpBigfadeOutfadeOutDownfadeOutDownBigfadeOutLeftfadeOutLeftBigfadeOutRightfadeOutRightBigfadeOutUpfadeOutUpBigflipflipInXflipInYflipOutXflipOutYlightSpeedInlightSpeedOutrotateInrotateInDownLeftrotateInDownRightrotateInUpLeftrotateInUpRightrotateOutrotateOutDownLeftrotateOutDownRightrotateOutUpLeftrotateOutUpRighthingerollInrollOutzoomInzoomInDownzoomInLeftzoomInRightzoomInUpzoomOutzoomOutDownzoomOutLeftzoomOutRightzoomOutUp
Sections & Parallax
Setup content you want to stand out. You can use parallax images or HTML5 Videos as Sections.
Sections Setting
Setup your Sections outside the .container element.
Light Sections
For section background color white. Use class .bg-white
<!-- section --> <section class="bg-white wow fadeIn"> <div class="container"> <div class="row"> <div class="col-md-12"> ... </div> </div> </div> </section> <!-- end section -->
Dark Sections
For section background color black. Use class .bg-black
<!-- section --> <section class="bg-black wow fadeIn"> <div class="container"> <div class="row"> <div class="col-md-12"> ... </div> </div> </div> </section> <!-- end section -->
Parallax Sections:
Make sure your parallax images are of enough width & height, preferably 1920x1080 or above.
<!-- parallax section --> <section class="parallax1 parallax-fix no-padding" > <img class="parallax-background-img" src="images/parallax-imgage.jpg" alt="" /> </section> <!-- end parallax section -->
NoteYou can add different classes like parallax1, parallax2, parallax3, parallax4, parallax5, parallax6, parallax7, parallax8, parallax9, parallax10, parallax11 and parallax12 as per your requirements. Many examples were shown in home-parallax.html page.
HTML5 Video Background Sections
You'll need an HD .mp4 .ogg & .webm videos file format.
<!-- video section --> <section class="wow fadeIn no-padding overflow-hidden position-relative"> <div class="opacity-light bg-black"></div> <div class="container-fuild"> <!-- html5 video --> <video autoplay muted loop class="html-video"> <source type="video/mp4" src="video/video.mp4"> <source type="video/ogg" src="video/video.ogg"> <source type="video/webm" src="video/video.webm"> </video> <!-- end html5 video --> <!-- video over text --> <div class="slider-text-middle2 animated fadeInUp position-relative text-center margin-ten"> <span class="slider-subtitle2 white-text">Change the world one<br> digital experience.</span> <p class="text-large white-text margin-two no-margin-bottom">Lorem Ipsum is simply dummy text<br> of the printing and typesetting industry.<br> Lorem Ipsum has been the industry.</p> </div> <!-- end video over text --> </div> </section> <!-- end video section -->
Lightbox Gallery
Magnific Popup is a responsive lightbox & dialog script with focus on performance and providing best experience for user with any device. The list of gallery options & its descriptions are provided below for your reference:
- Single Image Lightbox
- Lightbox Gallery
- Zoom Gallery
- Popup with Form
- Modal Popup
- Open YouTube Video
- Open Vimeo Video
- Open Google Map
- Ajax Popup
Single Image Lightbox
Three simple popups with different scaling settings.
- Fits horizontally and vertically.
- Only horizontally
- No gaps, zoom animation, close icon in top-right corner.
<div class="col-md-6 col-sm-6 wow fadeIn">
<!-- photo item -->
<a class="image-popup-no-margins" href="images/blog-details1.jpg"><img src="images/blog-details1.jpg" alt="" class="project-img-gallery no-padding-top"></a>
<!-- end photo item -->
</div>
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.image-popup-no-margins').magnificPopup({
type: 'image',
closeOnContentClick: true,
fixedContentPos: true,
mainClass: 'mfp-no-margins mfp-with-zoom', // class to remove default margin from left and right side
image: {
verticalFit: true,
},
zoom: {
enabled: true,
duration: 300 // don't foget to change the duration also in CSS
},
callbacks: {
open: function () {
if (isMobile)
$('body').addClass('overflow-hidden-mobile');
else
$('body').addClass('overflow-hidden');
},
close: function () {
if (isMobile)
$('body').removeClass('overflow-hidden-mobile');
else
$('body').removeClass('overflow-hidden');
}
// e.t.c.
}
});
});
</script>
NoteMany examples were shown in single-image-lightbox.html page.
Lightbox Gallery
You may put any HTML content in each gallery item and mix content types. In this example lazy-loading of images is enabled for the next image based on move direction.
<div class="row lightbox-gallery">
<div class="col-md-6 col-sm-6 wow fadeIn">
<!-- photo item -->
<a href="images/portfolio-img29.jpg"><img src="images/portfolio-img29.jpg" alt="" class="project-img-gallery"></a>
<!-- end photo item -->
</div>
<div class="col-md-6 col-sm-6 wow fadeIn">
<!-- photo item -->
<a href="images/portfolio-img26.jpg"><img src="images/portfolio-img26.jpg" alt="" class="project-img-gallery"></a>
<!-- end photo item -->
</div>
</div>
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.lightbox-gallery').magnificPopup({
delegate: 'a',
type: 'image',
tLoading: 'Loading image #%curr%...',
mainClass: 'mfp-fade',
gallery: {
enabled: true,
navigateByImgClick: true,
preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
}
});
});
</script>
NoteMany examples were shown in lightbox-gallery.html page.
Zoom Gallery
If you wish to open the popup only after image is fully loaded, you may preload image via JS. Or use scaled down image instead of thumbnail. Zoom effect works only with images, for now.
<div class="row zoom-gallery">
<div class="col-md-4 col-sm-6 wow fadeIn">
<!--photo item -->
<a href="images/fashion-photoshots04.jpg"><img src="images/fashion-photoshots04.jpg" alt="" class="project-img-gallery"></a>
<!--end photo item -->
</div>
<div class="col-md-4 col-sm-6 wow fadeIn">
<!--photo item -->
<a href="images/fashion-photoshots01.jpg"><img src="images/fashion-photoshots01.jpg" alt="" class="project-img-gallery"></a>
<!--end photo item -->
</div>
</div>
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.zoom-gallery').magnificPopup({
delegate: 'a',
type: 'image',
mainClass: 'mfp-with-zoom mfp-img-mobile',
image: {
verticalFit: true,
titleSrc: function (item) {
return item.el.attr('title') + ' · <a class="image-source-link" href="' + item.el.attr('data-source') + '" target="_blank">image source</a>';
}
},
gallery: {
enabled: true
},
zoom: {
enabled: true,
duration: 300, // don't foget to change the duration also in CSS
opener: function (element) {
return element.find('img');
}
}
});
});
</script>
NoteMany examples were shown in zoom-gallery.html page.
Popup with Form
Entered data is not lost if you open and close the popup or if you go to another page and then press back browser button.
<div class="slider-text-middle2 animated fadeInUp position-relative text-center">
<!--headline -->
<span class="slider-subtitle5 black-text">Change the world one<br> digital experience.</span>
<!--end headline -->
<!--button-->
<a class="btn button-reveal button-reveal-black button popup-with-form no-margin" href="#popup-form"><i class="fa fa-plus"></i><span>Open Form</span></a>
<!--end button -->
<!--form -->
<form id="popup-form" class="white-popup-block mfp-hide">
<div class="col-lg-3 col-md-5 col-sm-7 center-col text-center">
<span class="slider-subtitle5 black-text">Change the world one digital experience.</span>
<!--input -->
<input type="text" placeholder="Your Name" name="name">
<!--end input -->
<!--input -->
<input type="text" placeholder="Your Email" name="email">
<!--end input -->
<!--textarea -->
<textarea placeholder="Your Message" name="comment"></textarea>
<!--end textarea -->
<!--required -->
<span class="required">*Please complete all fields correctly</span>
<!--end required -->
<!--button -->
<input type="button" class="btn btn-black no-margin-bottom" value="send message" name="send message">
<!--end button -->
</div>
</form>
<!--end form -->
</div>
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.popup-with-form').magnificPopup({
type: 'inline',
preloader: false,
closeBtnInside: true,
focus: '#name',
// When elemened is focused, some mobile browsers in some cases zoom in
// It looks not nice, so we disable it:
callbacks: {
beforeOpen: function () {
if ($(window).width() < 700) {
this.st.focus = false;
} else {
this.st.focus = '#name';
}
}
}
});
});
</script>
NoteMany examples were shown in popup-with-form.html page.
Modal Popup
A modal popup disables the usual ways to close popups.
<div class="row">
<!-- modal popup #1 -->
<div class="col-lg-3 col-md-4 col-sm-5 center-col text-center">
<p class="text-med">A modal popup disables the usual ways to close popups.</p>
<a class="highlight-button btn btn-small no-margin-right modal-popup no-margin-bottom" href="#modal-popup">Open Modal</a>
<!-- modal popup -->
<div id="modal-popup" class="white-popup-block mfp-hide col-lg-3 col-md-6 col-sm-7 col-xs-11 center-col bg-white text-center modal-popup-main">
<span class="slider-subtitle5 black-text no-margin-bottom">Modal dialog</span>
<p class="margin-four">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p>
<a class="highlight-button btn btn-very-small button popup-modal-dismiss no-margin" href="#">Dismiss</a>
</div>
<!-- end modal popup -->
</div>
<!-- end modal popup #1 -->
</div>
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.modal-popup').magnificPopup({
type: 'inline',
preloader: false,
// modal: true,
blackbg: true
});
$(document).on('click', '.popup-modal-dismiss', function (e) {
e.preventDefault();
$.magnificPopup.close();
});
});
</script>
NoteMany examples were shown in modal-popup.html page.
Open YouTube Video
In this example lightboxes are automatically disabled on small screen size and default behavior of link is triggered.
<div class="row">
<!-- video popup -->
<div class="col-md-4 col-sm-6 center-col text-center">
<p class="text-med">In this example lightboxes are automatically disabled on small screen size and default behavior of link is triggered.</p>
<a class="highlight-button btn btn-small no-margin-right popup-youtube" href="https://www.youtube.com/watch?v=mcixldqDIEQ">Open YouTube video</a>
</div>
<!-- end video popup -->
</div>
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.popup-youtube, .popup-vimeo, .popup-gmaps').magnificPopup({
disableOn: 700,
type: 'iframe',
mainClass: 'mfp-fade',
removalDelay: 160,
preloader: false,
fixedContentPos: false,
callbacks: {
open: function () {
if (isMobile)
$('body').addClass('overflow-hidden-mobile');
else
$('body').addClass('overflow-hidden');
},
close: function () {
if (isMobile)
$('body').removeClass('overflow-hidden-mobile');
else
$('body').removeClass('overflow-hidden');
}
// e.t.c.
}
});
});
</script>
NoteMany examples were shown in open-youtube-video.html page.
Open Vimeo Video
In this example lightboxes are automatically disabled on small screen size and default behavior of link is triggered.
<div class="row">
<!-- video popup -->
<div class="col-md-4 col-sm-6 center-col text-center">
<p class="text-med">In this example lightboxes are automatically disabled on small screen size and default behavior of link is triggered.</p>
<a class="highlight-button btn btn-small no-margin-right popup-vimeo no-margin-bottom" href="https://player.vimeo.com/video/75976293">Open Vimeo video</a>
</div>
<!-- end video popup -->
</div>
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.popup-youtube, .popup-vimeo, .popup-gmaps').magnificPopup({
disableOn: 700,
type: 'iframe',
mainClass: 'mfp-fade',
removalDelay: 160,
preloader: false,
fixedContentPos: false,
callbacks: {
open: function () {
if (isMobile)
$('body').addClass('overflow-hidden-mobile');
else
$('body').addClass('overflow-hidden');
},
close: function () {
if (isMobile)
$('body').removeClass('overflow-hidden-mobile');
else
$('body').removeClass('overflow-hidden');
}
// e.t.c.
}
});
});
</script>
NoteMany examples were shown in open-vimeo-video.html page.
Open Google Map
In this example lightboxes are automatically disabled on small screen size and default behavior of link is triggered.
<div class="row">
<!-- google map popup -->
<div class="col-md-4 col-sm-6 center-col text-center">
<p class="text-med">In this example lightboxes are automatically disabled on small screen size and default behavior of link is triggered.</p>
<a class="highlight-button btn btn-small no-margin-right popup-gmaps no-margin-bottom" href="https://maps.google.com/maps?q=221B+Baker+Street,+London,+United+Kingdom&hl=en&t=v&hnear=221B+Baker+St,+London+NW1+6XE,+United+Kingdom">Open Google Map</a>
</div>
<!-- end google map popup -->
</div>
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.popup-youtube, .popup-vimeo, .popup-gmaps').magnificPopup({
disableOn: 700,
type: 'iframe',
mainClass: 'mfp-fade',
removalDelay: 160,
preloader: false,
fixedContentPos: false,
callbacks: {
open: function () {
if (isMobile)
$('body').addClass('overflow-hidden-mobile');
else
$('body').addClass('overflow-hidden');
},
close: function () {
if (isMobile)
$('body').removeClass('overflow-hidden-mobile');
else
$('body').removeClass('overflow-hidden');
}
// e.t.c.
}
});
});
</script>
NoteMany examples were shown in open-google-map.html page.
Ajax Popup
You have full control of what is displayed in popup, align it to any side via CSS, enable or disable scroll on right side of window - whatever.
<!-- ajax popup --> <div class="col-md-12"> <a href="onepage-single-project-page2.html" class="simple-ajax-popup-align-top"><img src="images/image.jpg" alt=""></a> </div> <!-- ajax popup -->
Javascript
<script type="text/javascript">
$(document).ready(function () {
$('.simple-ajax-popup-align-top').magnificPopup({
type: 'ajax',
alignTop: true,
overflowY: 'scroll', // as we know that popup content is tall we set scroll overflow by default to avoid jump
callbacks: {
open: function () {
$('.navbar .collapse').removeClass('in');
$('.navbar a.dropdown-toggle').addClass('collapsed');
}
}
});
});
</script>
NoteMany examples were shown in portfolio-grid-2columns.html page.
Font Awesome Icon
We you use excellent Fontawesome service. Font Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS. Over 500 new icons.
Icon Size
<!-- extra-large icon --> <i class="fa fa-anchor extra-large-icon"></i> <!-- end extra-large icon --> <!-- large icon --> <i class="fa fa-reply large-icon"></i> <!-- end large icon --> <!-- medium icon --> <i class="fa fa-mail-reply-all medium-icon"></i> <!-- end medium icon --> <!-- small icon --> <i class="fa fa-navicon small-icon"></i> <!-- end small icon --> <!-- extra small icon --> <i class="fa fa-reply extra-small-icon"></i> <!-- end extra small icon -->
Icon Style
<!-- bordered icons --> <i class="fa fa-anchor i-large-box i-rounded i-bordered"></i> <!-- end bordered icons --> <!-- inner shadow icons --> <i class="fa fa-life-ring i-medium-box i-bordered i-light"></i> <!-- end inner shadow icons --> <!-- outer shadow icons --> <i class="fa fa-music i-small-box i-rounded i-3d"></i> <!-- end outer shadow icons --> <!-- color 3d icons --> <i class="fa fa-reorder i-extra-small-box i-rounded i-3d-border bg-orange"></i> <!-- end color 3d icons -->
Icon Class
NoteFont Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS.
Check the cheatsheet.
NoteMany examples were shown in icons-font-awesome.html page.
Et-Line Icon
Icon Style
<!-- plain with hover background icon --> <i class="icon-video i-large-box i-plain"></i> <!-- end plain with hover background icon --> <!-- rounded border icon --> <i class="icon-video i-large-box i-rounded i-bordered"></i> <!-- end rounded border icon --> <!-- rounded border with background icon --> <i class="icon-target i-large-box i-rounded"></i> <!-- end rounded border with background icon --> <!-- rounded border with inner shadow icon --> <i class="icon-wine i-large-box i-rounded i-bordered i-light"></i> <!-- end rounded border with inner shadow icon --> <!-- rounded border with outer shadow icon --> <i class="icon-laptop i-large-box i-rounded i-3d"></i> <!-- end rounded border with outer shadow icon --> <!-- 3d background icon --> <i class="icon-presentation i-large-box i-rounded i-3d-border bg-orange"></i> <!-- end 3d background icon -->
Icon Class
NoteMany examples were shown in icons-et-line.html page.
Portfolio
H-Code provides a very elegant way to showcase your work. Setting up Portfolio is simple. Please use the following codes:
Setting up Portfolio Filter:
<!-- filter navigation --> <ul class="portfolio-filter nav nav-tabs"> <li class="nav active"><a href="#" data-filter="*">All</a></li> <li class="nav"><a href="#" data-filter=".magento">Magento</a></li> <li class="nav"><a href="#" data-filter=".jquery">Jquery</a></li> <li class="nav"><a href="#" data-filter=".wordpress">Wordpress</a></li> <li class="nav"><a href="#" data-filter=".html">HTML</a></li> </ul> <!-- end filter navigation -->
Setting up Portfolio Columns and Items:
You can change portfolio columns by changing class of portfolio main DIV to work-2col, work-3col, work-4col and work-5col as per the columns you need. You can add data filter class name in portfolio LI item as per the filter category above. Below is the portfolio section code for your reference:
<!-- portfolio section --> <div class="grid-wrap work-4col"> <div class="container-fluid"> <div class="row no-padding"> <div class="col-md-12 text-center"> <div class="text-center"> <!-- filter navigation --> <ul class="portfolio-filter nav nav-tabs"> ... </ul> <!-- end filter navigation --> </div> </div> <div class="grid-gallery overflow-hidden"> <div class="tab-content"> <ul class="masonry-items grid"> <!-- portfolio item --> <li class="html jquery wordpress"> <figure> <div class="gallery-img"><a href="single-project-page1.html"><img src="images/portfolio-img9.jpg" alt=""></a></div> <figcaption> <h3><a href="single-project-page1.html">Herbal Beauty Salon</a></h3> <p>Branding & Identity</p> </figcaption> </figure> </li> <!-- end portfolio item --> <!-- portfolio item --> <li class="html magento wordpress"> <figure> <div class="gallery-img"><a href="single-project-page2.html"><img src="images/portfolio-img16.jpg" alt=""></a></div> <figcaption> <h3><a href="single-project-page2.html">Tailoring Interior </a></h3> <p>Branding & Identity</p> </figcaption> </figure> </li> <!-- end portfolio item --> </ul> </div> </div> </div> </div> </div> <!-- end portfolio section -->
Portfolio Layout
H-Code includes different types of portfolio layout as mentioned below to setup your own portfolio as per your requirement:
- Portfolio Grid
- Portfolio Grid Gutter
- Portfolio Grid Gutter with Title
- Portfolio Masonry
- Portfolio Parallax
- Portfolio with Short Description
Portfolio Grid
<section class="grid-wrap work-3col">
<div class="container">
<div class="row no-padding">
<div class="col-md-12 text-center">
<div class="text-center">
<!-- filter navigation -->
<ul class="portfolio-filter nav nav-tabs">
...
</ul>
<!-- end filter navigation -->
</div>
</div>
<div class="grid-gallery overflow-hidden">
<div class="tab-content">
<ul class="masonry-items grid">
<!-- portfolio item -->
<li class="html jquery wordpress">
<figure>
<div class="gallery-img"><a href="single-project-page1.html"><img src="images/portfolio-img1.jpg" alt=""></a></div>
<figcaption>
<h3><a href="single-project-page1.html">Herbal Beauty Salon</a></h3>
<p>Branding & Identity</p>
</figcaption>
</figure>
</li>
<!-- end portfolio item -->
<!-- portfolio item -->
<li class="html magento wordpress">
<figure>
<div class="gallery-img"><a href="single-project-page2.html"><img src="images/portfolio-img2.jpg" alt=""></a></div>
<figcaption>
<h3><a href="single-project-page2.html">Tailoring Interior </a></h3>
<p>Branding & Identity</p>
</figcaption>
</figure>
</li>
<!-- end portfolio item -->
</ul>
</div>
</div>
</div>
</div>
</section>
NoteMany examples were shown in portfolio-grid-3columns.html page.
Portfolio Grid Gutter
<section class="grid-wrap work-3col gutter">
<div class="container">
<div class="row no-padding">
<div class="col-md-12 text-center">
<div class="text-center">
<!-- filter navigation -->
<ul class="portfolio-filter nav nav-tabs">
...
</ul>
<!-- end filter navigation -->
</div>
</div>
<div class="grid-gallery overflow-hidden">
<div class="tab-content">
<ul class="masonry-items grid">
<!-- portfolio item -->
<li class="html jquery wordpress">
<figure>
<div class="gallery-img"><a href="single-project-page1.html"><img src="images/portfolio-img1.jpg" alt=""></a></div>
<figcaption>
<h3><a href="single-project-page1.html">Herbal Beauty Salon</a></h3>
<p>Branding & Identity</p>
</figcaption>
</figure>
</li>
<!-- end portfolio item -->
<!-- portfolio item -->
<li class="html magento wordpress">
<figure>
<div class="gallery-img"><a href="single-project-page2.html"><img src="images/portfolio-img2.jpg" alt=""></a></div>
<figcaption>
<h3><a href="single-project-page2.html">Tailoring Interior </a></h3>
<p>Branding & Identity</p>
</figcaption>
</figure>
</li>
<!-- end portfolio item -->
</ul>
</div>
</div>
</div>
</div>
</section>
NoteMany examples were shown in portfolio-grid-gutter-3columns.html page.
Portfolio Grid Gutter With Title
<section class="grid-wrap work-3col gutter work-with-title">
<div class="container">
<div class="row no-padding">
<div class="col-md-12 text-center">
<div class="text-center">
<!-- filter navigation -->
<ul class="portfolio-filter nav nav-tabs">
...
</ul>
<!-- end filter navigation -->
</div>
</div>
<div class="grid-gallery overflow-hidden">
<div class="tab-content">
<ul class="masonry-items grid">
<!-- portfolio item -->
<li class="html jquery wordpress">
<figure>
<div class="gallery-img"><a href="single-project-page1.html"><img src="images/portfolio-img1.jpg" alt=""></a></div>
<figcaption>
<h3><a href="single-project-page1.html">Herbal Beauty Salon</a></h3>
<p>Branding & Identity</p>
</figcaption>
</figure>
</li>
<!-- end portfolio item -->
<!-- portfolio item -->
<li class="html magento wordpress">
<figure>
<div class="gallery-img"><a href="single-project-page2.html"><img src="images/portfolio-img2.jpg" alt=""></a></div>
<figcaption>
<h3><a href="single-project-page2.html">Tailoring Interior </a></h3>
<p>Branding & Identity</p>
</figcaption>
</figure>
</li>
<!-- end portfolio item -->
</ul>
</div>
</div>
</div>
</div>
</section>
NoteMany examples were shown in portfolio-grid-with-title-3columns.html page.
Portfolio Masonry
<!-- portfolio section --> <section class="work-3col masonry"> <div class="container"> <div class="row"> <div class="col-md-12 text-center" > <div class="text-center"> <!-- work filter --> <ul class="portfolio-filter nav nav-tabs nav-tabs-light wow fadeInUp"> ... </ul> <!-- end work filter --> </div> </div> <div class="col-md-12 grid-gallery overflow-hidden no-padding" > <div class="tab-content"> <!-- work grid --> <ul class="grid masonry-items"> <!-- work item --> <li class="html wordpress jquery"> <figure> <div class="gallery-img"><a href="single-project-page2.html"><img src="images/portfolio-img41.jpg" alt=""></a></div> <figcaption> <h3>Third Eye Glasses</h3> <p>Branding & Identity</p> </figcaption> </figure> </li> <!-- end work item --> <!-- work item --> <li class="html magento"> <figure> <div class="gallery-img"><a href="single-project-page3.html"><img src="images/portfolio-img50.jpg" alt=""></a></div> <figcaption> <h3>Rubber Studio</h3> <p>Branding & Identity</p> </figcaption> </figure> </li> <!-- end work item --> </ul> <!-- end work grid --> </div> </div> </div> </div> </section> <!-- end portfolio section -->
NoteMany examples were shown in portfolio-masonry-3columns.html page.
Portfolio Item Link
There are different types of portfolio item linking available in H-Code as mentioned below:
Open External Page
<div class="col-md-12 grid-gallery overflow-hidden" >
<div class="tab-content">
<!-- work grid -->
<ul class="grid masonry-items">
<!-- work item ( external page ) -->
<li class="html magento">
<figure>
<div class="gallery-img"><a href="single-project-page1.html"><img src="images/portfolio-img40.jpg" alt=""></a></div>
<figcaption>
<i class="icon-attachment"></i>
<h3>Herbal Beauty Salon</h3>
<p>External Page</p>
</figcaption>
</figure>
</li>
<!-- end work item -->
</ul>
<!-- end work grid -->
</div>
</div>
NoteMany examples were shown in portfolio-grid-4columns.html page.
Open Lightbox Photo Gallery
<div class="col-md-12 grid-gallery overflow-hidden" >
<div class="tab-content">
<!-- work grid -->
<ul class="grid masonry-items">
<!-- work item ( lightbox gallery ) -->
<li class="html wordpress lightbox-gallery">
<figure>
<div class="gallery-img"><a href="images/big-portfolio-img1.jpg" title=""><img src="images/portfolio-img37.jpg" alt=""></a><a href="images/big-portfolio-img2.jpg" title=""></a><a href="images/big-portfolio-img3.jpg" title=""></a></div>
<figcaption>
<i class="icon-camera"></i>
<h3>Tailoring Interior</h3>
<p>Lightbox gallery</p>
</figcaption>
</figure>
</li>
<!-- end work item -->
</ul>
<!-- end work grid -->
</div>
</div>
NoteMany examples were shown in portfolio-grid-4columns.html page.
Open Video Lightbox
<div class="col-md-12 grid-gallery overflow-hidden" >
<div class="tab-content">
<!-- work grid -->
<ul class="grid masonry-items">
<!-- work item ( video lightbox )-->
<li class="html wordpress">
<figure>
<div class="gallery-img"><a class="popup-vimeo" href="https://player.vimeo.com/video/75976293"><img src="images/portfolio-img38.jpg" alt=""></a></div>
<figcaption>
<i class="icon-video"></i>
<h3>Pixflow Studio</h3>
<p>Video lightbox</p>
</figcaption>
</figure>
</li>
<!-- end work item -->
</ul>
<!-- end work grid -->
</div>
</div>
NoteMany examples were shown in portfolio-grid-4columns.html page.
Open Ajax Popup
<div class="col-md-12 grid-gallery overflow-hidden" >
<div class="tab-content">
<!-- work grid -->
<ul class="grid masonry-items">
<!-- work item ( ajax Popup ) -->
<li class="magento">
<figure>
<div class="gallery-img"><a href="onepage-single-project-page3.html" class="simple-ajax-popup-align-top"><img src="images/portfolio-img39.jpg" alt=""></a></div>
<figcaption>
<i class="icon-browser"></i>
<h3>Kaya Skin Care</h3>
<p>Ajax Popup</p>
</figcaption>
</figure>
</li>
<!-- end work item -->
</ul>
<!-- end work grid -->
</div>
</div>
NoteMany examples were shown in portfolio-grid-4columns.html page.
Blog
Our template contains all required pages to create fully working and oriented blog. Approx 22 pages for blog were html-coded and represented for using. Blog list presented in several forms: masonry, fullwidth, with sidebars. Also we added many types of posts, standard blog.
Blog Setup
<div class="row">
<!-- post item -->
<div class="col-md-6 col-sm-6 col-xs-6 blog-listing wow fadeInUp" data-wow-duration="300ms">
<div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/blog-post16.jpg" alt=""/></a></div>
<div class="blog-details">
<div class="blog-date">Posted by <a href="blog-masonry-2columns.html">Paul Scrivens</a> | 02 January 2015</div>
<div class="blog-title"><a href="blog-single-right-sidebar.html">Minimum Usable Design</a></div>
<div class="blog-short-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</div>
<div class="separator-line bg-black no-margin-lr"></div>
<div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div>
</div>
</div>
<!-- end post item -->
</div>
Blog Layout
H-Code includes different types of blog layout as mentioned below to setup your own blog listing as per your requirement:
Blog Grid
<div class="row blog-3col">
<!-- post item -->
<div class="col-md-4 col-sm-6 col-xs-6 blog-listing wow fadeInUp" data-wow-duration="300ms">
<div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/blog-post16.jpg" alt=""/></a></div>
<div class="blog-details">
<div class="blog-date">Posted by <a href="blog-masonry-2columns.html">Paul Scrivens</a> | 02 January 2015</div>
<div class="blog-title"><a href="blog-single-right-sidebar.html">Minimum Usable Design</a></div>
<div class="blog-short-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</div>
<div class="separator-line bg-black no-margin-lr"></div>
<div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div>
</div>
</div>
<!-- end post item -->
<!-- post item -->
<div class="col-md-4 col-sm-6 col-xs-6 blog-listing wow fadeInUp" data-wow-duration="600ms">
<div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/blog-post19.jpg" alt=""/></a></div>
<div class="blog-details">
<div class="blog-date">Posted by <a href="blog-masonry-2columns.html">Paul Scrivens</a> | 02 January 2015</div>
<div class="blog-title"><a href="blog-single-right-sidebar.html">You Design It, They Do It</a></div>
<div class="blog-short-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</div>
<div class="separator-line bg-black no-margin-lr"></div>
<div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div>
</div>
</div>
<!-- end post item -->
<!-- post item -->
<div class="col-md-4 col-sm-6 col-xs-6 blog-listing wow fadeInUp" data-wow-duration="900ms">
<div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/blog-post18.jpg" alt=""/></a></div>
<div class="blog-details">
<div class="blog-date">Posted by <a href="blog-masonry-2columns.html">Nathan Ford</a> | 02 January 2015</div>
<div class="blog-title"><a href="blog-single-right-sidebar.html">For A More Readable Web Page</a></div>
<div class="blog-short-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</div>
<div class="separator-line bg-black no-margin-lr"></div>
<div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div>
</div>
</div>
<!-- end post item -->
</div>
NoteMany examples were shown in blog-grid-3columns.html page.
Blog Masonry
<div class="row blog-masonry blog-masonry-3col">
<!-- post item -->
<div class="col-md-4 col-sm-6 col-xs-6 blog-listing">
<div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/blog-post4.jpg" alt=""/></a></div>
<div class="blog-details">
<div class="blog-date">Posted by <a href="blog-masonry-2columns.html">Paul Scrivens</a> | 02 January 2015</div>
<div class="blog-title"><a href="blog-single-right-sidebar.html">Minimum Usable Design</a></div>
<div class="blog-short-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div>
<div class="separator-line bg-black no-margin-lr"></div>
<div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div>
</div>
</div>
<!-- end post item -->
<!-- post item -->
<div class="col-md-4 col-sm-6 col-xs-6 blog-listing">
<div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/blog-post5.jpg" alt=""/></a></div>
<div class="blog-details">
<div class="blog-date">Posted by <a href="blog-masonry-2columns.html">Paul Scrivens</a> | 02 January 2015</div>
<div class="blog-title"><a href="blog-single-right-sidebar.html">You Design It, They Do It</a></div>
<div class="blog-short-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div>
<div class="separator-line bg-black no-margin-lr"></div>
<div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div>
</div>
</div>
<!-- end post item -->
<!-- post item -->
<div class="col-md-4 col-sm-6 col-xs-6 blog-listing">
<div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/blog-post6.jpg" alt=""/></a></div>
<div class="blog-details">
<div class="blog-date">Posted by <a href="blog-masonry-2columns.html">Nathan Ford</a> | 02 January 2015</div>
<div class="blog-title"><a href="blog-single-right-sidebar.html">For A More Readable Web Page</a></div>
<div class="blog-short-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div>
<div class="separator-line bg-black no-margin-lr"></div>
<div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div>
</div>
</div>
<!-- end post item -->
<!-- post item -->
<div class="col-md-4 col-sm-6 col-xs-6 blog-listing">
<div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/blog-post14.jpg" alt=""/></a></div>
<div class="blog-details">
<div class="blog-date">Posted by <a href="blog-masonry-2columns.html">Aarron Walter</a> | 02 January 2015</div>
<div class="blog-title"><a href="blog-single-right-sidebar.html">Redesigning With Personality</a></div>
<div class="blog-short-description">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div>
<div class="separator-line bg-black no-margin-lr"></div>
<div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div>
</div>
</div>
<!-- end post item -->
</div>
NoteMany examples were shown in blog-masonry-3columns.html page.
Blog Full Width
<!-- post item --> <div class="blog-listing blog-listing-classic blog-listing-full wow fadeIn"> <div class="col-md-2 col-sm-2 col-xs-5 clearfix text-center no-padding-right xs-padding-right"> <!-- post avtar image --> <div class="avtar text-left"><a href="blog-masonry-3columns.html"><img src="images/avtar1.jpg" alt=""/></a></div> <!-- end post avtar image --> <!-- post by --> <div class="blog-date-right">Posted by <a href="blog-masonry-3columns.html">Paul Scrivens</a></div> <!-- end post by --> <div class="separator-line bg-black no-margin-lr no-margin xs-margin-bottom-ten"></div> </div> <div class="col-md-10 col-sm-10 col-xs-12 no-padding-left xs-padding-left"> <div class="blog-number bg-white black-text text-center">01</div> <!-- post image --> <div class="blog-image"><a href="blog-single-full-width.html"><img src="images/big-portfolio-img16.jpg" alt=""/></a></div> <!-- end post image --> <div class="blog-details"> <div class="blog-date no-padding-top"><a href="blog-masonry-3columns.html">Design</a>, <a href="blog-masonry-3columns.html">Branding</a> </div> <div class="blog-title"><a href="blog-single-full-width.html">This is a Standard post with a Preview Image</a></div> <div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div> <div class="separator-line bg-black no-margin-lr margin-four"></div> <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div> <a class="highlight-button-black-border btn btn-medium margin-five no-margin-bottom" href="blog-single-full-width.html">Continue Reading</a> </div> </div> </div> <!-- end post item -->
NoteMany examples were shown in blog-full-width.html page.
Blog Post Types
You can use 7 different types of post types:
Image
<!-- post item --> <div class="blog-listing blog-listing-classic"> <!-- post image --> <div class="blog-image"><a href="blog-single-right-sidebar.html"><img src="images/big-portfolio-img15.jpg" alt=""/></a></div> <!-- end post image --> <div class="blog-details"> <div class="blog-date">Posted by <a href="blog-masonry-3columns.html">Paul Scrivens</a> | 02 January 2015 | <a href="blog-masonry-3columns.html">Design</a>, <a href="blog-masonry-3columns.html">Branding</a> </div> <div class="blog-title"><a href="blog-single-right-sidebar.html">This is a Standard post with a Preview Image</a></div> <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.</div> <div class="separator-line bg-black no-margin-lr margin-four"></div> <div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div> <a class="highlight-button btn btn-small xs-no-margin-bottom" href="blog-single-right-sidebar.html">Continue Reading</a> </div> </div> <!-- end post item -->
NoteMany examples were shown in blog-right-sidebar.html page.
Image Slider
<!-- post item --> <div class="blog-listing blog-listing-classic"> <!-- post image --> <div class="blog-image"> <div id="owl-demo" class="owl-carousel owl-theme dark-pagination"> <div class="item"><img src="images/big-portfolio-img11.jpg" alt=""/></div> <div class="item"><img src="images/big-portfolio-img12.jpg" alt=""/></div> <div class="item"><img src="images/big-portfolio-img13.jpg" alt=""/></div> </div> </div> <!-- end post image --> <div class="blog-details"> <div class="blog-date">Posted by <a href="blog-masonry-3columns.html">Paul Scrivens</a> | 02 January 2015 | <a href="blog-masonry-3columns.html">Design</a>, <a href="blog-masonry-3columns.html">Branding</a> </div> <div class="blog-title"><a href="blog-single-right-sidebar.html">This is a Standard post with a images slider</a></div> <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.</div> <div class="separator-line bg-black no-margin-lr margin-four"></div> <div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div> <a class="highlight-button btn btn-small xs-no-margin-bottom" href="blog-single-right-sidebar.html">Continue Reading</a> </div> </div> <!-- end post item -->
NoteMany examples were shown in blog-right-sidebar.html page.
Blockquotes
<!-- post item --> <div class="blog-listing blog-listing-classic"> <!-- blockquote --> <div class="blog-image"> <blockquote class="bg-gray"> <p>Reading is not only informed by what’s going on with us at that moment, but also governed by how our eyes and brains work to process information. What you see and what you’re experiencing as you read these words is quite different.</p> </blockquote> </div> <!-- end blockquote --> <div class="blog-details"> <div class="blog-date">Posted by <a href="blog-masonry-3columns.html">Paul Scrivens</a> | 02 January 2015 | <a href="blog-masonry-3columns.html">Design</a>, <a href="blog-masonry-3columns.html">Branding</a> </div> <div class="blog-title"><a href="blog-single-right-sidebar.html">This is a blockquote post</a></div> <div class="separator-line bg-black no-margin-lr margin-four"></div> <div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div> <a class="highlight-button btn btn-small xs-no-margin-bottom" href="blog-single-right-sidebar.html">Continue Reading</a> </div> </div> <!-- end post item -->
NoteMany examples were shown in blog-right-sidebar.html page.
Thumbs Gallery
<!-- post item --> <div class="blog-listing blog-listing-classic"> <!-- post lightbox images --> <div class="blog-image lightbox-gallery"> <div class="col-md-4 col-sm-6 col-xs-12 no-padding"><a href="images/portfolio-img28.jpg"><img src="images/portfolio-img28.jpg" alt=""/></a></div> <div class="col-md-4 col-sm-6 col-xs-12 no-padding"><a href="images/portfolio-img37.jpg"><img src="images/portfolio-img37.jpg" alt=""/></a></div> </div> <!-- end post lightbox images --> <div class="blog-details"> <div class="blog-date">Posted by <a href="blog-masonry-3columns.html">Paul Scrivens</a> | 02 January 2015 | <a href="blog-masonry-3columns.html">Design</a>, <a href="blog-masonry-3columns.html">Branding</a> </div> <div class="blog-title"><a href="blog-single-right-sidebar.html">This is a Standard post with Thumbs Gallery</a></div> <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.</div> <div class="separator-line bg-black no-margin-lr margin-four"></div> <div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div> <a class="highlight-button btn btn-small xs-no-margin-bottom" href="blog-single-right-sidebar.html">Continue Reading</a> </div> </div> <!-- end post item -->
NoteMany examples were shown in blog-right-sidebar.html page.
Embedded Video
<!-- post item --> <div class="blog-listing blog-listing-classic wow fadeIn"> <!-- post video --> <div class="blog-image fit-videos"> <iframe src="https://player.vimeo.com/video/75976293" width="500" height="281" framewebkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> </div> <!-- end post video --> <div class="blog-details"> <div class="blog-date">Posted by <a href="blog-masonry-3columns.html">Paul Scrivens</a> | 02 January 2015 | <a href="blog-masonry-3columns.html">Design</a>, <a href="blog-masonry-3columns.html">Branding</a> </div> <div class="blog-title"><a href="blog-single-right-sidebar.html">This is a Standard post with an Embedded Video</a></div> <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the standard dummy text.</div> <div class="separator-line bg-black no-margin-lr margin-four"></div> <div><a href="#" class="blog-like"><i class="fa fa-heart-o"></i>Likes</a><a href="#" class="blog-share"><i class="fa fa-share-alt"></i>Share</a><a href="#" class="comment"><i class="fa fa-comment-o"></i>3 comment(s)</a></div> <a class="highlight-button btn btn-small xs-no-margin-bottom" href="blog-single-right-sidebar.html">Continue Reading</a> </div> </div> <!-- end post item -->
NoteMany examples were shown in blog-right-sidebar.html page.
HTML5 Video
<!-- post item --> <div class="blog-listing blog-listing-classic wow fadeIn"> <!-- post html5 video --> <div class="blog-image"> <video autoplay muted loop controls> <source type="video/mp4" src="video/video.mp4"> <source type="video/ogg" src="video/video.ogg"> <source type="video/webm" src="video/video.webm"> </video> </div> <!-- end post html5 video-->
NoteMany examples were shown in blog-right-sidebar.html page.
Form Settings
H-Code contains different types of ready to use forms in overall template files as mentioned below:
Contact Us
Your email subscription form will not work unless you have your files running on a hosting server with PHP / JS. When you have your files ready on your hosting server, you need to edit the settings to make the email function work.
Open contact.php and change your from email address (Receiver Email Address) at the top with info@yourdomain.com to your real email address, same way you can change subject line with replace of text "Contact us form details". Also replace yourdomain.com with your real domain name in logo image url in the email body template (http://www.yourdomain.com/images/logo-email.png).
Please feel free to contact us in case if your email feature does not work because some server settings do not allow normal PHP email function.
NoteYou will get contact us form code from onepage-bootstrap-slider.html page.
Email Subscription
Your email subscription form will not work unless you have your files running on a hosting server with PHP / JS. When you have your files ready on your hosting server, you need to edit the settings to make the email function work.
Open notifyme.php and change your from email address (Receiver Email Address) at the top with info@yourdomain.com to your real email address, same way you can change subject line with replace of text "Newsletter Subscription". Also replace yourdomain.com with your real domain name in logo image url in the email body template (http://www.yourdomain.com/images/logo.png).
Please feel free to contact us in case if your email feature does not work because some server settings do not allow normal PHP email function.
NoteYou will get email subscription form code from home-countdown-timer.html page.
Careers
Your careers form will not work unless you have your files running on a hosting server with PHP / JS. When you have your files ready on your hosting server, you need to edit the settings to make the email function work.
Open careers.php and change your from email address (Receiver Email Address) at the top with info@yourdomain.com to your real email address, same way you can change subject line with replace of text "Careers form details". Also replace yourdomain.com with your real domain name in logo image url in the email body template (http://www.yourdomain.com/images/logo.png).
Please feel free to contact us in case if your email feature does not work because some server settings do not allow normal PHP email function.
NoteYou will get careers form code from careers.html page.
RSVP
Your RSVP form will not work unless you have your files running on a hosting server with PHP / JS. When you have your files ready on your hosting server, you need to edit the settings to make the email function work.
Open rsvp.php and change your from email address (Receiver Email Address) at the top with info@yourdomain.com to your real email address, same way you can change subject line with replace of text "RSVP form details". Also replace yourdomain.com with your real domain name in logo image url in the email body template (http://www.yourdomain.com/images/logo.png).
Please feel free to contact us in case if your email feature does not work because some server settings do not allow normal PHP email function.
NoteYou will get RSVP form code from onepage-wedding.html page.
Free Trial
Your free trial form will not work unless you have your files running on a hosting server with PHP / JS. When you have your files ready on your hosting server, you need to edit the settings to make the email function work.
Open free30daytrial.php and change your from email address (Receiver Email Address) at the top with info@yourdomain.com to your real email address, same way you can change subject line with replace of text "Free 30 day trial form details". Also replace yourdomain.com with your real domain name in logo image url in the email body template (http://www.yourdomain.com/images/logo.png).
Please feel free to contact us in case if your email feature does not work because some server settings do not allow normal PHP email function.
NoteYou will get free trial form code from onepage-landing.html page.
Credits
We would really love to take this opportunity to appreciate guys whose items were helpful to us to make H-Code a really beautiful theme for our awesome users:
Images and Videos
jQuery
A big thanks to these guys!
Version 1.2 - Current
Released on 29 Dec 2015
- Added new onepage agency demo
- Added new about us and coming soon page templates
- Added 4 new header options: Light version header without cart and search, 3 different hamburger menu options
- Changed number counters so values can be changed in the HTML directly instead of JS code.
- Added url hash (#) feature, so portfolio category filter can be done by hash in url also.
Version 1.1
Released on 19 July 2015
Changed
Header
- Header height is changed
- Spacing between each menu items in header is changed
- In search section search text is removed
- Search icon click is changed to full page search
Team Section
- Social media icons are moved outside of hover section
- Hover transition effect is changed
- Hover is changed to cover half photo only
Clients Page
- Client listing layout is completely changed in this page
Page Title
- Subtitle is changed to lower case
- Vertical spacing between title and subtitle is changed
- Changed black line below subtitle, which expands on hover
- Breadcrumb separator is changed to pipe character ( | )
Portfolio
- Spacing between each images is changed
Work Process
- This section layout is completely changed
About Section in One Page Templates
- This section layout is completely changed
Version 1.0 - Initial Release
Released on 14 June 2015


































































