# Installation

Follow the steps below to get started with your Site Template:

1. Extract the downloaded zip file and open the `main-file/bootstrap-4` or `main-file/bootstrap-5` folders to find all the template files
2. You will need to Upload these files to your Web Server using FTP in order to use it on your Website.
3. Make sure you upload the required files/folders listed below:
   - `main-file/bootstrap-5/css` - Extra Stylesheets Folder plus Main Stylesheet File
   - `main-file/bootstrap-5/images` - Images folder
   - `main-file/bootstrap-5/js` - Javacripts folder
   - `main-file/bootstrap-5/index.html` - Index file / Home page
   The other files can be used according to your preferences.
4. You're now good to go..! Start adding your Content and show off your Brand New Beautiful Website in style.

# HTML Structure

Wexim 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 navbar-top-default navbar-expand-lg navbar-gradient nav-icon">
        ...
      </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="favicon.png" type="image/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` ID just after the `<body>` Tag.

# Logo Settings

The Logo Container can be found in the Header - `nav` tag

    <div class="col-md-2 col-xs-5">
       <a href="#home" title="Logo" class="logo scroll"><img src="img/logo-green-black.png" class="logo-dark" alt="Wexim"/><img src="img/logo-blue-white.png" alt="Wexim" class="logo-light default"/></a>
    </div>

# 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 `head` tag of all the `.html` files.

    <@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');>

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 complete if you plan to use a Self Hosted font. Here is an Example for using Self Hosted Fonts.

By default, Wexim uses Two Font namely: `Open Sanas and Raleway` 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 `.htaccess` File 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 of `1200px` x `800px` in a Content Size of `300px` x `200px` as this is unnecessary. Resize it to `300px` x `200px`
  - 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.

- #### 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 `.navbar-sticky` from the `nav` tag. You can also choose the transparent header by using `navbar navbar-default bootsnav navbar-fixed-top header-light bg-transparent nav-box-width white-link on no-full` Class on `nav` tag, Simply follow the structure below to create the header:

    <header">
    	...
    </header>

    <header class="header-with-topbar">
    	...
    </header>

## Menu Styles

Default Menu Style which aligns to the right, You can use the Menu just as

    <nav class="navbar navbar-default bootsnav navbar-fixed-top header-light bg-transparent nav-box-width white-link on no-full">
    	...
    </nav>

      <!for header with top bar:>
            <nav class="navbar navbar-default bootsnav navbar-top header-light-transparent bg-transparent nav-box-width">
    	...
    </nav>
     <!-- for Transparent style -->
    <nav class="navbar navbar-default bootsnav navbar-top header-light-transparent bg-transparent nav-box-width">
    	...
    </nav>

# Page Titles

Default Page Title style with Text aligned Left.

    <section id="page_header" class="page-header">
        <div class="container">
        -------------------
        </div>
    </section>

# Columns & Grid

### Bootstrap Grid

.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-3
.col-md-3
.col-md-3
.col-md-3
.col-md-4
.col-md-4
.col-md-4
.col-md-5
.col-md-5
.col-md-2
.col-md-6
.col-md-6
.col-md-1
.col-md-11
.col-md-2
.col-md-10
.col-md-3
.col-md-9
.col-md-4
.col-md-8
.col-md-5
.col-md-7

# Helper Classes

We have created some really useful helper classes for you. Here are a few of them:

- `.pt-1` - pagdding of 1rem on top
- `.pb-1` - padding of 1rem on bottom
- `.pl` - padding of 1rem on left
- `.pr` - padding of 1rem on right
- `.mt-1` - margin of 1rem on top
- `.mb-1` - margin of 1rem on bottom
- `.ml` - margin of 1rem on left
- `.mr` - margin of 1rem on right
- `.exo-font` - for font-family: font-family: 'Exo', sans-serif;.
- `.text-white` - color white of text.
- `.text-black` - color black of text.
- `.bg-white` - for white background.
- `.bg-black` - for black background.
- `.bg-light` - for yellow background.
- `.btn .btn-large .btn-white` - style of white button.
- `.btn .btn-medium .btn-gray` - style of black button.
- `.btn .btn-small .btn-transparent-white` - transparent white button.

# Slider Types & their Options

Wexim 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

# Introduction

Wexim 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 Wexim:

Wexim 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 Wexim:

- `Animations`
- `Buttons`
- `Carousels`
- `Clients`
- `Columns`
- `Dividers`
- `Icon Boxes`
- `Galleries`
- `Heading Styles`
- `Icon Lists`
- `Lightboxs`
- `Lists & Panels`
- `Media Embeds`
- `Navigations`
- `Paginations`
- `Pricing Boxes`
- `Responsive`
- `Sections`
- `Social Icons`
- `Alert Boxes`
- `Styled Icons`
- `Tables`
- `Tabs`
- `Testimonials`
- `Thumbnails`
- `Toggles`

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 Wexim. 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:

- `bounce`
- `flash`
- `pulse`
- `rubberBand`
- `shake`
- `swing`
- `tada`
- `wobble`
- `bounceIn`
- `bounceInDown`
- `bounceInLeft`
- `bounceInRight`
- `bounceInUp`
- `bounceOut`
- `bounceOutDown`
- `bounceOutLeft`
- `bounceOutRight`
- `bounceOutUp`
- `fadeIn`
- `fadeInDown`
- `fadeInDownBig`
- `fadeInLeft`
- `fadeInLeftBig`
- `fadeInRight`
- `fadeInRightBig`
- `fadeInUp`
- `fadeInUpBig`
- `fadeOut`
- `fadeOutDown`
- `fadeOutDownBig`
- `fadeOutLeft`
- `fadeOutLeftBig`
- `fadeOutRight`
- `fadeOutRightBig`
- `fadeOutUp`
- `fadeOutUpBig`
- `flip`
- `flipInX`
- `flipInY`
- `flipOutX`
- `flipOutY`
- `lightSpeedIn`
- `lightSpeedOut`
- `rotateIn`
- `rotateInDownLeft`
- `rotateInDownRight`
- `rotateInUpLeft`
- `rotateInUpRight`
- `rotateOut`
- `rotateOutDownLeft`
- `rotateOutDownRight`
- `rotateOutUpLeft`
- `rotateOutUpRight`
- `hinge`
- `rollIn`
- `rollOut`
- `zoomIn`
- `zoomInDown`
- `zoomInLeft`
- `zoomInRight`
- `zoomInUp`
- `zoomOut`
- `zoomOutDown`
- `zoomOutLeft`
- `zoomOutRight`
- `zoomOutUp`

# Icons

Font Awsome

## Goole Map

here we have used Google map in Maxo template by using the `#maxo-map` Id and a function that you can find in `map.js` file. its code is very simple and easy to use follow thi scode structure below:

    <div id="maxo-map"></div>

    <script type="text/javascript">
    jQuery(function ($) {
        "use strict";

        function initialize() {
             //add map, the type of map
            var mapOptions = {
                zoom: 15,
                draggable: true,
                scrollwheel: false,
                animation: google.maps.Animation.DROP,
                mapTypeId: google.maps.MapTypeId.ROADMAP,
                center: new google.maps.LatLng(-37.813628, 144.963058),  // area location
                styles: [{
                    "stylers": [{
                        "saturation": -100
                    }, {
                        "gamma": 1
                    }]
                }, {
                    "elementType": "labels.text.stroke",
                    "stylers": [{
                        "visibility": "off"
                    }]
                }, {
                    "featureType": "poi.business",
                    "elementType": "labels.text",
                    "stylers": [{
                        "visibility": "off"
                    }]
                }, {
                    "featureType": "poi.business",
                    "elementType": "labels.icon",
                    "stylers": [{
                        "visibility": "off"
                    }]
                }, {
                    "featureType": "poi.place_of_worship",
                    "elementType": "labels.text",
                    "stylers": [{
                        "visibility": "off"
                    }]
                }, {
                    "featureType": "poi.place_of_worship",
                    "elementType": "labels.icon",
                    "stylers": [{
                        "visibility": "off"
                    }]
                }, {
                    "featureType": "road",
                    "elementType": "geometry",
                    "stylers": [{
                        "visibility": "simplified"
                    }]
                }, {
                    "featureType": "water",
                    "stylers": [{
                        "visibility": "on"
                    }, {
                        "saturation": 50
                    }, {
                        "gamma": 0
                    }, {
                        "hue": "#82c1e1"
                    }]
                }, {
                    "featureType": "administrative.neighborhood",
                    "elementType": "labels.text.fill",
                    "stylers": [{
                        "color": "#c5c5c5"
                    }]
                }, {
                    "featureType": "road.local",
                    "elementType": "labels.text",
                    "stylers": [{
                        "weight": 0.9
                    }, {
                        "color": "#000"
                    }]
                }, {
                    "featureType": "transit.station",
                    "elementType": "labels.icon",
                    "stylers": [{
                        "gamma": 1
                    }, {
                        "saturation": 50
                    }]
                }]
            };
            var mapElement = document.getElementById('maxo-map');
            var map = new google.maps.Map(mapElement, mapOptions);

             //add locations
            var locations = [
                     [' <p"class="logomap">MAXO</p>', -37.813628, 144.963058, 'images/pin.png'],
                 ];
             //declare marker call it 'i'
            var marker, i;
            //declare infowindow
            var infowindow = new google.maps.InfoWindow();
             //add marker to each locations
            for (i = 0; i < locations.length; i++) {
                marker = new google.maps.Marker({
                    position: new google.maps.LatLng(locations[i][1], locations[i][2]),
                    animation: google.maps.Animation.BOUNCE,
                    map: map,
                    icon: locations[i][3]
                });
                 //click function to marker, pops up infowindow
                google.maps.event.addListener(marker, 'click', (function (marker, i) {
                    return function () {
                        infowindow.setContent(locations[i][0]);
                        infowindow.open(map, marker);
                    }
                })(marker, i));
            }
        }
        google.maps.event.addDomListener(window, 'load', initialize);
    });

    </script>

## Widgets

Widgets are simple & easy to setup, completely flexible & can be used anywhere on a page. All possible widgets are placed in side of page:

# Images

- The Stocks
- Unsplash
- RaumRot
- Picjumbo
- Stockphotos.io
- Imcreator FREE
- Flickr CC-Search
- Pixeles

# jQuery

- Revolution Slider
- Swiper
- owl-carousel
- Bootstrap
- Cube Portfolio

# CSS & Fonts

- Bootstrap
- Animation
- Font-Awesome (Font Icons)
- Swiper
- Google Fonts
- Raleway
- Open Sanas