# Theme Documentation

# Welcome Buyer

### Thanks for purchasing this theme

Firstly, a huge thanks for purchasing this theme, your support is truly appreciated!

This document covers the installation and use of this theme and often reveals answers to common problems and issues - read this document thoroughly if you are experiencing any difficulties. If you have any questions that are beyond the scope of this document, feel free to pose them via our facebook fanpage.

# File Structure

### A. Main File

This is Tumbas Theme's File Structure

- css
- fonts
- images
- js
- 404.html
- about.html
- blog-post.html
- cart.html
- checkout.html
- coming-soon.html
- contact.html
- full-width.html
- index.html
- index-business.html
- index-business-full-width-slider.html
- login.html
- pricing-tables.html
- product-detail.html
- services.html
- shop.html
- shortcodes.html

# Installing Template

After unzip the download pack, you'll found a Templates Folder which is named Tumbas_Theme with all the files inside.

You can view this Template in any browser, you can display or edit the Template without an internet connection.

Now open your FTP Client (like Filezilla) and upload the content of the Template on your server root.

Once the files are done uploading go to www.yourdomainname.com/index.html

# HTML Structure

This Template has a Responsive layout and is based on the Bootstrap 3 Framework. For more information about this visit Bootstrap Scaffolding.

The default Bootstrap grid system utilizes 12 columns, making for a 940px wide container without responsive features enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.

### A. Basic Grid

For a simple two column layout, create a .row and add the appropriate number of .col-md-* columns. As this is a 12-column grid, each .col-md-* spans a number of those 12 columns, and should always add up to 12 for each row (or the number of columns in the parent).

##### Example

Using a single set of `.col-md-*`grid classes, you can create a basic grid system that starts out stacked on mobile devices and tablet devices (the extra small to small range) before becoming horizontal on desktop (medium) devices. Place grid columns in any `.row`.

                                                .col-md-8
                                                .col-md-4

### B. Nesting columns

To nest your content with the default grid, add a new `.row`and set of `.col-md-*`columns within an existing `.col-md-*`column. Nested rows should include a set of columns that add up to 12.

                                                    Level 1: .col-md-9

                                                            Level 2: .col-md-6

                                                            Level 2: .col-md-6

# CSS Structure

These are the css files that are loaded into templates in Head Section.

If you want to change the style of this template. Make sure that you edit style.css located in :

- css
  - ...
  - style.css
- ...
- ...

# Credits

### Script

Script that we use on this template

- jQuery
- Bootstrap.js
- FitVids
- Countdown JS
- Count To JS
- Media Element JS
- Backstretch JS
- jQuery Waypoint
- Superslides
- Thumbnail Grid

### CSS

CSS plugin that we use on this template

- Zocial Icon
- FontAwesome
- Fontello
- Animate CSS

### Image

Images that we use on Demo. These images just for demo purpose only. Not include in files

- Picjumbo

# Color Scheme

This template include with 7 color scheme. You can add more color scheme to this template. If you want to change the color scheme just change the value below

change light-green.css to name of color scheme that you want.

These are list of our default color scheme :

- scheme
  - light-blue.css
  - light-red.css
  - light-green.css
  - yellow.css

# Plugin Features Setting

### Animated on View

We use jQuery waypoint and animate.css plugin for animating element when view. This is the basic rules when you want to animating element.

You can choose 'data-effect' based on animate.css animation effect

### Zocial Icon

We use Zocial Icon plugin for social icon button. For further information you can find on zocial's site

### Font Awesome

We use Font Awesome plugin for icon button. For further information you can find on FontAwesome's site

### Countdown JS

We use Countdown JS plugin for countdown timer. For further information you can find on Countdowns JS's Site

HTML
These are HTML section from Countdown JS

##

###

                                                    WELCOME
                                                    WE ARE COMING VERY SOON

JS
These are Javascript script to load Countdown JS

        //COUNT DOWN COMING SOON
        if (dp.fn.countdown) {
            var endDate = "December 31, 2014  15:03:25"; // <-- Change to your date launch.
            dp('.countdown.styled').countdown({
                date: endDate,
                render: function(data) {
                    dp(this.el).html("" + this.leadingZeros(data.days, 3) + " days" + this.leadingZeros(data.hours, 2) + " hrs" + this.leadingZeros(data.min, 2) + " min" + this.leadingZeros(data.sec, 2) + " sec");
                }
            });
        }

# Javascript Structure

These are the JS files that are loaded into templates in end of the Body Section.

This is the complete code for main.js, is responsible for all events in the Template. You can edit the following file according to your requirements.

    var dp = jQuery;
    //dp.noConflict();
    dp(document).ready(function() {
        //EXPANDING THUMBNAIL
        Grid.init();
        // Superslides fullscreen slider
        dp('#slides').superslides({
            animation: 'fade', // Choose between slide or fade
            play: 4000
        });
        dp('#slides_cs').superslides({
            animation: 'fade', // Choose between slide or fade
            play: 4000,
            pagination: false
        });
        //BACK TO TOP
        dp("#backtotop").backToTop();
        //PARALLAX
        dp('.bg-about').parallax("10%", 1);
        dp('.bg-skill').parallax("10%", 1);
        //VIDEO BACKGROUND
        var videobackground = new dp.backgroundVideo(dp('.bg-video'), {
            "align": "centerXY",
            "muted": "muted", // change value "muted" or "no"
            "width": 1280,
            "height": 720,
            "path": "video/",
            "filename": "steven",
            "types": ["mp4", "ogg", "webm"]
        });
        //TOOLTIP
        dp('a[data-toggle="tooltip"]').tooltip();
        //VIDEO INDEX
        var videobackground = new dp.backgroundVideo(dp('.home-video'), {
            "align": "centerXY",
            "muted": "muted", // change value "muted" or "no"
            "width": 1280,
            "height": 720,
            "path": "video/",
            "filename": "cloud",
            "types": ["mp4", "ogg", "webm"]
        });
        //NIVO LIGHTBOX
        dp('.popup').venobox();

        var sudoSlider = dp("#slider").sudoSlider({
            customLink: 'a.customLink',
            prevNext: false
        });

        //TESTIMONIAL SLIDER
        dp(".testimonial-slider").sudoSlider({
            customLink: '.testimonial-item > a',
            speed: 400,
            responsive: true,
            effect: "fadeOutIn",
            useCSS: true,
            continuous: true,
            prevNext: false,
            updateBefore: true
        });
        //ANIMATED OBJECT
        dp(".animatez").waypoint(function(direction) {
            var effect = dp(this).attr('data-effect');
            dp(this).removeClass('animatez');
            dp(this).addClass('animated ' + effect);
        }, {
            offset: '70%'
        });
        //ANIMATED SKILL BAR
        dp(".bar").waypoint(function(direction) {
            var value = dp(this).attr('data-value');
            dp(this).css({
                'width': value + '%'
            });
        }, {
            offset: '80%'
        });

        //COUNT UP ON SCREEN
        dp('.countTo').waypoint(function(direction) {
            dp('.countTo').countTo();
            dp('.countTo').removeClass('countTo');
            dp(this).removeClass('timer');
        }, {
            offset: "80%"
        });

        //SMOOTH SCROLL
        dp(".sscroll").smoothScroll();

        //FITVIDS
        dp(".responsive-video").fitVids();

        //BACKSTRETCH
        if(dp.fn.backstretch){
            var bg_image = dp(".home-image");
            var bg_image_src = bg_image.data("src");
            bg_image.backstretch(bg_image_src);
        }
        //COUNT DOWN COMING SOON
        if (dp.fn.countdown) {
            var endDate = "December 31, 2014  15:03:25"; // <-- Change to your date launch.
            dp('.countdown.styled').countdown({
                date: endDate,
                render: function(data) {
                    dp(this.el).html("" + this.leadingZeros(data.days, 3) + " days" + this.leadingZeros(data.hours, 2) + " hrs" + this.leadingZeros(data.min, 2) + " min" + this.leadingZeros(data.sec, 2) + " sec");
                }
            });
        }

        //HTML 5 Audio Player
        if (dp.fn.mediaelementplayer) {
            dp('audio , video').mediaelementplayer({
                loop: false,
                enableAutosize: false,
                features: ['playpause', 'progress', 'current', 'volume'],
                audioHeight: 40,
                alwaysShowHours: false

            });
        }

    });