Template customize and edit
This is the section that you can find how to customize any section. Before that, you need to know about HTML structure and standard. Please check below:
Head
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- SEO Meta description -->
<meta name="description" content="Hostlar hosting template designed for all web hosting, business, multi purpose, domain sale websites, online business, personal hosting company and similar sites and many more.">
<meta name="author" content="ThemeTags">
<!-- OG Meta Tags to improve the way the post looks when you share the page on LinkedIn, Facebook, Google+ -->
<meta property="og:site_name" content="" /> <!-- website name -->
<meta property="og:site" content="" /> <!-- website link -->
<meta property="og:title" content="" /> <!-- title shown in the actual shared post -->
<meta property="og:description" content="" /> <!-- description shown in the actual shared post -->
<meta property="og:image" content="" /> <!-- image link, make sure it's jpg -->
<meta property="og:url" content="" /> <!-- where do you want your post to link to -->
<meta property="og:type" content="article" />
<!--favicon icon-->
<link rel="icon" href="assets/img/favicon.png" type="image/png" sizes="16x16">
<!--title-->
<title>Hostlar - Hosting Provider with WHMCS Template</title>
<!--build:css-->
<link rel="stylesheet" href="assets/css/main.css">
<!-- endbuild -->
</head>
HTML structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- SEO Meta description -->
<meta name="description" content="">
<!-- OG Meta Tags to improve the way the post looks when you share the page on LinkedIn, Facebook, Google+ -->
<!--title-->
<!--favicon icon-->
<!-- style -->
</head>
<body>
<!--loader start-->
<div id="preloader">
<!--preloader content-->
</div>
<!--loader end-->
<!--header section start-->
<header id="header" class="header-main headroom">
<!--header content-->
</header>
<!--header section end-->
<!--body content wrap start-->
<div class="main main-with-padding">
<!--hero section start-->
<section class="hero-equal-height ptb-100 gradient-overlay" style="background: url('img/hero-bg-2.jpg')no-repeat center center / cover">
<!--hero content-->
</section>
<!--hero section end-->
<!--promo section start-->
<section class="promo-section ptb-100">
<!--promo section-->
</section>
<!--promo section end-->
<!--services section start-->
<section class="our-services ptb-100 gray-light-bg">
<!--our services section-->
</section>
<!--services section end-->
...............
</div>
<!--body content wrap end-->
<!--footer section start-->
<footer class="footer-section">
<!--footer top start-->
<div class="footer-top gradient-bg">
<!--footer top content-->
</div>
<!--footer top end-->
<!--footer copyright start-->
<div class="footer-bottom gray-light-bg py-3">
<!--copyright content-->
</div>
<!--footer copyright end-->
</footer>
<!--footer section end-->
<!--bottom to top button start-->
<button class="scroll-top scroll-to-target" data-target="html">
<!--back to top-->
</button>
<!--bottom to top button end-->
<!--all javascript libraries and custom js -->
</body>
</html>
Changing title, favicon
You can update title, favicon font and also OG info with SEO meta description.
Title
In this head section you can find the title tag. Just replace the text on title tag.
<!--title-->
<title>Hostlar Hosting Provider and Technology HTML Template</title>
favicon
If you replace the favicon.png image or icon on img folder then favicon will automatically update.
<!--favicon icon-->
<link rel="icon" href="assets/img/favicon.png" type="image/png" sizes="16x16">
In this header part, we put the main menu and the topbar menu. We have two types of header white header with color logo and Transparent header with white logo both headers has included with topbar. For a transparent header just .white-bg class with .bg-transparent class name.
<!--header section start-->
<header id="header" class="header-main headroom">
<!--topbar start-->
<div id="header-top-bar" class="gray-light-bg py-1">
<!--header topbar-->
</div>
<!--topbar end-->
<!--main header menu start-->
<div id="logoAndNav" class="main-header-menu-wrap white-bg border-bottom">
<div class="container">
<nav class="js-mega-menu navbar navbar-expand-md header-nav">
<!--logo start-->
<a class="navbar-brand" href="index.html">
<img src="assets/img/logo-color.png" width="120" alt="logo" class="img-fluid"/>
</a>
<!--logo end-->
<!--responsive toggle button start-->
<button type="button" class="navbar-toggler btn"
aria-expanded="false"
aria-controls="navBar"
data-toggle="collapse"
data-target="#navBar">
<span id="hamburgerTrigger">
<span class="ti-menu"></span>
</span>
</button>
<!--responsive toggle button end-->
<!--main menu start-->
<div id="navBar" class="collapse navbar-collapse">
<ul class="navbar-nav ml-auto main-navbar-nav">
<!--home start-->
<li class="nav-item hs-has-mega-menu custom-nav-item" data-position="left">
<a id="homeMegaMenu" class="nav-link custom-nav-link main-link-toggle"
href="javascript:void(0);" aria-haspopup="true" aria-expanded="false">Home</a>
<!--home mega menu start-->
<div class="hs-mega-menu w-100 main-sub-menu" aria-labelledby="homeMegaMenu">
<div class="row no-gutters">
<div class="col-lg-6">
<!-- Banner Image -->
<div class="menu-banner-wrap d-none d-md-none d-lg-block gradient-overlay"
style="background-image: url('img/hero-bg-4.jpg');">
<div class="menu-banner-content">
<div class="mb-4 text-white">
<h5 class="text-white">Unbeatable WordPress Hosting</h5>
<ul class="list-unstyled tech-feature-list">
<li class="py-1"><span class="ti-control-forward mr-2"></span>Flexible, Easy to Use Control Panel</li>
<li class="py-1"><span class="ti-control-forward mr-2"></span><strong>Unmetered</strong> Bandwidth</li>
<li class="py-1"><span class="ti-control-forward mr-2"></span><strong>Unmetered</strong> Sub Domains, FTP Accounts</li>
<li class="py-1"><span class="ti-control-forward mr-2"></span><strong>99%</strong> Uptime Guarantee</li>
<li class="py-1"><span class="ti-control-forward mr-2"></span><strong>45-Day</strong> Money-Back Guarantee</li>
</ul>
</div>
<a class="btn solid-white-btn" href="#">Learn More <span
class="fas fa-angle-right ml-2"></span></a>
</div>
</div>
<!-- End Banner Image -->
</div>
<div class="col-lg-6">
<div class="row mega-menu-wrap">
<div class="col-sm-6 mb-3 mb-sm-0">
<span class="sub-menu-title">Home Demos</span>
<ul class="sub-menu-nav-group">
<li><a class="nav-link sub-menu-nav-link"
href="index.html">Home Default</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="index-image.html">Home Image</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="index-domain-search.html">Home Domain Search <span class="badge badge-danger ml-2">Hot</span></a></li>
<li><a class="nav-link sub-menu-nav-link"
href="index-domain-search-2.html">Home Domain Search Two</a>
</li>
<li><a class="nav-link sub-menu-nav-link"
href="index-bg-image.html">Home Background Image</a>
</li>
<li><a class="nav-link sub-menu-nav-link"
href="index-bg-video.html">Home Background Video</a></li>
</ul>
</div>
<div class="col-md-6">
<ul class="sub-menu-nav-group mb-3">
<li><a class="nav-link sub-menu-nav-link"
href="index-offer.html">Home Offer <span class="badge badge-success ml-2">New</span></a></li>
<li><a class="nav-link sub-menu-nav-link"
href="index-slider.html">Home Slider</a>
</li>
<li><a class="nav-link sub-menu-nav-link"
href="index-content-slider.html">Home Content Slider</a></li>
</ul>
<span class="sub-menu-title">More Demo <span class="badge color-1 color-1-bg">Coming...</span></span>
</div>
</div>
</div>
</div>
</div>
<!--home mega menu end-->
</li>
<!--home end-->
...
<!--button start-->
<li class="nav-item header-nav-last-item d-flex align-items-center">
<a class="btn primary-solid-btn animated-btn" href="#" target="_blank">
Get Started
</a>
</li>
<!--button end-->
</ul>
</div>
<!--main menu end-->
</nav>
</div>
</div>
<!--main header menu end-->
</header>
<!--header section end-->
Logo Setting
The Logo you can be found in the nav tag on header menu container. Change the logo path for Transparent header.
<!--logo start-->
<a class="navbar-brand" href="index.html">
<img src="assets/img/logo-color.png" width="120" alt="logo" class="img-fluid"/>
</a>
<!--logo end-->
Main body content
When you will use a white header with a color logo then you should use .main-with-padding class in this main body content wrap, and when you will use Transparent header with white logo then you should use .main-without-padding class in this main body content wrap.
For white header body content wrap
<!--body content wrap start-->
<div class="main main main-with-padding">
<!--body section content-->
</div>
<!--body content wrap end-->
For white header body content wrap
<!--body content wrap start-->
<div class="main main-without-padding">
<!--body section content-->
</div>
<!--body content wrap end-->
Image and background image
HostLar download package does not contain images that 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 the placeholder image URL with your image URL like img/your-image.jpg or img/your-image.svg or img/your-image.png
*We only included SVG images it's MIT license Open-source illustrations for every project you can use it.
For image
<img src="your image path" alt="image alt text" class="img-fluid">
For background image
When you use background image then you should follow bellow structure .gradient-overlay need to call on parent div
<section class="hero-equal-height ptb-100 gradient-overlay" style="background: url('assets/img/hero-bg-3.jpg')no-repeat center center / cover">
<div class="container">
<div class="row">
<!--SECTION CONTENTS-->
</div>
</div>
</section>
You can find the menu inside the nav tag on header section. In this menu items you can see every parent li is commented like home start, pages start, hosting start etc.
<!--main menu start-->
<div id="navBar" class="collapse navbar-collapse">
<ul class="navbar-nav ml-auto main-navbar-nav">
<!--home start-->
<li class="nav-item hs-has-mega-menu custom-nav-item" data-position="left">
<a id="homeMegaMenu" class="nav-link custom-nav-link main-link-toggle"
href="javascript:void(0);" aria-haspopup="true" aria-expanded="false">Home</a>
<!--home mega menu start-->
<div class="hs-mega-menu w-100 main-sub-menu" aria-labelledby="homeMegaMenu">
<div class="row no-gutters">
<div class="col-lg-6">
<!-- Banner Image -->
<div class="menu-banner-wrap d-none d-md-none d-lg-block gradient-overlay"
style="background-image: url('assets/img/hero-bg-4.jpg');">
<div class="menu-banner-content">
<div class="mb-4 text-white">
<h5 class="text-white">Unbeatable WordPress Hosting</h5>
<ul class="list-unstyled tech-feature-list">
<li class="py-1"><span class="ti-control-forward mr-2"></span>Flexible, Easy to Use Control Panel</li>
<li class="py-1"><span class="ti-control-forward mr-2"></span><strong>Unmetered</strong> Bandwidth</li>
<li class="py-1"><span class="ti-control-forward mr-2"></span><strong>Unmetered</strong> Sub Domains, FTP Accounts</li>
<li class="py-1"><span class="ti-control-forward mr-2"></span><strong>99%</strong> Uptime Guarantee</li>
<li class="py-1"><span class="ti-control-forward mr-2"></span><strong>45-Day</strong> Money-Back Guarantee</li>
</ul>
</div>
<a class="btn solid-white-btn" href="#">Learn More <span
class="fas fa-angle-right ml-2"></span></a>
</div>
</div>
<!-- End Banner Image -->
</div>
<div class="col-lg-6">
<div class="row mega-menu-wrap">
<div class="col-sm-6 mb-3 mb-sm-0">
<span class="sub-menu-title">Home Demos</span>
<ul class="sub-menu-nav-group">
<li><a class="nav-link sub-menu-nav-link"
href="index.html">Home Default</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="index-image.html">Home Image</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="index-domain-search.html">Home Domain Search <span class="badge badge-danger ml-2">Hot</span></a></li>
<li><a class="nav-link sub-menu-nav-link"
href="index-domain-search-2.html">Home Domain Search Two</a>
</li>
<li><a class="nav-link sub-menu-nav-link"
href="index-bg-image.html">Home Background Image</a>
</li>
<li><a class="nav-link sub-menu-nav-link"
href="index-bg-video.html">Home Background Video</a></li>
</ul>
</div>
<div class="col-md-6">
<ul class="sub-menu-nav-group mb-3">
<li><a class="nav-link sub-menu-nav-link"
href="index-offer.html">Home Offer <span class="badge badge-success ml-2">New</span></a></li>
<li><a class="nav-link sub-menu-nav-link"
href="index-slider.html">Home Slider</a>
</li>
<li><a class="nav-link sub-menu-nav-link"
href="index-content-slider.html">Home Content Slider</a></li>
</ul>
<span class="sub-menu-title">More Demo <span class="badge color-1 color-1-bg">Coming...</span></span>
</div>
</div>
</div>
</div>
</div>
<!--home mega menu end-->
</li>
<!--home end-->
<!--pages start-->
<li class="nav-item hs-has-sub-menu custom-nav-item">
<a id="pagesMegaMenu" class="nav-link custom-nav-link main-link-toggle"
href="javascript:void(0);" aria-haspopup="true" aria-expanded="false"
aria-labelledby="pagesSubMenu">Pages</a>
<!-- Pages - Submenu -->
<ul id="pagesSubMenu" class="hs-sub-menu main-sub-menu" aria-labelledby="pagesMegaMenu"
style="min-width: 230px;">
<li class="nav-item submenu-item">
<a class="nav-link sub-menu-nav-link" href="about-us.html">About Us</a>
</li>
<li class="nav-item submenu-item">
<a class="nav-link sub-menu-nav-link" href="services.html">Our Services</a>
</li>
<li class="nav-item submenu-item">
<a class="nav-link sub-menu-nav-link" href="reviews.html">Client Reviews</a>
</li>
<li class="hs-has-sub-menu">
<a id="navLinkPagesPricing"
class="nav-link sub-menu-nav-link sub-link-toggle"
href="javascript:void(0);" aria-haspopup="true" aria-expanded="false"
aria-controls="navSubmenuPagesPricing">Pricing</a>
<ul id="navSubmenuPagesPricing" class="hs-sub-menu main-sub-menu"
aria-labelledby="navLinkPagesPricing" style="min-width: 230px;">
<li><a class="nav-link sub-menu-nav-link"
href="pricing-default.html">Pricing Default</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="pricing-package.html">Pricing Packages</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="pricing-comparision.html">Pricing Comparision</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="vps-pricing.html">VPS Pricing</a></li>
</ul>
</li>
<li class="hs-has-sub-menu">
<a id="navLinkPagesBlog"
class="nav-link sub-menu-nav-link sub-link-toggle"
href="javascript:void(0);" aria-haspopup="true" aria-expanded="false"
aria-controls="navSubmenuPagesBlog">Blog</a>
<ul id="navSubmenuPagesBlog" class="hs-sub-menu main-sub-menu"
aria-labelledby="navLinkPagesBlog" style="min-width: 230px;">
<li><a class="nav-link sub-menu-nav-link"
href="blog-grid.html">Blog Grid</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="blog-sidebar.html">Blog With Sidebar</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="blog-details.html">Blog Details</a></li>
</ul>
</li>
<li class="hs-has-sub-menu">
<a id="navLinkPagesLogin"
class="nav-link sub-menu-nav-link sub-link-toggle"
href="javascript:void(0);" aria-haspopup="true" aria-expanded="false"
aria-controls="navSubmenuPagesLogin">Login & Signup</a>
<ul id="navSubmenuPagesLogin" class="hs-sub-menu main-sub-menu"
aria-labelledby="navLinkPagesLogin" style="min-width: 230px;">
<li><a class="nav-link sub-menu-nav-link" href="login.html">Login</a>
</li>
<li><a class="nav-link sub-menu-nav-link" href="signup.html">Signup</a>
</li>
<li><a class="nav-link sub-menu-nav-link"
href="recover-account.html">Recover Account</a></li>
<li class="dropdown-divider"></li>
<li><a class="nav-link sub-menu-nav-link"
href="login-simple.html">Login Simple</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="signup-simple.html">Signup Simple</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="recover-account-simple.html">Recover Account Simple</a>
</li>
</ul>
</li>
<li class="hs-has-sub-menu">
<a id="navLinkPagesUtilities"
class="nav-link sub-menu-nav-link sub-link-toggle"
href="javascript:void(0);" aria-haspopup="true" aria-expanded="false"
aria-controls="navSubmenuPagesUtilities">Utilities</a>
<ul id="navSubmenuPagesUtilities" class="hs-sub-menu main-sub-menu"
aria-labelledby="navLinkPagesUtilities" style="min-width: 230px;">
<li><a class="nav-link sub-menu-nav-link" href="help.html">Help</a></li>
<li><a class="nav-link sub-menu-nav-link" href="faq.html">FAQ</a></li>
<li><a class="nav-link sub-menu-nav-link" href="status.html">Status</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="knowledge-base.html">Knowledge Base</a></li>
<li><a class="nav-link sub-menu-nav-link" href="terms-condition.html">Terms
& Conditions</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="privacy-policy.html">Privacy & Policy</a></li>
</ul>
</li>
<li class="hs-has-sub-menu">
<a id="navLinkPagesSpecialty"
class="nav-link sub-menu-nav-link sub-link-toggle"
href="javascript:void(0);" aria-haspopup="true" aria-expanded="false"
aria-controls="navSubmenuPagesSpecialty">Specialty</a>
<ul id="navSubmenuPagesSpecialty" class="hs-sub-menu main-sub-menu"
aria-labelledby="navLinkPagesSpecialty" style="min-width: 230px;">
<li><a class="nav-link sub-menu-nav-link"
href="cover-page.html">Cover Page</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="coming-soon.html">Coming Soon</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="maintenance-mode.html">Maintenance Mode</a></li>
<li><a class="nav-link sub-menu-nav-link"
href="404.html">Error 404</a></li>
</ul>
</li>
<!-- Specialty -->
</ul>
<!-- End Pages - Submenu -->
</li>
<!--pages end-->
<!--hosting start-->
<li class="nav-item hs-has-mega-menu custom-nav-item"
data-max-width="720px"
data-position="right">
<a id="hostingMegaMenu" class="nav-link custom-nav-link main-link-toggle"
href="JavaScript:Void(0);" aria-haspopup="true" aria-expanded="false">Hosting</a>
<!-- Demos - Mega Menu -->
<div class="hs-mega-menu w-100 main-sub-menu" aria-labelledby="hostingMegaMenu">
<div class="row no-gutters">
<div class="col-md-6">
<!--menu title with subtitle and icon item start-->
<div class="title-with-icon-item">
<a class="title-with-icon-link" href="shared-hosting.html">
<div class="media align-items-center">
<img class="menu-titile-icon" src="img/shared-hosting.svg"
alt="SVG">
<div class="media-body">
<span class="u-header__promo-title">Shared Hosting</span>
<small class="u-header__promo-text">Innovate reliable quality
Starting at <strong>$2.99</strong></small>
</div>
</div>
</a>
</div>
<!--menu title with subtitle and icon item end-->
<!--menu title with subtitle and icon item start-->
<div class="title-with-icon-item">
<a class="title-with-icon-link" href="vps-hosting.html">
<div class="media align-items-center">
<img class="menu-titile-icon" src="img/vps-hosting.svg"
alt="SVG">
<div class="media-body">
<span class="u-header__promo-title">VPS Hosting <span
class="badge badge-success ml-1">Popular</span></span>
<small class="u-header__promo-text">Pefficiently maintain
Starting at <strong>$11.99</strong></small>
</div>
</div>
</a>
</div>
<!--menu title with subtitle and icon item end-->
<!--menu title with subtitle and icon item start-->
<div class="title-with-icon-item">
<a class="title-with-icon-link" href="dedicated-server-hosting.html">
<div class="media align-items-center">
<img class="menu-titile-icon" src="img/dadicate-web-hosting.svg"
alt="SVG">
<div class="media-body">
<span class="u-header__promo-title">Dedicated Hosting</span>
<small class="u-header__promo-text">Quickly build Starting at
<strong>$150.99/mo</strong></small>
</div>
</div>
</a>
</div>
<!--menu title with subtitle and icon item end-->
<!--menu title with subtitle and icon item start-->
<div class="title-with-icon-item">
<a class="title-with-icon-link" href="cloud-hosting.html">
<div class="media align-items-center">
<img class="menu-titile-icon" src="img/cloud-hosting.svg"
alt="SVG">
<div class="media-body">
<span class="u-header__promo-title">Cloud Hosting <span
class="badge badge-danger ml-1">Hot</span></span>
<small class="u-header__promo-text">Conveniently cloud Starting
at <strong>$5.99/mo</strong></small>
</div>
</div>
</a>
</div>
<!--menu title with subtitle and icon item end-->
</div>
<div class="col-md-6">
<!--menu title with subtitle and icon item start-->
<div class="title-with-icon-item">
<a class="title-with-icon-link" href="email-hosting.html">
<div class="media align-items-center">
<img class="menu-titile-icon" src="img/email-hosting.svg"
alt="SVG">
<div class="media-body">
<span class="u-header__promo-title">Email Hosting</span>
<small class="u-header__promo-text">First Starting at <strong>$0.99/mo
per mailbox</strong></small>
</div>
</div>
</a>
</div>
<!--menu title with subtitle and icon item end-->
<!--menu title with subtitle and icon item start-->
<div class="title-with-icon-item">
<a class="title-with-icon-link" href="shared-wp-hosting.html">
<div class="media align-items-center">
<img class="menu-titile-icon" src="img/shared-wp-hosting.svg"
alt="SVG">
<div class="media-body">
<span class="u-header__promo-title">Shared Wordpress Hosting</span>
<small class="u-header__promo-text">Conveniently Starting at
<strong>$9.99/mo</strong></small>
</div>
</div>
</a>
</div>
<!--menu title with subtitle and icon item end-->
<!--menu title with subtitle and icon item start-->
<div class="title-with-icon-item">
<a class="title-with-icon-link" href="wp-hosting.html">
<div class="media align-items-center">
<img class="menu-titile-icon" src="img/wordpress-hosting.svg"
alt="SVG">
<div class="media-body">
<span class="u-header__promo-title">Wordpress Hosting</span>
<small class="u-header__promo-text">Conveniently Starting at
<strong>$9.99/mo</strong></small>
</div>
</div>
</a>
</div>
<!--menu title with subtitle and icon item end-->
<!--menu title with subtitle and icon item start-->
<div class="title-with-icon-item">
<a class="title-with-icon-link" href="woocommerce-hosting.html">
<div class="media align-items-center">
<img class="menu-titile-icon" src="img/woocommerce-hosting.svg"
alt="SVG">
<div class="media-body">
<span class="u-header__promo-title">WooCommerce Hosting <span
class="badge badge-primary ml-1">New</span></span>
<small class="u-header__promo-text">Globally Starting at
<strong>$9.99/mo</strong></small>
</div>
</div>
</a>
</div>
<!--menu title with subtitle and icon item end-->
</div>
</div>
</div>
<!-- End Demos - Mega Menu -->
</li>
<!--hosting end-->
......
<!--button start-->
<li class="nav-item header-nav-last-item d-flex align-items-center">
<a class="btn primary-solid-btn animated-btn" href="#" target="_blank">
Get Started
</a>
</li>
<!--button end-->
</ul>
</div>
<!--main menu end-->
Hero section
We have different hero section please check different demos. Here is index.html hero section included
<!--hero section start-->
<section class="hero-equal-height ptb-100 gradient-bg" style="background: url('assets/img/hero-bg-2.jpg')no-repeat center center / cover">
<div class="container">
<div class="row align-items-center justify-content-between">
<div class="col-lg-6 col-12">
<div class="hero-content-wrap text-white">
<h1 class="text-white">HostLar Best Hosting Provider in World</h1>
<p class="lead">If your WordPress website is your personal business, we
want you to succeed. We made our Hostlar hosting platform.</p>
<form action="#" class="domain-search-form mt-3">
<div class="input-group">
<input type="email" class="form-control" placeholder="example.com"
required="">
<div class="input-group-append">
<button class="btn search-btn btn-hover d-flex align-items-center" type="submit">
<span class="ti-search mr-2"></span> Search
</button>
</div>
</div>
</form>
<div class="domain-list-wrap mt-4">
<ul class="list-inline domain-search-list text-white">
<li class="list-inline-item"><a href="#"><img src="assets/img/com-w.png" alt="com" width="70" class="img-fluid"/> <span>$8.99</span></a></li>
<li class="list-inline-item"><a href="#"><img src="assets/img/net-w.png" alt="com" width="70" class="img-fluid"/> <span>$4.99</span></a></li>
<li class="list-inline-item"><a href="#"><img src="assets/img/org-w.png" alt="com" width="70" class="img-fluid"/> <span>$2.99</span></a></li>
<li class="list-inline-item"><a href="#"><img src="assets/img/store-w.png" alt="com" width="70" class="img-fluid"/> <span>$0.99</span></a></li>
<li class="list-inline-item"><a href="#"><img src="assets/img/online-w.png" alt="com" width="70" class="img-fluid"/> <span>$0.99</span></a></li>
</ul>
</div>
</div>
</div>
<div class="col-lg-5 col-12">
<div class="animation-image-wrap">
<img src="assets/img/servers.svg" alt="wp hosting" class="img-fluid"/>
<img src="assets/img/animated-icon-1.png" alt="wp hosting" class="animation-icon-img animation-icon-1"/>
<img src="assets/img/animated-icon-2.png" alt="wp hosting" class="animation-icon-img animation-icon-2"/>
<img src="assets/img/animated-icon-3.png" alt="wp hosting" class="animation-icon-img animation-icon-3"/>
<img src="assets/img/animated-icon-4.png" alt="wp hosting" class="animation-icon-img animation-icon-4"/>
</div>
</div>
</div>
</div>
</section>
<!--hero section end-->
Background Video section
We have a background call to action section please check the demo Home background video or index-bg-video.html
<!--hero section start-->
<section class="gradient-overlay" style="background: url('assets/img/hero-12.jpg')no-repeat center center / cover">
<div class="video-section-wrap">
<div class="hero-equal-height background-video-overly ptb-100">
<div class="player"
data-property="{videoURL:'https://www.youtube.com/watch?v=g9h1_f5VziY',containment:'.video-section-wrap', quality:'highres', autoPlay:true, showControls: false, startAt:0, mute:true, opacity: 1}"></div>
<div class="container">
<div class="row align-items-center justify-content-center">
<div class="col-md-9 col-lg-8">
<div class="hero-content-left text-white text-center">
<h1 class="text-white">Choose Best Domain Name and Create Your Website</h1>
<p class="lead">Up to 50% Off domain and hosting, Starting from $2.99/month, free SSL certificate, 24/7/365 support, money back guarantee.</p>
<form action="#" class="domain-search-form mt-3 w-75 mx-auto">
<div class="input-group">
<input type="email" class="form-control" placeholder="example.com"
required="">
<div class="input-group-append">
<button class="btn search-btn btn-hover d-flex align-items-center" type="submit">
<span class="ti-search mr-2"></span> Search
</button>
</div>
</div>
</form>
<div class="domain-list-wrap mt-4">
<ul class="list-inline domain-search-list text-white">
<li class="list-inline-item"><a href="#"><img src="assets/img/com-w.png" alt="com" width="70" class="img-fluid"/> <span>$8.99</span></a></li>
<li class="list-inline-item"><a href="#"><img src="assets/img/net-w.png" alt="com" width="70" class="img-fluid"/> <span>$4.99</span></a></li>
<li class="list-inline-item"><a href="#"><img src="assets/img/org-w.png" alt="com" width="70" class="img-fluid"/> <span>$2.99</span></a></li>
<li class="list-inline-item"><a href="#"><img src="assets/img/store-w.png" alt="com" width="70" class="img-fluid"/> <span>$0.99</span></a></li>
<li class="list-inline-item"><a href="#"><img src="assets/img/online-w.png" alt="com" width="70" class="img-fluid"/> <span>$0.99</span></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--hero section end-->
<!--promo section start-->
<section class="promo-section ptb-100">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-9 col-lg-8">
<div class="section-heading text-center mb-md-0 mb-lg-5">
<!--section heading-->
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 col-lg-4">
<a href="#">
<div class="single-promo-2 single-promo-hover rounded text-center white-bg p-5 h-100">
<!--single promo content-->
</div>
</a>
</div>
<div class="col-md-4 col-lg-4">
<a href="#">
<div class="single-promo-2 single-promo-hover rounded text-center white-bg p-5 h-100">
<!--single promo content-->
</div>
</a>
</div>
<div class="col-md-4 col-lg-4">
<a href="#">
<div class="single-promo-2 single-promo-hover rounded text-center white-bg p-5 h-100">
<!--single promo content-->
</div>
</a>
</div>
</div>
</div>
</section>
<!--promo section end-->
VPS slider configuration
To configure the VPS plan, you need to change in HTML and assets/js/app.js file.
In HTML:
<input id="c-plan" type="text" data-slider-min="1" data-slider-max="12" data-slider-step="1" data-slider-value="6" data-currency="$" data-unit="GB">
Check the below values:
data-slider-max="12". Maximum slide value will be 12
data-slider-step="1". If we scroll then it will increase only 1 per step
data-slider-value="6". Default value is 6 for the demo
data-currency="$". Currency sign is $
data-unit="GB". Data unit will be GB
Change the value according to your plan but you need to change according to your need in JS file as well.
In JS (assets/js/app.js):
// 14. custom vps hosting plan js
//**************************** Need to change ********************
// Change according to your plans
//****************************************************************
// vpsCore = VPS Core value from your plan
// vpsMemory = VPS Memory from your plan
// vpsStorage = VPS Storage value from your plan
// vpsBandwidth = VPS bandwidth value from your plan
// vpsPrice = VPS price from your plan
// vpsWHmcsUrl = VPS plan url. Check from your WHMCS panel
//****************************************************************
var vpsPriceInfo = [
{"vpsCore" : 1, "vpsMemory" : 2, "vpsStorage" : 10, "vpsBandwidth" : 1000, "vpsPrice" : 20, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=12"},
{"vpsCore" : 2, "vpsMemory" : 4, "vpsStorage" : 20, "vpsBandwidth" : 2000, "vpsPrice" : 40, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=13"},
{"vpsCore" : 3, "vpsMemory" : 6, "vpsStorage" : 30, "vpsBandwidth" : 3000, "vpsPrice" : 60, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=14"},
{"vpsCore" : 4, "vpsMemory" : 8, "vpsStorage" : 40, "vpsBandwidth" : 4000, "vpsPrice" : 80, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=13"},
{"vpsCore" : 5, "vpsMemory" : 10, "vpsStorage" : 50, "vpsBandwidth" : 5000, "vpsPrice" : 100, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=12"},
{"vpsCore" : 6, "vpsMemory" : 12, "vpsStorage" : 60, "vpsBandwidth" : 6000, "vpsPrice" : 120, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=13"},
{"vpsCore" : 7, "vpsMemory" : 14, "vpsStorage" : 70, "vpsBandwidth" : 7000, "vpsPrice" : 140, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=14"},
{"vpsCore" : 8, "vpsMemory" : 16, "vpsStorage" : 80, "vpsBandwidth" : 8000, "vpsPrice" : 160, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=12"},
{"vpsCore" : 9, "vpsMemory" : 18, "vpsStorage" : 90, "vpsBandwidth" : 9000, "vpsPrice" : 180, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=13"},
{"vpsCore" : 10, "vpsMemory" : 20, "vpsStorage" : 100, "vpsBandwidth" : 10000, "vpsPrice" : 200, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=14"},
{"vpsCore" : 11, "vpsMemory" : 22, "vpsStorage" : 110, "vpsBandwidth" : 11000, "vpsPrice" : 220, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=12"},
{"vpsCore" : 12, "vpsMemory" : 24, "vpsStorage" : 120, "vpsBandwidth" : 12000, "vpsPrice" : 240, "vpsWHmcsUrl" : "https://themetags.net/whmcs/cart.php?a=add&pid=13"},
];
We have added our plans in the vpsPriceInfo . Default core value is 6 that we set in the HTML. We have added details like CPU core, memory, storage, bandwidth, price and order link in a plan. We have total 12 plans. Based on the vpsCore value, we change the other values. Check the rest of the code if you need to change:
var cPlan = $('#c-plan');
if (cPlan.length) {
cPlan.slider({
tooltip: 'always'
});
cPlan.on("slide", function (e) {
$.each( vpsPriceInfo, function( index, vpsObj ) {
if(vpsObj.vpsCore == e.value) {
setVpsValue(vpsObj);
}
});
});
initSlider();
}
function initSlider() {
cPlan.value = cPlan.data("slider-value");
var defaultVpsCore = parseInt(cPlan.value);
$.each( vpsPriceInfo, function( index, vpsObj ) {
// defaultVpsCore is default valeu to show. For my demo, I have set 6 from HTML.
// vps-hosting.html: <input id="c-plan" type="text" data-slider-min="1" data-slider-max="12" data-slider-step="1" data-slider-value="6" data-currency="$" data-unit="GB">.
// You need to change accourting to your need.
if(vpsObj.vpsCore == defaultVpsCore) {
$('.slider .tooltip', '#custom-plan').append('<div class="tooltip-up"></div>');
$('.slider .tooltip-inner', '#custom-plan').attr("data-unit", cPlan.data("unit"));
$('.slider .tooltip-up', '#custom-plan').attr("data-currency", cPlan.data("currency"));
setVpsValue(vpsObj);
}
});
}
function setVpsValue(vpsObj) {
$('.slider .tooltip-up', '#custom-plan').text(vpsObj.vpsCore);
$('.vpsPrice', '#custom-plan').text(cPlan.data("currency") + vpsObj.vpsPrice);
$('.vpsCore span', '#custom-plan').text(vpsObj.vpsCore);
$('.vpsMemory span', '#custom-plan').text(vpsObj.vpsMemory);
$('.vpsStorage span', '#custom-plan').text(vpsObj.vpsStorage);
$('.vpsBandwidth span', '#custom-plan').text(vpsObj.vpsBandwidth);
$('.vpsWHmcsUrl', '#custom-plan').attr("href", vpsObj.vpsWHmcsUrl);
}
How to counting or coming soon page
We have used two types of countdown one for coming soon another one for the black Friday offer page
1. Coming Soon Page
Under the pages on main menu you can find coming soon page. Go to js file and select app.js open it and find bellow code change this date 2022/01/30
$('.clock').countdown('2022/01/30', function (event) {
//code here
});
2. Black Friday Offer Page
Go to the app.js file under the js folder then find this line "set_time = "December 30, 2022 00:00:00";"
You can control your offer countdown from here. Just set your date like "December 30, 2022" .
How to change chat url or script
Go to the app.js file under the js folder then open it and find bellow code, change this URL with your talk to URL https://embed.tawk.to/5e19bb9b27773e0d832d0621/default
Note For this chat you should create a Talk To account. After creating this account you can create your own chat script like the below code. you can replace all code or change that URL. It's very easy to use and manageable.
// 18. chat api js
var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();
(function () {
var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src = 'https://embed.tawk.to/5e19bb9b27773e0d832d0621/default';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
footer tag contain footer section. in this footer section has trusted logo, footer menu, copyright and payment method.
<!--footer section start-->
<footer class="footer-setion">
<!--footer top start-->
<div class="footer-top gradient-bg">
<div class="container">
<div class="row justify-content-between">
<!--FOOTER TOP CONTENT-->
</div>
</div>
</div>
<!--footer top end-->
<!--footer copyright start-->
<div class="footer-bottom gray-light-bg py-3">
<div class="container">
<!--COPYRIGHT CONTENT-->
</div>
</div>
<!--footer copyright end-->
</footer>
<!--footer section end-->
How to remove talk to chat
Go to your app.js file in js folder find this talk to js script then remove it.
// 18. chat api js
var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();
(function () {
var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src = 'https://embed.tawk.to/5e19bb9b27773e0d832d0621/default';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
Configure WHMCS Hooks
We have customized 4 types of sections or blocks using WHMCS hooks. Go to the Hooks folder then you can see the bellow .php files:
1. Menu (menu.php)
2. Domain Price (pricetable.php)
3. Home Page Product price (products.php)
4. Client Area overdue message (clientAreaPanel.php)
5. Multi-currency support (currency.php)
We have customized the menu using the bellow function on menu.php in the hooks folder.
<?php
// This hook will adjust the button in the home page panels. You have two
// different options of setExtra() or setExtras(). Use of setExtras() requires
// passing all 'extra' related vars through the array.
use WHMCS\View\Menu\Item as MenuItem;
add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) {
// remove Network Status
if (!is_null($primaryNavbar->getChild('Network Status'))) {
$primaryNavbar->removeChild('Network Status');
}
// remove Affiliates
if (!is_null($primaryNavbar->getChild('Affiliates'))) {
$primaryNavbar->removeChild('Affiliates');
}
// Rename Announcements
if (!is_null($primaryNavbar->getChild('Announcements'))) {
$primaryNavbar->getChild("Announcements")->setLabel('News');
}
// after logged in topmenu: Rename Announcements
if (!is_null($primaryNavbar->getChild('Support'))) {
$primaryNavbar->getChild('Support')->getChild("Announcements")->setLabel('News');
}
// sidebar menu
$secondarySidebar = Menu::secondarySidebar();
if (!is_null($secondarySidebar->getChild('Support'))) {
$secondarySidebar->getChild('Support')->getChild("Announcements")->setLabel('News');
}
});
For more details: https://docs.whmcs.com/Editing_Client_Area_Menus
2. Domain Price (pricetable.php)
In the hero section, we have added domain lists like .com, .net, .org, etc, with a price. We have managed the domain price list from the pricetable.php hook file.

here is the pricetable.php file
<?php
/**
* Price Table Hook Function
*
* Please refer to the documentation @ https://docs.whmcs.com/Hooks for more information
* The code in this hook is commented out by default. Uncomment to use.
*
* @package WHMCS
* @author WHMCS Limited <development@whmcs.com>
* @copyright Copyright (c) WHMCS Limited 2005-2018
* @license https://www.whmcs.com/license/ WHMCS Eula
* @version $Id$
* @link https://www.whmcs.com/
*/
use Illuminate\Database\Capsule\Manager as Capsule;
if (!defined("WHMCS"))
die("This file cannot be accessed directly");
function homepage_pricetable_hook($vars) {
$domainPrices = Capsule::table('tbldomainpricing')
->join('tblpricing', 'tbldomainpricing.id', '=', 'tblpricing.relid')
->select('tbldomainpricing.extension','tblpricing.*')
->where('tblpricing.type', 'domainregister')
->get();
$encodedata = json_encode($domainPrices);
$decodedata = json_decode($encodedata, true);
return array("pricetable" => $decodedata);
}
add_hook("ClientAreaPage", 1, "homepage_pricetable_hook");
Before that, you need to make sure that you have set the domain price from your admin panel. Go to Setup>Products/Services>Domain Pricing. Check the below image:

Click the pricing and set the domain price.
3. Managed Hosting Price in Home Page (products.php)
We have the hosting or product price on the home page. We have managed by the hooks (products.php).
In this products.php file, you can see homepage_products_hook function ->where('tblproducts.gid','1'). This line manages which product group price show in the home page. Number '1' is the product group id.
How to find out product group id number:
Go to your WHMCS admin panel then Setup>Products/Services>Products/Services

If you mouse hover over on group icon then you can see the product group id.

Go to the products.php file in the hooks folder then replace that group id with your product group id.
<?php
/**
* Price Table Hook Function
*
* Please refer to the documentation @ https://docs.whmcs.com/Hooks for more information
* The code in this hook is commented out by default. Uncomment to use.
*
* @package WHMCS
* @author WHMCS Limited <development@whmcs.com>
* @copyright Copyright (c) WHMCS Limited 2005-2018
* @license https://www.whmcs.com/license/ WHMCS Eula
* @version $Id$
* @link https://www.whmcs.com/
*/
use Illuminate\Database\Capsule\Manager as Capsule;
if (!defined("WHMCS"))
die("This file cannot be accessed directly");
function homepage_products_hook($vars) {
$products = Capsule::table('tblproducts')
->join('tblpricing', 'tblproducts.id', '=', 'tblpricing.relid')
->select('tblproducts.*','tblpricing.*')
->where('tblproducts.gid','1')
->where('tblpricing.type', 'product')
->get();
$encodedata = json_encode($products);
$decodedata = json_decode($encodedata, true);
return array("myproducts" => $decodedata);
}
add_hook("ClientAreaPage", 1, "homepage_products_hook");
After updating the products.php file, you will see that product group price on the home page like below depending on your configuration.

4. Client Area overdue message (clientAreaPanel.php)
In this clientAreaPanel.php file, you can see the few options like 'color', 'btn-text', 'btn-link', 'btn-icon'. We have managed the pay information by those. You need to replace the 'btn-link' with your link.
<?php
// This hook will adjust the button in the home page panels. You have two
// different options of setExtra() or setExtras(). Use of setExtras() requires
// passing all 'extra' related vars through the array.
use WHMCS\View\Menu\Item;
add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) {
$overdueInvoicesPanel = $homePagePanels->getChild('Overdue Invoices');
if (!is_null($overdueInvoicesPanel)) {
$overdueInvoicesPanel->setExtras(
[
'color' => 'amethyst',
'btn-text' => 'Pay Now',
'btn-link' => 'https://themetags.net/whmcs/clientarea.php?action=invoices',
'btn-icon' => 'fas fa-wallet',
]
);
}
});
To check it, login to the client area panel fist then you can see the overdue message alert box on top. If you have an overdue invoice then you will see like below:

5. Multi-currency support (currency.php)
For multi-currency support, we customize multiple_currency_hook in this currency.php file
<?php
/**
* Price Table Hook Function
*
* Please refer to the documentation @ https://docs.whmcs.com/Hooks for more information
* The code in this hook is commented out by default. Uncomment to use.
*
* @package WHMCS
* @author WHMCS Limited <development@whmcs.com>
* @copyright Copyright (c) WHMCS Limited 2005-2018
* @license https://www.whmcs.com/license/ WHMCS Eula
* @version $Id$
* @link https://www.whmcs.com/
*/
use Illuminate\Database\Capsule\Manager as Capsule;
use WHMCS\Session;
if (!defined("WHMCS"))
die("This file cannot be accessed directly");
function multiple_currency_hook($vars) {
$currencyId = (isset($_GET['currency']) ? intval($_GET['currency']) : $_SESSION['currency']);
$currencyList = Capsule::table('tblcurrencies')->get();
if(!empty($currencyList)) {
$template = !empty($vars['template']) ? $vars['template'] : '';
$flags = getFlags();
foreach($currencyList as &$currency) {
$currency->flag = 'templates/' . $template . '/' . $flags[$currency->code];
if(empty($currencyId) && $currency->default) {
$currencyId = $currency->id;
}
}
}
$encodedata = json_encode($currencyList);
$decodedata = json_decode($currencyList, true);
$urlForCurrentcy = getUrlForCurrency($currencyId);
$isQueryExist = strpos($urlForCurrentcy, "?") !== false ? true : false;
return array("multiCurrency" => $decodedata, 'selectedCurrency' => $currencyId, 'urlForCurrentcy' => $urlForCurrentcy, 'isQueryExist' => $isQueryExist);
}
add_hook("ClientAreaPage", 1, "multiple_currency_hook");
// get URL for currency withour currency query string
function getUrlForCurrency($currencyId) {
$whmcsQueryStr = [];
$actualLink = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$whmcsCurrentUrl = parse_url($actualLink);
if(!empty($whmcsCurrentUrl['query'])) {
parse_str($whmcsCurrentUrl['query'], $whmcsQueryStr);
}
if(!empty($whmcsQueryStr)) {
foreach($whmcsQueryStr as $queryKey => $whmcsQuery) {
if(strpos($queryKey, "currency") !== false) {
unset($whmcsQueryStr[$queryKey]);
}
}
}
$whmcsCurrentUrl['query'] = urldecode(http_build_query($whmcsQueryStr, '', '&'));
$fullUrl = unparseUrl($whmcsCurrentUrl);
return $fullUrl;
}
// prepare full URL
function unparseUrl( $parsed_url , $ommit = array( ) ) {
$url = '';
$p = array();
$p['scheme'] = isset( $parsed_url['scheme'] ) ? $parsed_url['scheme'] . '://' : '';
$p['host'] = isset( $parsed_url['host'] ) ? $parsed_url['host'] : '';
$p['port'] = isset( $parsed_url['port'] ) ? ':' . $parsed_url['port'] : '';
$p['user'] = isset( $parsed_url['user'] ) ? $parsed_url['user'] : '';
$p['pass'] = isset( $parsed_url['pass'] ) ? ':' . $parsed_url['pass'] : '';
$p['pass'] = ( $p['user'] || $p['pass'] ) ? $p['pass']."@" : '';
$p['path'] = isset( $parsed_url['path'] ) ? $parsed_url['path'] : '';
$p['query'] = !empty( $parsed_url['query'] ) ? '?' . $parsed_url['query'] : '';
$p['fragment'] = isset( $parsed_url['fragment'] ) ? '#' . $parsed_url['fragment'] : '';
if ( $ommit ) {
foreach ( $ommit as $key ) {
if ( isset( $p[ $key ] ) ) {
$p[ $key ] = '';
}
}
}
return $p['scheme'].$p['user'].$p['pass'].$p['host'].$p['port'].$p['path'].$p['query'].$p['fragment'];
}
// ************************************************************************************************************************
// Description: All flag list with currency code (We used flag from https://lipis.github.io/flag-icon-css/flags/4x3/us.svg.)
// key: currency code from WHMCS setting (Configuration > System Settings > Currencies). https://docs.whmcs.com/Currencies
// value: flag image path. Location: templates/{your-template}/img/flags/
//
// Instruction: the key needs to be the same as the currency code.
// Example: 'USD'. We have set the currency code USD from Configuration > System Settings > Currencies
// ************************************************************************************************************************
function getFlags() {
return [
'AED' => 'img/flags/AED.svg',
'AUD' => 'img/flags/AUD.svg',
'BDT' => 'img/flags/BDT.svg',
'BRL' => 'img/flags/BRL.svg',
'COP' => 'img/flags/COP.svg',
'CRC' => 'img/flags/CRC.svg',
'DEM' => 'img/flags/DEM.svg',
'EGP' => 'img/flags/EGP.svg',
'ESP' => 'img/flags/ESP.svg',
'FRF' => 'img/flags/FRF.svg',
'GBP' => 'img/flags/GBP.svg',
'IDR' => 'img/flags/IDR.svg',
'ILS' => 'img/flags/ILS.svg',
'INR' => 'img/flags/INR.svg',
'ITL' => 'img/flags/ITL.svg',
'MXN' => 'img/flags/MXN.svg',
'NGN' => 'img/flags/NGN.svg',
'NLG' => 'img/flags/NLG.svg',
'PKR' => 'img/flags/PKR.svg',
'PLN' => 'img/flags/PLN.svg',
'SAR' => 'img/flags/SAR.svg',
'TRY' => 'img/flags/TRY.svg',
'USD' => 'img/flags/USD.svg',
];
}
In this multi-currency, we have used the country flag location path (.svg format). We have 23 country flags included in our templates/{your-template}/img/flags folder.
If you need to add a new country flag then:
- First, add your currency from add multiple currencies
- Then add/upload your flag in `templates/{your-template}/img/flags` folder
- And add the currency code and flag path in getFlags function like 'BDT' => 'img/flags/BDT.svg', . BDT has come from currency code field. Check that we have used BDT.
NB: Make sure your image name will be your country code like USD, GBP, etc...