Getting Started
The template folder Travhub is available inside the downloaded zip file. Need to unzip the zip file to find the template also the documentation folder.
The files and folders structure is similar to the following:
- assets/css — folder with CSS files.
- assets/inc — folder with mail files.
- assets/img — folder with image files.
- assets/js — folder with Javascript files.
- assets/vendors — folder with vendors files.
Upload the template files to the server with the help of one of the FTP-clients like FileZilla.
Files Edit & Upload:
Individual pages can be customized by opening in a code editor such as VS Code. Once all the customization completed then to make the website live you need to upload the updated project files to the hosting server for your own domain. The files can be uploaded using FTP client such as FileZilla.
HEAD CSS Structure
Followings are the css files which loaded inside the Head Section:
<!-- Package Css link -->
<link rel="stylesheet" href="assets/vendors/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/vendors/nice-select/css/nice-select.css">
<link rel="stylesheet" href="assets/vendors/fontawesome/css/all.min.css">
<link rel="stylesheet" href="assets/vendors/animate/animate.min.css">
<link rel="stylesheet" href="assets/vendors/meanmenu/css/meanmenu.css">
<link rel="stylesheet" href="assets/vendors/jarallax/jarallax.css">
<link rel="stylesheet" href="assets/vendors/jquery-magnific-popup/jquery.magnific-popup.css">
<link rel="stylesheet" href="/assets/vendors/travhub-icons/style.css">
<link rel="stylesheet" href="assets/vendors/owl-carousel/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/vendors/owl-carousel/css/owl.theme.default.min.css">
<link rel="stylesheet" href="assets/vendors/jquery-ui/jquery-ui.css">
<link rel="stylesheet" href="assets/vendors/glightbox/css/glightbox.min.css">
<link rel="stylesheet" href="assets/vendors/spacing/spacing.css">
<!-- template styles -->
<link rel="stylesheet" href="assets/css/travhub.css">
Javascript Structure
Followings are the JS files which loaded before the end of HEAD or BODY Section:.
<script src="assets/vendors/jquery/jquery-3.7.0.min.js"></script>
<script src="assets/vendors/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendors/nice-select/js/nice-select.js"></script>
<script src="assets/vendors/wow/wow.js"></script>
<script src="assets/vendors/meanmenu/js/meanmenu.js"></script>
<script src="assets/vendors/jarallax/jarallax.min.js"></script>
<script src="assets/vendors/jquery-ui/jquery-ui.js"></script>
<script src="assets/vendors/jquery-ajaxchimp/jquery.ajaxchimp.min.js"></script>
<script src="assets/vendors/jquery-appear/jquery.appear.min.js"></script>
<script src="assets/vendors/jquery-circle-progress/jquery.circle-progress.min.js"></script>
<script src="assets/vendors/jquery-magnific-popup/jquery.magnific-popup.min.js"></script>
<script src="assets/vendors/jquery-validate/jquery.validate.min.js"></script>
<script src="assets/vendors/nouislider/nouislider.min.js"></script>
<script src="assets/vendors/tiny-slider/tiny-slider.js"></script>
<script src="assets/vendors/wnumb/wNumb.min.js"></script>
<script src="assets/vendors/owl-carousel/js/owl.carousel.min.js"></script>
<script src="assets/vendors/swiper/js/swiper.min.js"></script>
<script src="assets/vendors/imagesloaded/imagesloaded.min.js"></script>
<script src="assets/vendors/isotope/isotope.js"></script>
<script src="assets/vendors/countdown/countdown.min.js"></script>
<script src="assets/vendors/jquery-circleType/jquery.circleType.js"></script>
<script src="assets/vendors/jquery-lettering/jquery.lettering.min.js"></script>
<script src="assets/vendors/ion.rangeSlider/ion.rangeSlider.min.js"></script>
<script src="assets/vendors/jquery-ui/jquery-ui.js"></script>
<script src="assets/vendors/glightbox/js/glightbox.min.js"></script>
<script src="https://unpkg.com/splitting/dist/splitting.min.js"></script>
<script src="https://unpkg.com/scroll-out/dist/scroll-out.min.js"></script>
<!-- gsap js -->
<script src="assets/vendors/gsap/gsap.js"></script>
<script src="assets/vendors/gsap/scrolltrigger.min.js"></script>
<script src="assets/vendors/gsap/splittext.min.js"></script>
<script src="assets/vendors/gsap/travhub-split.js"></script>
<!-- template js -->
<script src="assets/js/travhub.js"></script>
HTML Structure
The general template structure is the same throughout the template and each of the part is under a section with a section id name. Here is the general structure:
<!-- page-header start -->
<div class="page-header">
<div class="page-header__bg"></div>
<div class="page-header__shape-one"></div>
<div class="page-header__shape-two"></div>
<div class="container">
<h2 class="page-header__title bw-split-in-right">About</h2>
<ul class="travhub-breadcrumb list-unstyled">
<li><a href="index.html">Home</a></li>
<li><About></i></li>
</ul>
</div>
</div>
</div>
<!-- page-header end -->
Fonts Used
Font code can be found in the "travhub.css" file path: assets/css/travhub.css
:root {
--travhub-font: "Roboto", serif;
--travhub-heading-font: "Geologica", serif;
--travhub-special-font: "Caveat", serif;
}
Main Color Change Option
File path: assets/css/travhub.css
:root {
--travhub-text: #555555;
--travhub-text-rgb: 85, 85, 85;
--travhub-text2: #757575;
--travhub-text2-rgb: 117, 117, 117;
--travhub-base: #1BBC9B;
--travhub-base-rgb: 27, 188, 155;
--travhub-primary: #abe6d7;
--travhub-primary-rgb: 171, 230, 215;
--travhub-gray: #F0F0F0;
--travhub-gray-rgb: 240, 240, 240;
--travhub-gray2: #F1F4FA;
--travhub-gray2-rgb: 241, 244, 250;
--travhub-white: #fff;
--travhub-white-rgb: 255, 255, 255;
--travhub-black: #292929;
--travhub-black-rgb: 41, 41, 41;
--travhub-black2: #343434;
--travhub-black2-rgb: 52, 52, 52;
--travhub-black3: #000;
--travhub-black3-rgb: 0, 0, 0;
--travhub-border-color: #e5e3e0;
--travhub-border-color-rgb: 229, 227, 224;
}
Owl Carousel Edit Option
File path: assets/js/travhub.js
/*--------------------------------------------------
Owl Carousel
---------------------------------------------------*/
function thmOwlInit() {
// owl slider
let travhubowlCarousel = $(".travhub-owl__carousel");
if (travhubowlCarousel.length) {
travhubowlCarousel.each(function () {
let elm = $(this);
let options = elm.data("owl-options");
let thmOwlCarousel = elm.owlCarousel(
"object" === typeof options ? options : JSON.parse(options)
);
elm.find("button").each(function () {
$(this).attr("aria-label", "carousel button");
});
});
}
let travhubowlCarouselNav = $(".travhub-owl__carousel--custom-nav");
if (travhubowlCarouselNav.length) {
travhubowlCarouselNav.each(function () {
let elm = $(this);
let owlNavPrev = elm.data("owl-nav-prev");
let owlNavNext = elm.data("owl-nav-next");
$(owlNavPrev).on("click", function (e) {
elm.trigger("prev.owl.carousel");
e.preventDefault();
});
$(owlNavNext).on("click", function (e) {
elm.trigger("next.owl.carousel");
e.preventDefault();
});
});
}
}
More Info please browser the link: Owl Carousel Options
How to edit/off Preloader
Please remove or comment the below code file path: assets/js/main.js
/*-----------------
preloader
------------------*/
var preload = $('.preloader');
if (preload.length > 0) {
preload.delay(800).fadeOut('slow');
}
Also, please remove or comment the above code all HTML files
<!-- preloader area start -->
<div class="preloader">
<div class="loaderInner">
<img src="assets/img/preloader/preloader.png" alt="preloader">
</div>
</div>
<!-- preloader area end -->
Speed Optimization
Please optimize all images KB, MB also, use the image size following by placeholder file path: assets/images/..
- Tinypng
Please minify all CSS file path: assets/css/..
Please minify all JS file path: assets/js/..
How to Change Image?
Please go to the image file 'path: assets/img/...' replace the image which one you want following placeholder image size & name
How to Edit Especially For Font Awesome
You won't able to add new flaticon except existing but you can if you want to add from scratch but existing will not work and it's the feature of flaticon. Fontawesome.com
How to Add New Updates of Existing Template
After a certain time, we will update our project based on the latest technology but in your template, you need to update on your own if you want.
Credits
Note: All images are used for preview purpose only and not included in the final purchase files.
Images from:
https://www.freepik.com/
https://pixabay.com/
https://unsplash.com/
IconFont
Fontawesome
Travhub Custom Icon