Steps to be follow for getting started with the static template:
Get details about Requirements, Basic Installation, Structure, Color mode, Logo, favicon and loader setup your project with easy steps.
This template have required 2 depandency
Here is the general File structure of the template:
Steps to be follow for getting started with the template:
cd gulp+hbs
npm install
npm run devOR
gulp watch
npm run buildOR
gulp build
There are some customization like change color, logo, loader, favicon, default mode (dark or light) etc...
- For theme there are 3 choices given below:
"theme_scheme": "light",
choices: 'light', 'dark', 'auto'
Here is the Change color of template in gulp
Go to src/assets/scss/_custom_variable.scss and add some color variable.
$primary-light:rgba($primary, .2);
$primary: #50b5ff;
$primary-dark: #2aa3fb;
"options":{
"saveLocal": "sessionStorage",
"storeKey": "huisetting",
"setting":{
"theme_scheme": { "value": "light" }
}
},
By adding some classes in body tag . Example is given bellow.
If you wish to change the theme, you can follow the below action.
For example you have to set theme as dark then you will have to add dark class at body tag.
<body class="..... dark">
.......
</body>
<body class="..... light">
.......
</body>
<body class="..... auto">
.......
</body>
For direction of theme there are 2 choices given below:
"theme_scheme_direction": "ltr",
choices: 'ltr', 'rtl'
If you wish to change the theme direction, you can follow the below action.
"options":{
"saveLocal": "sessionStorage",
"storeKey": "huisetting",
"setting":{
"theme_scheme_direction": { "value": "ltr" },
}
},
For example you have to set theme direction as ltr then you will have to add ltr at html tag.
<html dir="ltr">
.......
</html>
<html dir="rtl">
.......
</html>
sidebar_type
"sidebar_type": "sidebar-mini",
choices: 'sidebar-hover', 'sidebar-mini','sidebar-soft'
sidebar_menu_style
"sidebar_menu_style": "navs-rounded",
choices: 'navs-rounded', 'navs-rounded-all', 'navs-pills', 'navs-pill-all'
"options":{
"saveLocal": "sessionStorage",
"storeKey": "huisetting",
"setting":{
"sidebar_type": { "value": ["sidebar-mini"] },
"sidebar_menu_style": { "value": "navs-rounded" },
}
},
If you wish to change the sidebar style, you can follow the below action.
For example you have to set sidebar style as mini then you will have to add sidebar-mini class at data-toggle="main-sidebar" of the sidebar.
<aside class=" ...... sidebar-mini" data-toggle="main-sidebar" data-sidebar="responsive">
.......
</aside>
<aside class=" ...... sidebar-hover" data-toggle="main-sidebar" data-sidebar="responsive">
.......
</aside>
<aside class=" ...... sidebar-soft" data-toggle="main-sidebar" data-sidebar="responsive">
.......
</aside>
If you wish to change the sidebar active menu style, you can follow the below action.
For example you have to set sidebar active as rounded then you will have to add navs-rounded class at data-toggle="main-sidebar" of the sidebar.
<aside class=" ...... navs-rounded" data-toggle="main-sidebar" data-sidebar="responsive">
.......
</aside>
<aside class=" ...... navs-rounded-all" data-toggle="main-sidebar" data-sidebar="responsive">
.......
</aside>
<aside class=" ...... navs-pill" data-toggle="main-sidebar" data-sidebar="responsive">
.......
</aside>
<aside class=" ...... navs-pill-all" data-toggle="main-sidebar" data-sidebar="responsive">
.......
</aside>
Favicon is an icon associated with the URL that is displayed at various places, such as in a browser’s address bar or next to the site name in a bookmark list.
You can add a Favicon to your Website using the following code:
<link rel="shortcut icon" href="images/favicon.ico"/>
In Gulp version favicon change with 2 diffrent way
Replace favicon image or rename favicon icon name. or go to src/template/partials/backend/head.hbs file and change.
Go to gulp.config.json and add or change path set with images so you dont need to add images/favicon.ico faviconName: "{faviconImage}.ico"
Page Loading Transitions are enabled by default. If you wish to disable the page loading transition you can simply delete below section
<div id="loading">
<div id="loading-center">
</div>
</div>
In gulp version loader change with 2 diffrant way
The Logo Container can be found in the Header Container - #header. Replace "logo.png" with your own logo image URL.
<ul class="menu-logo">
<li>
<a href="index.html"><img src="../assets/images/logo.png" alt="logo"></a>
</li>
</ul>
In gulp version logo change with 2 diffrant way
Replace logo image. or go to src/template/partials/backend/header.hbs file and change.
Go to gulp.config.json and add or change path set with images so you dont need to add images/logo.png logoName: "{logoImage}.png"
You can add/change the site font, from all fonts used from Google Web Font Services, with the one that suits you the best. You can find the font link in top of the Style.css in all HTML file. See example below:
<!-- google font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,600i,700,800|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900" rel="stylesheet">
To include new font you can simply add another link like this:
<!-- google font -->
<!--Robaoto font -->
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500&display=swap" />
<!--"Nunito",sans-serif font -->
<link href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;1,200;1,300;1,400;1,600&display=swap" rel="stylesheet" >
In order to change the fonts, you will need to edit the above links with your custom font, You can easily use Google Web Font Services if you plan to use a Google Font or remove it completely. If you plan to use a self hosted font, here is an Example of using Self Hosted Fonts
In gulp+hbs version change with scss file.
<!-- google font -->
<!--Robaoto font -->
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500&display=swap")
<!--"Nunito",sans-serif font -->
@import ("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;1,200;1,300;1,400;1,600&display=swap")
$font-family-title: 'Roboto', sans-serif;
$font-family-base: 'Nunito', sans-serif;
Here is the general HTML structure of the template:
<!DOCTYPE html>
<html lang="en">
<head>
[Page meta, page css, page js files, page title etc...]
</head>
<body>
<!-- preloader -->
<div id="loading" > [LOADER CONTENT] </div>
<!--preloader -->
<!--header -->
<header>
</header>
<!--header -->
<!--Slider- -->
<div id="rev_slider_1_1_wrapper" class="rev_slider_wrapper fullscreen-container" >
[SLIDER CONTENT]
</div>
<!--Slider -->
<!--main-content- -->
<div class="main-content">
<!--Section 1 -->
<section>
[SECTION 1 CONTENT]
</section>
<!--Section 1 -->
<!--Section 2 -->
<section>
[SECTION 2 CONTENT]
</section>
<!--Section 2 -->
<div>
<!--main-content -->
<!--footer -->
<footer class="iq-footer2">
[FOOTER_CONTENT]
</footer>
<!--footer -->
<div id="back-to-top">
[BACK TO TOP CONTENT]
</div>
[PAGE JAVASCRIPTS HERE]
</body>
</html>
Here is the general CSS structure of the template:
<!-- libs CSS -->
<link rel="stylesheet" href="../assets/css/libs.min.css">
<!-- socialv CSS -->
<link rel="stylesheet" href="../assets/css/socialv.css?v={{version}}">
<!--fontawesome CSS -->
<link rel="stylesheet" href="../assets/vendor/@fortawesome/fontawesome-free/css/all.min.css">
<!-- line-awesome CSS -->
<link rel="stylesheet" href="../assets/vendor/line-awesome/dist/line-awesome/css/line-awesome.min.css">
<!-- remixicon CSS -->
<link rel="stylesheet" href="../assets/vendor/remixicon/fonts/remixicon.css">
Here is the general Javascript structure of the template:
<!-- libs JS -->
<script src="../assets/js/libs.min.js" ></script>
<!-- slider -->
<script src="../assets/js/slider.js"></script>
<!-- Masonary JavaScript -->
<script src="../assets/js/masonry.pkgd.min.js"></script>
<!-- Masonary JavaScript -->
<script src="../assets/js/masonry.pkgd.min.js"></script>
<!--SweetAlert JavaScript -->
<script src="../assets/js/sweetalert.js"></script>
<!--customizer JavaScript -->
<script src="../assets/js/customizer.js"></script>
<!--Chart weather JavaScript -->
<script src="../assets/js/charts/weather-chart.js"></script>
<!-- app JavaScript -->
<script src="../assets/js/app.js" ></script>
You can add this helper class to set section padding top 100px and padding bottom 100px.
Add overview-block-ptb class in section tag. See example below:
<section class="... overview-block-ptb">
[YOUR CONTENT]
</section>
Note Use this helper class to maintain all page section spacing. You can also use overview-block-pt for only padding top and overview-block-pb for only padding bottom.
You can use color in the Text. simply add .main-color ( or any color you want) class where you want to use. See example below:
<div class="main-color">
[YOUR TEXT CONTENT]
</div>
Note We include 4 color helper class in our template text-gray, text-black, main-color and text-white. you can add unlimited color class according to your needs.
You can use color in the background. simply add .white-bg (or any color you want) class where you want to use. See example below:
<div class="green-bg">
[YOUR CONTENT]
</div>
Note We include 4 color helper class in our template text-gray, text-black, main-color and text-white. you can add unlimited color class according to your needs.
You can use an image in the background with parallax effect by simply adding InlineStyle in div tag and by use of this you can create your own background. See example below:
<div style="background-image:url(Path); ">
[YOUR CONTENT]
</div>
If your background is small and you want to use repeated background then use styling property background-repeat and set the value repeat or no-repeat. See the example below:
<div style="background-image:url(Path); background-repeat:no-repeat;">
[YOUR CONTENT]
</div>
If you want to use your background like cover or cointainer. You just need to add styling property background-size and set the value cover or cointainer. see the example below:
<div style="background-image:url(Path); background-size:cover;">
[YOUR CONTENT]
</div>
You can use these .iq-over-black-30, .iq-over-white-20, .iq-over-green-90 classes to any element in your HTML code to apply overlay color on any image or section. See example below:
<div class="iq-over-black-80">
[YOUR CONTENT]
</div>
Structure: .iq-over-{color}-{opacity}. For Example, .iq-over-black-80
Color Customizer has been set through root variable using scss
The color are mention at the variable file in the customizer folder.
$colors-name: ('primary', 'info') !default;
$custom-colors: (
"theme-color-blue": map-merge($colors,(
"primary": #4285F4,
"info": #EA4335 ,
)),
);
color and divided in two parts: shade means darker and darker color, and tint means lighter and lighter colors.
:root {
@mixin custom-color-variables($color-name: 'primary',$color-value: $primary) {
--#{$variable-prefix}heading-color: #{shade-color($color-value, 80%)};
--#{$variable-prefix}#{$color-name}: #{$color-value};
--#{$variable-prefix}#{$color-name}-shade-80: #{shade-color($color-value, 80%)};
--#{$variable-prefix}#{$color-name}-shade-60: #{shade-color($color-value, 60%)};
--#{$variable-prefix}#{$color-name}-shade-40: #{shade-color($color-value, 40%)};
--#{$variable-prefix}#{$color-name}-shade-20: #{shade-color($color-value, 20%)};
--#{$variable-prefix}#{$color-name}-tint-90: #{tint-color($color-value, 90%)};
--#{$variable-prefix}#{$color-name}-tint-80: #{tint-color($color-value, 80%)};
--#{$variable-prefix}#{$color-name}-tint-60: #{tint-color($color-value, 60%)};
--#{$variable-prefix}#{$color-name}-tint-40: #{tint-color($color-value, 40%)};
--#{$variable-prefix}#{$color-name}-tint-20: #{tint-color($color-value, 20%)};
--#{$variable-prefix}#{$color-name}-rgb: #{to-rgb($color-value)};
}
@include custom-color-variables('primary',$primary);
@include custom-color-variables('info',$info);
}
"theme_color": {
"colors": {
"--bs-primary": "#50b5ff",
"--bs-info": "#d592ff"
},
"value": "theme-color-default"
},
There 2 different sliders for you to be used on any page with variety of Options. List of the Sliders:
This excellent carousel slider can be controlled using HTML5 data attributes.
Find the full online owl carousel Slider documentation.
All images and videos are for preview purposes only and are not included in the download files. Images are of copyrights under Creative Commons CC0.