Introduction
Xton is a new modern HTML template for eCommerce website. This is created for the individuals and companies who own an offline or online shop and offer products selling online using a website. Suitable E-Commerce business startups including cosmetics, cloths, beauty brands, seasonal sales shop, online selling store, and other related business niche web shop.
The Xton has RTL feature included so, using for Arabic and Hebrew language based website would be quicker and easier.
Also, this template has a working contact form, well commented, and easily customizable source code with detailed documentation. These features will help to make the template uses and customization based on the ultimate needs.
Template Features:
- Multipage Demos
- Easy to Customize
- HTML5 & CSS3
- Clean & Simple Design
- Fully Responsive Layout
- Crossbrowser Compatible with Edge, IE11+, Firefox, Safari, Opera, Chrome
- W3 Valid
- Retina Ready
- FlatIcons and BoxIcons Free icons
- Powered with Bootstrap (v5.x)
- Powered With jQuery (v3.7.1)
- Build with Sass
- Smooth Animation
- AJAX Contact Form Submission
- AJAX Subscriptions Form Submission
- Well Documented
Getting Started
The template folder xton and xton-rtl 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 following:
- assets/css — folder with css files.
- assets/fonts — folder with fonts files.
- assets/img — folder with image files.
- assets/js — folder with Javascript files.
- assets/php — folder with form-process.php files.
Upload the template files to 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:
<!-- Links of CSS files -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/animate.min.css">
<link rel="stylesheet" href="assets/css/boxicons.min.css">
<link rel="stylesheet" href="assets/css/flaticon.css">
<link rel="stylesheet" href="assets/css/magnific-popup.min.css">
<link rel="stylesheet" href="assets/css/nice-select.min.css">
<link rel="stylesheet" href="assets/css/slick.min.css">
<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/css/meanmenu.min.css">
<link rel="stylesheet" href="assets/css/rangeSlider.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/dark.css">
<link rel="stylesheet" href="assets/css/responsive.css">
Followings are the rtl files which loaded inside the Head Section:
<!-- Links of CSS files -->
<link rel="stylesheet" href="assets/css/bootstrap.rtl.min.css">
<link rel="stylesheet" href="assets/css/animate.min.css">
<link rel="stylesheet" href="assets/css/boxicons.min.css">
<link rel="stylesheet" href="assets/css/flaticon.css">
<link rel="stylesheet" href="assets/css/magnific-popup.min.css">
<link rel="stylesheet" href="assets/css/nice-select.min.css">
<link rel="stylesheet" href="assets/css/slick.min.css">
<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/css/meanmenu.min.css">
<link rel="stylesheet" href="assets/css/rangeSlider.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/dark.css">
<link rel="stylesheet" href="assets/css/responsive.css">
<link rel="stylesheet" href="assets/css/rtl.css">
Javascript Structure
Followings are the JS files which loaded before the end of HEAD or BODY Section:.
<!-- Links of JS files -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
<script src="assets/js/magnific-popup.min.js"></script>
<script src="assets/js/parallax.min.js"></script>
<script src="assets/js/rangeSlider.min.js"></script>
<script src="assets/js/nice-select.min.js"></script>
<script src="assets/js/meanmenu.min.js"></script>
<script src="assets/js/isotope.pkgd.min.js"></script>
<script src="assets/js/slick.min.js"></script>
<script src="assets/js/sticky-sidebar.min.js"></script>
<script src="assets/js/wow.min.js"></script>
<script src="assets/js/form-validator.min.js"></script>
<script src="assets/js/contact-form-script.js"></script>
<script src="assets/js/ajaxchimp.min.js"></script>
<script src="assets/js/main.js"></script>
Do You Want Real Demo Images?
Due to the Envato policy, we are unable to include demo images inside download bundle so for demo images Please submit your ticket by visiting the HiBootstrap Support System.
HTML Structure
The Xton is a responsive template and is based on the Bootstrap Framework. For more information you can check the Bootstrap CSS.
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:
<section class="offer-area bg-image1 ptb-100 jarallax" data-jarallax='{"speed": 0.3}'>
<div class="container-fluid">
<div class="row">
<div class="col-lg-5 col-md-6">
<div class="offer-content">
<span class="sub-title">Limited Time Offer!</span>
<h2>-40% OFF</h2>
<p>Get The Best Deals Now</p>
<a href="#" class="default-btn">Discover Now</a>
</div>
</div>
</div>
</div>
</section>
Responsive Breakpoints
The Xton is a responsive template and is based on the Bootstrap Framework. For more information you can check the Bootstrap CSS.
@media only #{$media} and ($feature_max : $value_two) {}
@media only #{$media} and ($feature_min : $value_one) and ($feature_max : $value_two) {}
@media only #{$media} and ($feature_min : $value_three) and ($feature_max : $value_four) {}
@media only #{$media} and ($feature_min : $value_five) and ($feature_max : $value_six) {}
@media only #{$media} and ($feature_min : $value_seven) {}
Contact Form
The Contact form html code coming with jQuery form validation. Also, it's included a .php file(form-process.php) for AJAX based email sending! HTML code example is similar to followings:
<form id="contactForm">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="form-group">
<label for="name1">First Name</label>
<input type="text" name="name" class="form-control" id="name" required data-error="Please enter your name" placeholder="Eg: Sarah Taylor">
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="form-group">
<label for="name1">Subject</label>
<input type="email" name="email" class="form-control" id="email" required data-error="Please enter your email" placeholder="Avery">
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="form-group">
<label for="name1">Email Address</label>
<input type="text" name="phone_number" class="form-control" id="phone_number" required data-error="Please enter your phone number" placeholder="hello@puxa.com">
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="form-group">
<label for="name1">Phone Number</label>
<input type="text" name="msg_subject" class="form-control" id="msg_subject" placeholder="+123987654" required data-error="Please enter your subject">
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<label for="name1">Write Message</label>
<textarea name="message" id="message" class="form-control" cols="30" rows="6" required data-error="Please enter your message" placeholder="Message..."></textarea>
<div class="help-block with-errors"></div>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12">
<button type="submit" class="default-btn"> Send Message</button>
<div id="msgSubmit" class="h3 text-center hidden"></div>
<div class="clearfix"></div>
</div>
</div>
</form>
AJAX Contact Form
File location: assets/php/form-process.php file
Fonts Used
By default, the template loads Lato & Cabin font from Google Web Font Services. The font can be changed based on the website needs. Google Fonts
Font code can be found in the "style.scss" file path: assets/css/style.scss
@import url("https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i&display=swap");
@import url("https://fonts.googleapis.com/css?family=Cabin:400,400i,500,500i,600,600i,700,700i&display=swap");
$font-family1: 'Lato';
$font-family2: 'Cabin';
Note: After SCSS file run then it will be work
Main Color Change Option
File path: assets/css/style.scss
$main-color: #f53f85; (All Primary Color)
$optional-color: #777777; (All Paragraph Color)
Note: After SCSS file run then it will be work
How to Run SCSS File
Please open the file Visual Studio Code Editor.
And following the video tutorial.
Here the Link: https://www.youtube.com/watch?v=0MWmv1Gvv5w
Owl Carousel Slider Edit Option
File path: assets/js/main.js
// Owl Carousel Slider
$('.home-slides-two').owlCarousel({
loop: true,
nav: true,
dots: false,
autoplayHoverPause: true,
autoplay: true,
autoHeight: true,
animateOut: 'animate__animated animate__slideOutUp',
items: 1,
navText: [
"",
""
],
});
More Info please browser the link: Owl Carousel Slider Docs Options
How to Hide Scroll Animation
Please remove or comment the below code file path: assets/js/main.js
// WoW JS
$(window).on ('load', function (){
if ($(".wow").length) {
var wow = new WOW ({
boxClass: 'wow', // Animated element css class (default is wow)
animateClass: 'animated', // Animation css class (default is animated)
offset: 20, // Distance to the element when triggering the animation (default is 0)
mobile: true, // Trigger animations on mobile devices (default is true)
live: true, // Act on asynchronously loaded content (default is true)
});
wow.init();
}
});
More Info please browser the link: WOW.js Docs
Speed Optimization
Please optimize all images KB, MB also, use the image size following by placeholder file path: assets/img/..
- 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 IcoFont
You won't able to add new IcoFont except existing but you can if you want to add from scratch but existing will not work and it's the feature of IcoFont. IcoFont.com
How to Add a Google Map to The Website?
1. Please go to maps.google.com. Type the location in the search box and click on Share.
2. In the new window click on Embed a map and copy the HTML code of the map. After that add the HTML file.
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:
http://freepik.com/
http://pixabay.com/
http://unsplash.com/
Support
24-Hour Turnaround Support:
- Quick, Dedicated & Professional Support!
- We only provide support through our ticketing system. Please submit your ticket by visiting the HiBootstrap Support System.
- For any pre-purchase query, please use live chat on the item demo site also, email, and the item’s comment section on ThemeForest. Thanks!
- Email: hello@hibootstrap.com