Installation
Follow the steps below to get started with your Site Template:
- Open the
Package/HTMLFolder to find all the Templates Files - You will need to Upload these files to your Web Server using FTP in order to use it on your Website.
- Make sure you upload the required files/folders listed below:
HTML/css- Extra Stylesheets Folder plus Main Stylesheet FileHTML/images- Images FolderHTML/js- Javacripts FolderHTML/index.html- Index File/Homepage
- You're now good to go..! Start adding your Content and show off your Brand New Beautiful Website in style.
HTML Structure
Trax follows a simple coding structure. here is the sample:
<!DOCTYPE html> <html dir="ltr" lang="en"> <!-- All your metas will be here ========= --> <meta name="viewport" content="width=device-width, initial-scale=1"> <head> <!-- Your Stylesheets, Title ============================================= --> ... </head> <body> <!-- The Loader Before Site Load ============================================= --> <div class="loader"> .... </div> <!-- Header ============================================= --> <header> <nav class="navbar"> ... </nav> </header> <!-- Site Content ============================================= --> <section> <div class="container"> ... </div> </section> <!-- Footer ============================================= --> <footer> <div class="container"> ... <!-- Copyrights ============================================= --> </div> </footer> <!-- Your All Scripts will be here ============================================= --> ... </body> </html>
Favicons & Apple Touch Icons
You can add a Favicon to your Website using the following code just bottom to the Stylesheet files links:
<link href="images/favicon.ico" rel="icon">
You can add Apple Touch Icons to your Website using the following code:
<link rel="apple-touch-icon" href="touch-icon-iphone.png"> <link rel="apple-touch-icon" sizes="76x76" href="touch-icon-ipad.png"> <link rel="apple-touch-icon" sizes="120x120" href="touch-icon-iphone-retina.png"> <link rel="apple-touch-icon" sizes="152x152" href="touch-icon-ipad-retina.png">
Page Loading Transitions
You can show Interactive loaders to your Visitors while the Pages of your Website loads in the background & then Reveal show Interactive loaders to your Visitors while your Pages with CSS3 Transitions. Page Loading Transitions are enabled by default. To disable the Transition, you can simply remove .loader Class just after the <body> Tag.
Logo Settings
The Logo Container can be found in the Header Container - nav tag
<a class="navbar-brand" href="index.html">
<img src="images/logo.png" alt="logo">
</a>
In the Main Index with have transparent background the Logo Container can be found in the Header Container - nav tag
<a class="navbar-brand" href="index.html">
<img src="images/logo-transparent.png" alt="logo" class="logo-default">
<img src="images/logo.png" alt="logo" class="logo-scrolled">
</a>
Changing Fonts
Change your Fonts from Google Fonts Library directly if you plan to use a Google Font. You can find the Linking to the Font
Files in the style.cssfile.
@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500,600,700,800');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');
In order to change the Fonts, you will need to Edit the Above Links with your Custom Font, 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 for using Self Hosted Fonts.
By default, Trax uses two Fonts namely: Montserrat and Open Sans from the Google Fonts Library
Website Optimization Tips
A Fast & Optimized Website has several factors which needs to be implemented in order to achieve the desired results. There are several Optimization Techniques available which will definitely affect your Website's Performance in a Positive Way & we want to share a few of them with you:
-
gZip Compression & Browser Caching
This is probably one of the Most Important Techniques you should definitely implement in order to bump up your Website's Loading Speed. gZip Compression is used to compress the Files that are delivered when loading a Website. It covers HTML, CSS, Javascript & Font Files along with other miscellaneous text files. Where as Browser Caching also covers Images & Videos apart from including the above files. This is used to saves 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, loading the Website fast.
gZip Compression & Browser Caching can be enabled using the
.htaccessFile on an Apache Web Server. You can use the Codes from here: https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess to enable these modules on your server. -
Image Compression & Optimization
We tend to use Lots of Images on our Websites but we often do not make efforts to Compress & Optimize them. Remember, the Larger the Image, the more time it takes to download and therefore this slows your website loading times affecting User Experience. Your customer will leave your website if it does not load within 3-5 Seconds which adversely affects your Sales. Therefore, it is important to Resize, Optimize & Compress your Images before using it on your Website. Here are some Tips which might come handy in optimizing images:
- 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's
<img>Tag without resizing it. The size/resolution of the Image matters since it is not recommended to use an Image size of1200pxx800pxin a Content Size of300pxx200pxas this is unnecessary. Resize it to300pxx200px - 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.
- 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's
-
CSS & jQuery Minifications
It is also recommended that you Combine & Minify all your CSS Files to a single CSS File & all Javascript Files to a single JS File since Minification reduces the size of the File and Combining the files helps in reducing the number of HTTP requests made to the server. This is also an Important Factor in increasing the speed of your website. There are several tools available online to Minify your CSS & JS Files. Our recommendations are:
For CSS use CSS Minifier and For Javascript use Javascript Minifier. -
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 several CDN Hosting Providers available on the Internet but we would recommend MaxCDN or CloudFlare. Note: CDN setup requires Extra monthly Fees to setup, so it is completely optional & according to your needs.
-
Fast Web Hosting Servers
A lot depends on your Web Hosting Servers, so it is recommended that you choose a Hosting Company/Server that provides a Reliable & a Fast Hosting Service. You can check out some recommended Hosting Services here: http://themeforest.net/get_hosting.
Header
You can choose the headers while creating your Pages. Default Header with a white Background while turns Stickey after a little scrolling &,you can make header without stickey effect
for this just remove the .static-nav from the nav tag.
You can also choose the transparent header by using navbar transparent-bg Class on nav tag,
You can also choose the Padding (Space of navbar - up and down) of header by using navbar padding-nav Class on nav tag,
Simply follow the structure below to create the header:
<header> ... </header>
Page Titles
Default Page Title style with Text aligned Left.
Columns & Grid
Bootstrap Grid
Side Panel
You can add a revealable Side Panel on your Website with Additional Information about your Website. here we are giving you a demo with all possible information, Simply use the Code below:
<aside class="sidebar padding-bottom">
<div class="widget heading_space wow fadeIn" data-wow-delay="300ms">
<!-- Search Box -->
<h4 class="text-capitalize darkcolor bottom20">search</h4>
<form class="widget_search">
<div class="input-group">
<label for="search" class="d-none"></label>
<input type="search" class="form-control" placeholder="search..." id="search" required>
<button type="submit" class="input-group-addon"><i class="fa fa-search"></i> </button>
</div>
</form>
</div>
<div class="widget heading_space wow fadeIn" data-wow-delay="350ms">
<!-- Recent Post -->
<h4 class="text-capitalize darkcolor bottom20">Recent Post</h4>
<div class="single_post d-table bottom15">
<a href="#." class="post"><img src="images/blog-recent-1.jpg" alt="post image"></a>
<div class="text">
<a href="#.">About Invesment Management</a>
<span>September 22,2019</span>
</div>
</div>
<div class="single_post bottom15">
<a href="#." class="post"><img src="images/blog-recent-2.jpg" alt="post image"></a>
<div class="text">
<a href="#.">We Conduct Share Holders Meet</a>
<span>September 20,2019</span>
</div>
</div>
<div class="single_post d-table bottom15">
<a href="#." class="post"><img src="images/blog-recent-3.jpg" alt="post image"></a>
<div class="text">
<a href="#.">Create Your bright Future</a>
<span>September 18,2019</span>
</div>
</div>
</div>
<div class="widget heading_space wow fadeIn" data-wow-delay="400ms"
<!-- Tags -->
<h4 class="text-capitalize darkcolor bottom20">Top Tags</h4>
<ul class="webtags">
<li><a href="#.">Books</a></li>
<li><a href="#.">Midterm test </a></li>
<li><a href="#.">Presentation</a></li>
<li><a href="#.">Courses</a></li>
<li><a href="#.">Certifications</a></li>
<li><a href="#.">Teachers</a></li>
<li><a href="#.">Student Life</a></li>
<li><a href="#.">Study</a></li>
<li><a href="#.">Midterm test </a></li>
<li><a href="#.">Presentation</a></li>
<li><a href="#.">Courses</a></li>
</ul>
</div>
<div class="widget wow fadeIn" data-wow-delay="450ms">
<!-- Category -->
<h4 class="text-capitalize darkcolor bottom20">Categories</h4>
<ul class="webcats">
<li><a href="#.">Books <span>23</span></a></li>
<li><a href="#.">Midterm test <span>09</span></a></li>
<li><a href="#.">Presentation <span>11</span></a></li>
<li><a href="#.">Courses <span>13</span></a></li>
</ul>
</div>
</aside>
Note: Make sure that you add the Side Panel's Code just after the whole column #blog
Side Panel Position
A Side Panel can be revealed from either Left or Right. The Side Panel is revealed from the Right by default. If you would like to change the Reveal Position of the Side Panel to Left, then you can simply add the .float-left Class to the <aside> Tag.
<aside class="float-left">
Helper Classes
We have created some really useful helper classes for you. Here are a few of them:
.p-*- padding of *rem on the all sides of elements..pb-*- Padding Bottom of *rem on the bottom of elements..pt-*- Padding Top of *rem on the top of elements..pl-*- Padding Left of *rem on the left of elements..pr-*- Padding Right of *rem on the right of elements..m-*- Margin of *rem on the all sides of elements..mb-*- Margin Bottom of *rem on the bottom of elements..mt-*- Margin Top of *rem on the top of elements..ml-*- Margin Left of *rem on the left of elements..mr-*- Margin Right of *rem on the right of elements.-
- 0 has 0rem
- 1 has 0.25rem
- 2 has 0.5rem
- 3 has 1rem
- 4 has 1.5rem
- 5 has 3rem
.padding- padding of 7.5rem on top and bottom of sections..padding_top- padding of 7.5rem on top of sections..padding_bottom- padding of 7.5rem on the bottom of sections..padding_half- padding of 3.75rem on the top and bottom of elements..padding_top_half- padding of 3.75rem on top of elements..padding_bottom_half- padding of 3.75rem on bottom of elements..p-0- for 0 padding or remove the padding.m-0- for 0 margin or remove the margin.margin- margin of 7.5rem on top and bottom of sections..margin_top- margin of 7.5rem on top of sections..margin_bottom- margin of 7.5rem on the bottom of sections..margin_half- margin of 3.75rem on the top and bottom of elements..margin_top_half- margin of 3.75rem on top of elements..margin_bottom_half- margin of 3.75rem on bottom of elements..top5- margin of 5px on the top of elements..top10- margin of 10px on the top of elements..top15- margin of 15px on the top of elements..top20- margin of 20px on the top of elements..top25- margin of 25px on the top of elements..top30- margin of 30px on the top of elements..top40- margin of 40px on the top of elements..top45- margin of 45px on the top of elements..top50- margin of 50px on the top of elements..top60- margin of 60px on the top of elements..bottom5- margin of 5px on the bottom of elements..bottom10- margin of 10px on the bottom of elements..bottom15- margin of 15px on the bottom of elements..bottom20- margin of 20px on the bottom of elements..bottom25- margin of 25px on the bottom of elements..bottom30- margin of 30px on the bottom of elements..bottom35- margin of 35px on the bottom of elements..bottom40- margin of 40px on the bottom of elements..bottom45- margin of 45px on the bottom of elements..bottom50- margin of 50px on the bottom of elements..bottom60- margin of 60px on the bottom of elements..bgdefault- for default background color of element..defaultcolor- for default color of element..whitecolor- for white color of element..hover-default- for default hover color of element..bglight- light grey background in website..button- default button used in website..overlay- to create overlay effects..parallax- to create parallax effects on sections..opacity-(0-10)- to apply opacity effects..page-header- in the header section to apply header settings for parallax effect.
* Means 0-5 number where:
Slider Types & their Options
Bistro includes 2 Unique Sliders for you to be used on any Page with 100s of Options. The List of all the Sliders included are mentioned as follows:
- Revolution Slider
You can find the Revolution Slider related Documentation here.
Read Revolution Slider Docs - Swiper Slider
You can find the Swiper Slider related Documentation here.
Swiper Docs & Demos
Blog Setup
Posts use Simple Markup. Use the Code Sample below in the .container Class:
<!-- Blog Starts -->
<section id="ourblog" class="padding_top padding_bottom">
<div class="container">
<h2 class="d-none">Blog</h2>
<div class="row">
<div class="col-lg-8" id="blog">
<article class="blog-item heading_space wow fadeIn" data-wow-delay="300ms">
<div class="image"><img src="images/blogfull1.jpg" alt="blog" class="border_radius"></div>
<h3 class="darkcolor font-light bottom10 top30"> <a href="blog-detail.html">Springtime Color Schemes to Try at Home</a></h3>
<ul class="commment">
<li><a href="#."><i class="fas fa-calendar"></i>Jun 6</a></li>
<li><a href="#."><i class="fas fa-comments"></i> 9</a></li>
<li><a href="#."><i class="fas fa-user"></i> emorson</a></li>
</ul>
<p class="top15">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>
<p class="top15">Lorem Ipsum is simply dummy text of the printing and typesetting industry...</p>
<a class=" button btn-primary" href="blog-detail.html">Read More</a>
</article>
<article class="blog-item heading_space wow fadeIn" data-wow-delay="300ms">
<div class="image"><img src="images/blogfull2.jpg" alt="blog" class="border_radius"></div>
<h3 class="darkcolor font-light bottom10 top30"> <a href="blog-detail.html">Springtime Color Schemes to Try at Home</a></h3>
<ul class="commment">
<li><a href="#."><i class="fas fa-calendar"></i>Jun 6</a></li>
<li><a href="#."><i class="fas fa-comments"></i> 9</a></li>
<li><a href="#."><i class="fas fa-user"></i> emorson</a></li>
</ul>
<p class="top15">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>
<p class="top15">Lorem Ipsum is simply dummy text of the printing and typesetting industry...</p>
<a class=" button btn-primary" href="blog-detail.html">Read More</a>
</article>
<article class="blog-item heading_space wow fadeIn" data-wow-delay="300ms">
<div class="image"><img src="images/blogfull3.jpg" alt="blog" class="border_radius"></div>
<h3 class="darkcolor font-light bottom10 top30"> <a href="blog-detail.html">Springtime Color Schemes to Try at Home</a></h3>
<ul class="commment">
<li><a href="#."><i class="fas fa-calendar"></i>Jun 6</a></li>
<li><a href="#."><i class="fas fa-comments"></i> 9</a></li>
<li><a href="#."><i class="fas fa-user"></i> emorson</a></li>
</ul>
<p class="top15">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>
<p class="top15">Lorem Ipsum is simply dummy text of the printing and typesetting industry...</p>
<a class="button btn-primary" href="blog-detail.html">Read More</a>
</article>
<ul class="pagination padding-bottom">
<li class="page-item"><a class="page-link" href="#."><i class="fa fa-angle-left"></i></a></li>
<li class="page-item active"><a class="page-link" href="#.">1</a></li>
<li class="page-item"><a class="page-link" href="#.">2</a></li>
<li class="page-item"><a class="page-link" href="#.">3</a></li>
<li class="page-item"><a class="page-link" href="#."><i class="fa fa-angle-right"></i></a></li>
</ul>
</div>
<!--Side bar-->
</div>
</div>
</section>
Post Types
You can use different types of Post Types:
- Image
- Sliders
Portfolio Setup
Trax provides a very elegant way to showcase your work. Setting up Portfolio is simple. Please use the following codes:
Setting up Portfolio Filter Items :
<!-- Work Starts --> <section id="ourgallery" class="bglight position-relative padding_top"> <div class="container"> <div class="row"> <div class="col-md-12 text-center wow fadeIn top15" data-wow-delay="300ms"> <h2 class="heading bottom45 darkcolor font-light2">Our <span class="font-normal">Gallery</span> <span class="divider-center"></span> </h2> <div class="col-md-8 offset-md-2 bottom40"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. A dolores explicabo laudantium, omnis provident quam reiciendis voluptatum?</p> </div> </div> <div class="col-lg-12"> <div id="mosaic-filter" class="cbp-l-filters bottom30 wow fadeIn text-center" data-wow-delay="350ms"> <div data-filter="*" class="cbp-filter-item"> <span>All</span> </div> <div data-filter=".digital" class="cbp-filter-item"> <span>Digital</span> </div> <div data-filter=".design" class="cbp-filter-item"> <span>Design</span> </div> <div data-filter=".brand" class="cbp-filter-item"> <span>Brand</span> </div> <div data-filter=".graphics" class="cbp-filter-item"> <span>Graphics</span> </div> </div> </div> <div class="col-lg-12"> <div id="grid-mosaic" class="cbp cbp-l-grid-mosaic-flat"> <!--Item 1--> <div class="cbp-item brand graphics"> <img src="images/gallery-1.jpg" alt=""> <div class="gallery-hvr whitecolor"> <div class="center-box"> <a href="images/gallery-1.jpg" class="opens" data-fancybox="gallery" title="Zoom In"> <i class="fa fa-search-plus"></i></a> <a href="gallery-detail.html" class="opens" title="View Details"> <i class="fas fa-link"></i></a> <h4 class="w-100">Portfolio Title</h4> </div> </div> </div> <!--Item 2--> <div class="cbp-item digital brand graphics design"> <img src="images/gallery-4.jpg" alt=""> <div class="gallery-hvr whitecolor"> <div class="center-box"> <a href="images/gallery-4.jpg" class="opens" data-fancybox="gallery" title="Zoom In"> <i class="fa fa-search-plus"></i></a> <a href="gallery-detail.html" class="opens" title="View Details"> <i class="fas fa-link"></i></a> <h4 class="w-100">Portfolio Title</h4> </div> </div> </div> <!--Item 3--> <div class="cbp-item design digital graphics"> <img src="images/gallery-11.jpg" alt=""> <div class="gallery-hvr whitecolor"> <div class="center-box"> <a href="images/gallery-11.jpg" class="opens" data-fancybox="gallery" title="Zoom In"> <i class="fa fa-search-plus"></i></a> <a href="gallery-detail.html" class="opens" title="View Details"> <i class="fas fa-link"></i></a> <h4 class="w-100">Portfolio Title</h4> </div> </div> </div> <!--Item 4--> <div class="cbp-item brand graphics"> <img src="images/gallery-2.jpg" alt=""> <div class="gallery-hvr whitecolor"> <div class="center-box"> <a href="images/gallery-2.jpg" class="opens" data-fancybox="gallery" title="Zoom In"> <i class="fa fa-search-plus"></i></a> <a href="gallery-detail.html" class="opens" title="View Details"> <i class="fas fa-link"></i></a> <h4 class="w-100">Portfolio Title</h4> </div> </div> </div> </div> <div class="col-lg-12"> <!--Load more itema from another html file using ajax--> <div id="js-loadMore-mosaic" class="cbp-l-loadMore-button "> <a href="load-more.html" class="cbp-l-loadMore-link button py-1 button gradient-btn whitecolor transition-3" rel="nofollow"> <span class="cbp-l-loadMore-defaultText">LOAD MORE (<span class="cbp-l-loadMore-loadItems">13</span>)</span> <span class="cbp-l-loadMore-loadingText">LOADING <i class="fas fa-spinner fa-spin"></i></span> <span class="cbp-l-loadMore-noMoreLoading d-none">NO MORE WORKS</span> </a> </div> </div> </div> </div> </div> </section> <!-- Work ends -->
Setting up Portfolio Scripts:
<script >
it will be found in script.js
/* ===================================
Cube Portfolio
====================================== */
/* Portfolio */
$("#grid-mosaic").cubeportfolio({
filters: "#mosaic-filter",
layoutMode: 'grid',
defaultFilter: "*",
animationType: "quicksand",
gapHorizontal: 0,
gapVertical: 0,
gridAdjustment: 'responsive',
mediaQueries: [{
width: 1500,
cols: 3,
}, {
width: 1100,
cols: 3,
}, {
width: 767,
cols: 2,
}, {
width: 480,
cols: 1,
}],
plugins: {
loadMore: {
element: '#js-loadMore-mosaic',
action: 'click',
loadItems: 4,
}
},
});
</script>
Introduction
Trax boasts of a huge number of handy Shortcodes which are quite powerful, flexible, functional & easy to use. Setting up shortcodes is very easy & Self Explanatory. Here is the List of Shortcodes included with Bistro:
AnimationsButtonsCarouselsClientsColumnsDividersIcon BoxesGalleriesHeading StylesIcon ListsLightboxsLists & PanelsMedia EmbedsNavigationsPaginationsPricing BoxesResponsiveSectionsSocial IconsAlert BoxesStyled IconsTablesTabsTestimonialsThumbnailsToggles
Each of the above mentioned Shortcodes are easily extendable, flexible & easy to use. You can find the sample codes in their respective files. We are explaining a few of them for your Reference.
Animations
Scroll to reveal Animations are latest in the Trends. You can do them too with Bistro. You can use animations on any element you want. Here is the Sample Code:
<div class="wow fadeInDown" ></div>
You can also use delays for your Animations:
<div data-wow-duration="500ms" data-wow-delay="300ms"></div>
Note: Delay Duration is in milliseconds.
Here is the list of the Animation Types you can use:
bounceflashpulserubberBandshakeswingtadawobblebounceInbounceInDownbounceInLeftbounceInRightbounceInUpbounceOutbounceOutDownbounceOutLeftbounceOutRightbounceOutUpfadeInfadeInDownfadeInDownBigfadeInLeftfadeInLeftBigfadeInRightfadeInRightBigfadeInUpfadeInUpBigfadeOutfadeOutDownfadeOutDownBigfadeOutLeftfadeOutLeftBigfadeOutRightfadeOutRightBigfadeOutUpfadeOutUpBigflipflipInXflipInYflipOutXflipOutYlightSpeedInlightSpeedOutrotateInrotateInDownLeftrotateInDownRightrotateInUpLeftrotateInUpRightrotateOutrotateOutDownLeftrotateOutDownRightrotateOutUpLeftrotateOutUpRighthingerollInrollOutzoomInzoomInDownzoomInLeftzoomInRightzoomInUpzoomOutzoomOutDownzoomOutLeftzoomOutRightzoomOutUp
Widgets
Widgets are simple & easy to setup, completely flexible & can be used anywhere on a page. All possible widgets are placed in side panels:
jQuery
CSS & Fonts
- Bootstrap 4
- Animation
- Themify Icons (Font Icons)
- FontAwesome Icons (Font Icons)
- Swiper
- Cube Portfolio
- Google Fonts
- Montserrat
- Open Sans
