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
Awaza 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 rel="icon" href="images/favicon.png" sizes="16x16">
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="logo" href="javascript:void(0)"> <img src="images/logo-black.png" alt="logo" title="Logo"></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:100,200,300,400,500,600,700,800,900');
@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, Awaza 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,
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>
<div class="col-lg-4 col-md-5">
<div class="text-left">
<!-- Search Box -->
<div class="widget heading-space">
<form class="search-box">
<div class="input-group">
<input type="search" class="form-control" placeholder="search..." required>
<button type="submit" class="search-addon"> <i class="ti ti-search line-height-25px"></i> </button>
</div>
</form>
</div>
<!-- Recent Post -->
<div class="widget heading-space">
<h5 class="color-black font-weight-600 text-capitalize mb-4">Recent Posts</h5>
<div class="single-post mb-3">
<a href="javascript:void(0)" class="post"><img src="images/post1.png" alt="image"></a>
<div class="text">
<a href="javascript:void(0)" class="color-grey">Cooperative Society Management</a>
<span>July 15,2018</span>
</div>
</div>
<div class="single-post mb-3">
<a href="javascript:void(0)" class="post"><img src="images/post2.png" alt="image"></a>
<div class="text">
<a href="javascript:void(0)" class="color-grey">Board of Directors Conference</a>
<span>November 09,2018</span>
</div>
</div>
</div>
<!-- Categories -->
<div class="widget heading-space">
<h5 class="color-black font-weight-600 text-capitalize">Categories</h5>
<div>
<div class="categories-name">
<a href="javascript:void(0)">
<p class="font-16 color-grey text-capitalize">Business <span>198</span> </p>
</a>
</div>
<div class="categories-name">
<a href="javascript:void(0)">
<p class="font-16 color-grey text-capitalize">Corporate <span>119</span> </p>
</a>
</div>
<div class="categories-name">
<a href="javascript:void(0)">
<p class="font-16 color-grey text-capitalize">Creative <span>132</span> </p>
</a>
</div>
<div class="categories-name">
<a href="javascript:void(0)">
<p class="font-16 color-grey text-capitalize">Finance <span>37</span> </p>
</a>
</div>
<div class="categories-name mb-2">
<a href="javascript:void(0)">
<p class="font-16 color-grey text-capitalize">Marketing <span>30</span> </p>
</a>
</div>
</div>
</div>
<!-- Tags -->
<div class="widget heading-space">
<h5 class="color-black font-weight-600 mb-4 text-capitalize">Top tags</h5>
<div>
<ul class="tags">
<li>
<p class="font-13 text-capitalize">Business</p>
</li>
<li>
<p class="font-13 text-capitalize">Corporate</p>
</li>
<li>
<p class="font-13">SEO</p>
</li>
<li>
<p class="font-13 text-capitalize">Creative</p>
</li>
<li>
<p class="font-13 text-capitalize">Finance</p>
</li>
<li>
<p class="font-13 text-capitalize">Marketing</p>
</li>
<li>
<p class="font-13 text-capitalize">Envato</p>
</li>
<li>
<p class="font-13 text-capitalize">Theme Development</p>
</li>
</ul>
</div>
</div>
</div>
</div>
</aside>
Note: Make sure that you add the Side Panel's Code just after the #blog Starts.
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-7rem- padding of 7rem on the top and bottom of elements..pt-7rem- padding of 7rem on top of sections..pb-7rem- padding of 7rem on the bottom of elements..p-half- padding of 3.75rem on the top and bottom of elements..pt-half- padding of 3.75rem on top of elements..pb-half- padding of 3.75rem on bottom of elements..p-0- for 0 padding or remove the padding.mt-7rem- margin of 7rem on the top of sections.mb-7rem- margin of 7rem on the bottom of sections.mt-10px- margin of 10px for top..mb-10px- margin of 10px for bottom..mt-20px- margin of 20px for top..mb-20px- margin of 20px for bottom..mt-25px- margin of 25px for top..mb-25px- margin of 25px for bottom..mt-30px- margin of 30px for top..mb-30px- margin of 30px for bottom..mt-35px- margin of 35px for top..mb-35px- margin of 35px for bottom..mt-40px- margin of 40px for top..mb-40px- margin of 40px for bottom..mb-50px- margin of 50px for top..mb-50px- margin of 50px for bottom..m-0- for 0 margin or remove the margin.hr-line- creating the border for headings in the sections..bg-pink- pink background in website..bg-yellow- yellow background in website..bg-black- black background in website..bg-light-gray- light grey background in website..color-pink-pink color fot text used in website..color-yellow-yellow color fot text used in website..color-white-white color fot text used in website..color-black-black color fot text used in website..color-grey-grey color fot text used in website..color-light-grey- light grey color fot text used in website..btn-setting- default button used in website..overlay- to create overlay effects.
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="blog" class="pb-0"> <div class="blog-vertical bg-light-gray"> <h2 class="d-none">heading</h2> <div class="container-fluid"> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-12 p-0 carousel-img"> <div class="item"> <div class="image hover-effect"> <img alt="stats" src="images/split-blog1.jpg" class="video-img-setting"> </div> </div> </div> <div class="col-lg-6 col-md-6 col-sm-12 p-0"> <div class="carousel-content"> <div class="item blog-content-setting"> <div class="text-center mx-auto container-padding"> <div class="pr-3 pl-3 text-xs-center w-100"> <h5 class="font-secondary font-weight-light color-pink mb-5 mb-xxs-3">December 21, 2018</h5> <h2 class="color-black font-weight-500 text-capitalize"> a creative design agency</h2> <h2 class="color-black font-weight-500 text-capitalize mb-5 mb-xxs-3"> in east london.</h2> <p class="color-black heading-para-setting line-height-25px mb-5 mb-xxs-3"> Curabitur mollis bibendum luctus. Duis suscipit vitae dui sed suscipit. Vestibulum auctor nunc vitae diam eleifend, in maximus metus sollicitudin. </p> <a href="blog.html" class="btn-setting btn-hvr-setting-main btn-pink">Read Full Blog <span class="btn-hvr-setting btn-hvr-grey"> <span class="btn-hvr-setting-inner"> <span class="btn-hvr-effect"></span> <span class="btn-hvr-effect"></span> <span class="btn-hvr-effect"></span> <span class="btn-hvr-effect"></span> </span> </span> </a> </div> </div> </div> <!-- another slide will here and so on.....--> </div> </div> </div> </div> </div> </section>
to initialize blog slider follow this JQuery code, you can fint it in script.js file
Setting up Blog Slider setup
/* Blog */
$('.carousel-content').slick({
slidesToShow: 1,
slidesToScroll: 1,
asNavFor: '.carousel-img',
dots: false,
infinite: true,
verticalReverse: true,
verticalSwiping: true,
useTransform: true,
useCSS: false,
responsive: [
{
breakpoint: 768,
settings: {
touchMove: true,
verticalReverse: false,
verticalSwiping: false,
swipe: true,
useTransform: false,
useCSS: false,
}
}
]
});
$('.carousel-img').slick({
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
asNavFor: '.carousel-content',
dots: false,
infinite: true,
verticalReverse: true,
verticalSwiping: true,
useTransform: false,
useCSS: true,
responsive: [
{
breakpoint: 768,
settings: {
verticalReverse: false,
verticalSwiping: false,
swipe: true,
useTransform: false,
useCSS: false,
}
}
]
});
Post Types
You can use different types of Post Types:
- Image
- Sliders
Portfolio Setup
Awaza 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="work" class="bg-light-gray pb-0"> <div class="container-fluid"> <div class="row m-0"> <div class="text-center w-100 mb-2rem"> <h5 class="font-secondary font-weight-600 color-pink mb-2rem"> Some of the best work </h5> <h2 class="color-black font-weight-500 text-capitalize mb-2rem"> creative portfolio</h2> <p class="color-grey heading-para-setting line-height-25px"> Curabitur mollis bibendum luctus. Duis suscipit vitae dui sed suscipit. Vestibulum auctor nunc vitae diam eleifend, in maximus metus sollicitudin. Quisque vitae sodales lectus. Nam porttitor justo sed mi finibus, vel tristique risus faucibus. </p> </div> </div> <div class="row d-block"> <div id="js-filters-mosaic-flat" class="cbp-l-filters-alignCenter"> <div data-filter="*" class="cbp-filter-item-active cbp-filter-item cbp-filter-style"> All <div class="cbp-filter-counter"></div> </div> <div data-filter=".graphic-designs" class="cbp-filter-item cbp-filter-style"> Graphic Designs <div class="cbp-filter-counter"></div> </div> <div data-filter=".web-designs" class="cbp-filter-item cbp-filter-style"> Web Designs <div class="cbp-filter-counter"></div> </div> <div data-filter=".seo" class="cbp-filter-item cbp-filter-style"> SEO <div class="cbp-filter-counter"></div> </div> <div data-filter=".marketing" class="cbp-filter-item"> Marketing <div class="cbp-filter-counter"></div> </div> </div> <div id="js-grid-mosaic-flat" class="cbp cbp-l-grid-mosaic-flat no-transition"> <div class="cbp-item web-designs marketing"> <a href="images/work1.jpg" class="cbp-caption cbp-lightbox" data-title="Bolt UI<br>by Tiberiu Neamu"> <div class="cbp-caption-defaultWrap"> <img src="images/work1.jpg" alt="work"> </div> <div class="cbp-caption-activeWrap"> <div class="cbp-l-caption-alignCenter"> <div class="cbp-l-caption-body"> <p>Elegant | Images</p> <div class="cbp-l-caption-title">We are digital agency</div> <span class="work-icon"> <i class="ti ti-arrow-right"></i> </span> </div> </div> </div> </a> </div> <div class="cbp-item graphic-designs seo"> <a href="images/work2.jpg" class="cbp-caption cbp-lightbox" data-title="World Clock<br>by Paul Flavius Nechita"> <div class="cbp-caption-defaultWrap"> <img src="images/work2.jpg" alt="work"> </div> <div class="cbp-caption-activeWrap"> <div class="cbp-l-caption-alignCenter"> <div class="cbp-l-caption-body"> <p>Elegant | Images</p> <div class="cbp-l-caption-title">Creative art work</div> <span class="work-icon"> <i class="ti ti-arrow-right"></i> </span> </div> </div> </div> </a> </div> <div class="cbp-item graphic-designs web-designs"> <a href="images/work3.jpg" class="cbp-caption cbp-lightbox" data-title="WhereTO App<br>by Tiberiu Neamu"> <div class="cbp-caption-defaultWrap"> <img src="images/work3.jpg" alt="work"> </div> <div class="cbp-caption-activeWrap"> <div class="cbp-l-caption-alignCenter"> <div class="cbp-l-caption-body"> <p>Elegant | Images</p> <div class="cbp-l-caption-title">Modern portfolio</div> <span class="work-icon"> <i class="ti ti-arrow-right"></i> </span> </div> </div> </div> </a> </div> <div class="cbp-item seo marketing"> <a href="images/work6.jpg" class="cbp-caption cbp-lightbox" data-title="Remind~Me Widget<br>by Tiberiu Neamu"> <div class="cbp-caption-defaultWrap"> <img src="images/work6.jpg" alt="work"> </div> <div class="cbp-caption-activeWrap"> <div class="cbp-l-caption-alignCenter"> <div class="cbp-l-caption-body"> <p>Elegant | Images</p> <div class="cbp-l-caption-title">Digital art works</div> <span class="work-icon"> <i class="ti ti-arrow-right"></i> </span> </div> </div> </div> </a> </div> <div class="cbp-item web-designs seo"> <a href="images/work4.jpg" class="cbp-caption cbp-lightbox" data-title="Seemple* Music<br>by Tiberiu Neamu"> <div class="cbp-caption-defaultWrap"> <img src="images/work4.jpg" alt="work"> </div> <div class="cbp-caption-activeWrap"> <div class="cbp-l-caption-alignCenter"> <div class="cbp-l-caption-body"> <p>Elegant | Images</p> <div class="cbp-l-caption-title">Photography</div> <span class="work-icon"> <i class="ti ti-arrow-right"></i> </span> </div> </div> </div> </a> </div> <div class="cbp-item web-designs marketing"> <a href="images/work5.jpg" class="cbp-caption cbp-lightbox" data-title="iDevices<br>by Tiberiu Neamu"> <div class="cbp-caption-defaultWrap"> <img src="images/work5.jpg" alt="work"> </div> <div class="cbp-caption-activeWrap"> <div class="cbp-l-caption-alignCenter"> <div class="cbp-l-caption-body"> <p>Elegant | Images</p> <div class="cbp-l-caption-title">Modern workspace</div> <span class="work-icon"> <i class="ti ti-arrow-right"></i> </span> </div> </div> </div> </a> </div> </div> </div> </div> </section> <!-- Work ends -->
Setting up Portfolio Scripts:
<script > it will be found in script.js /* =================================== Cube Portfolio ====================================== */ (function ($, window, document, undefined) { // init cubeportfolio $('#js-grid-mosaic-flat').cubeportfolio({ filters: '#js-filters-mosaic-flat', layoutMode: 'mosaic', defaultFilter: '*', animationType: 'scaleSides', gapHorizontal: -1, gapVertical: -1, gridAdjustment: 'responsive', caption: 'zoom', displayType: 'fadeIn', displayTypeSpeed: 100, sortByDimension: true, mediaQueries: [{ width: 1500, cols: 4 },{ width: 1100, cols: 4 }, { width: 768, cols: 2 }, { width: 480, cols: 1 }, { width: 320, cols: 1 }], // lightbox lightboxDelegate: '.cbp-lightbox', lightboxGallery: true, lightboxTitleSrc: 'data-title', lightboxCounter: '{{current}} of {{total}}', plugins: { loadMore: { element: '#js-loadMore-mosaic-flat', action: 'click', loadItems: 3, } }, }) </script>
Introduction
Awaza 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
Icons
Themify IconsWidgets
Widgets are simple & easy to setup, completely flexible & can be used anywhere on a page. All possible widgets are placed in side panels:
Images
- The Stocks
- Unsplash
- RaumRot
- Picjumbo
- Stockphotos.io
- Imcreator FREE
- Flickr CC-Search
- Mazwai (Stock Footage)
CSS & Fonts
- Bootstrap 4
- Animation
- Themify Icons (Font Icons)
- Swiper
- Cube Portfolio
- Google Fonts
- Montserrat
- Open Sans
