Defia - All In One Marketing Landing Page

Dear customers, thank you for choosing our products. In this document, you will find an in-depth description of all the template's features and functionality.

If you have any questions not attended to by our template documentation, please contact us. If you like our template, please leave your feedback. Thanks :)

Template Version: 1.1
By: lucky_roo
Response time (up to): 1 business day.

Installation

Follow the steps below to setup your site template:

Please note that Defia is a simple HTML template and not a Wordpress theme/plugin.

  1. Log into your hosting space via an FTP software (Filezilla for example).
  2. Unzip the downloaded package and open the /html folder to find all the template files.
  3. Below is the folder structure and needs to be uploaded to your website root directory:
    • html/contact – Contact form PHP files
    • html/css - Stylesheets folder
    • html/images - Images folder
    • html/img - Images folder
    • html/js - Javacripts folder
    • html/webfonts – Icon fonts (Font Awesome) folder
  4. Upload the HTML files corresponding to the variant of your choice along with all directories in the structure that they appear in your download package. Then, the HTML file should reside in the root directory, and all other files should reside inside their associated folder. You should upload all or specific HTML files as per your need.

Tips Do not start from scratch, use an existing page from the demo and modify it to learn how it works.

HTML Structure

Defia follows a simple and easy to customize coding structure. Here is the sample for your reference:

<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Defia - All In One Marketing Landing Page</title>
        <meta name="description" content=""/>
        <meta name="keywords" content=""/>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

        <!-- Bootstrap CSS -->
        <link rel="stylesheet" href="css/bootstrap.min.css">

        <!-- Font Awesome CSS -->
        <link rel="stylesheet" href="css/fontawesome-all.min.css">

        <!-- Include all css plugins (below), or include individual files as needed -->

        <!-- Theme CSS -->
        <link rel="stylesheet" href="css/theme.css">
        <link rel="stylesheet" href="css/styles.css">
    </head>

    <body id="page-top" data-preloader-color="bg-secondary">

    <!-- Header Start -->
    <header class="fixed-top">
        ...
    </header>
    <!-- //Header End -->

    
    <!-- Main Start -->
    <div class="main h-100 p-0">

        <!-- Section - Hero Start -->
        <section id="hero" class="bg-img-cover bg-overlay-7 h-100">
        ...    
        </section>
        <!-- //Section - Hero End -->

        <!-- Modal - Video Start -->
        <div id="modal-video" class="modal fade" tabindex="-1" role="dialog">
        ...    
        </div>
        <!-- //Modal - Video End -->

        <!-- Section - Intro Start -->
        <section id="intro">
        ...    
        </section>
        <!-- //Section - Intro End -->

        <!-- Section - Overview Start -->
        <section id="overview" class="bg-img-cover bg-overlay-7">
        ...    
        </section>
        <!-- //Section - Overview End -->

        <!-- Section - Benefits Start -->
        <section id="benefits">
        ...    
        </section>
        <!-- //Section - Benefits End -->

        <!-- Section - How It Works Start -->
        <section id="how-it-works" class="border-top">
        ...    
        </section>
        <!-- //Section - How It Works End -->

        <!-- Milestones Start -->
        <div id="milestones" class="bg-img-cover bg-overlay-7 section">
        ...    
        </div>
        <!-- //Milestones End -->

        <!-- Section - Team Start -->
        <section id="team">
        ...    
        </section>
        <!-- //Section - Team End -->

        <!-- Section - Testimonial Start -->
        <section id="testimonial" class="border-top">
        ...    
        </section>
        <!-- //Section - Testimonial End -->

        <!-- Section - Pricing Start -->
        <section id="pricing" class="bg-img-cover bg-overlay-7">
        ...    
        </section>
        <!-- //Section - Pricing End -->

        <!-- Section - FAQ Start -->
        <section id="faq">
        ...    
        </section>
        <!-- //Section - FAQ End -->

        <!-- Section - Contact Start -->
        <section id="contact" class="border-top">
        ...    
        </section>
        <!-- //Section - Contact End -->

        <!-- Section - Footer CTA Start -->
        <section id="footer-cta" class="bg-img-cover bg-overlay-7">
        ...    
        </section>
        <!-- //Section - Footer CTA End -->

        <!-- Footer Start -->
        <footer class="py-5">
        ...    
        </footer>
        <!-- //Footer End -->

    </div>
    <!-- //Main End -->


    <!-- Scroll to top -->
    <a href="#page-top" class="page-scroll scroll-to-top shadow">
        <i class="fas fa-chevron-up"></i>
    </a>

    <!-- jQuery & Bootstrap JS -->
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.bundle.min.js"></script>

    <!-- Include all js plugins (below) -->
    <script src="js/plugins.js"></script>

    <!-- Theme JS -->
    <script src="js/theme.js"></script>
    
    </body>
</html>

Logo Settings

The Logo Container can be found in the header.

<!-- Header Start -->
<header class="fixed-top">
    <div class="container h-100">
        <div class="row align-items-center h-100 no-gutters">
            <div class="col-12">
                <nav id="navigation" class="navbar navbar-expand-xl p-0">
                    <div class="navbar-header align-items-center d-flex">
                        <a href="#page-top" class="navbar-brand m-0 page-scroll">
                            <img src="img/logo-text-dark.png" alt="" class="logo-text-dark"/>
                            <img src="img/logo-text-light.png" alt="" class="logo-text-light"/>
                        </a>
                    </div>
                    <!-- //.navbar-header -->
                </nav>
            </div>
            <!-- //.col-12 -->
        </div>
        <!-- //.row -->
    </div>
    <!-- //.container -->
</header>
<!-- //Header End -->
                                        

Note The Logo Image's maximum height can be 60px.

Icons

We use excellent Font Awesome service. Font Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS.

Basic Use

In the <head> of your html, reference the location to your font icons style css.

<!-- Font Awesome CSS -->
<link rel="stylesheet" href="css/fontawesome-all.min.css">

You can place Font Awesome icons just about anywhere using a CSS style prefix and the icon’s name. Font Awesome is designed to be used with inline elements (we like the <i> tag for brevity).

<i class="fas fa-camera-retro"><i>

Styles & Prefixes

Font Awesome 5 icons can be any of 4 different styles, each with its own prefix. The fa prefix has been deprecated in version 5. The new default is the fas solid style and the fab style for brands.


Style Style Prefix Code
Solid fas <i class="fas fa-camera-retro">
Regular far PRO <i class="far fa-camera-retro">
Light fal PRO <i class="fal fa-camera-retro">
Brands fab <i class="fab fa-facebook">
Check The CheatSheet

Background - Static

  1. HTML:

    <!-- Section - Hero Start -->
    <section id="hero" class="bg-img-cover bg-overlay-7 h-100">
    ...    
    </section>
    <!-- //Section - Hero End -->
    
  2. CSS: (css/styles.css)

    /*
    * Section - Hero
    */
    
    #hero {
      background-image: url("../images/bg-hero.jpg");
    }
    

Note You can find this demo in cta-modal-video-youtube.html page.

Background - Parallax

  1. HTML:

    <!-- Section - Hero Start -->
    <section id="hero-bg-parallax" class="bg-img-parallax">
        <!-- BG Parallax -->
        <div class="bg-parallax bg-overlay-7"></div>
        ...
    </section>
    <!-- //Section - Hero End -->
    
  2. CSS: (css/styles.css)

    #hero-bg-parallax > .bg-parallax {
      background-image: url("../images/bg-hero-parallax.jpg");
    }
    

Note You can find this demo in hero-bg-parallax.html page.

Background - Slideshow

  1. HTML:

    <!-- Section - Hero Start -->
    <section id="hero-bg-slideshow" class="bg-slideshow h-100 overflow-hidden p-0 w-100">
        <div class="flexslider h-100 position-relative w-100">
            <div class="slides h-100 w-100">
                <div class="bg-img-cover bg-overlay-7 d-block h-100 w-100">
                ...
                </div>
                <!-- //.bg-img-cover -->
                
                <div class="bg-img-cover bg-overlay-7 d-block h-100 w-100">
                ...
                </div>
                <!-- //.bg-img-cover -->
    
                <div class="bg-img-cover bg-overlay-7 d-block h-100 w-100">
                ...
                </div>
                <!-- //.bg-img-cover -->
            </div>
            <!-- //.slides -->
        </div>
        <!-- //.flexslider -->
    </section>
    <!-- //Section - Hero End -->
    
  2. CSS: (css/styles.css)

    /*
    * Section - Hero
    */
    
    #hero-bg-slideshow .slides > .bg-img-cover:nth-child(1) {
      background-image: url("../images/bg-hero-slideshow-1.jpg");
    }
    #hero-bg-slideshow .slides > .bg-img-cover:nth-child(2) {
      background-image: url("../images/bg-hero-slideshow-2.jpg");
    }
    #hero-bg-slideshow .slides > .bg-img-cover:nth-child(3) {
      background-image: url("../images/bg-hero-slideshow-3.jpg");
    }
    

Note You can find this demo in hero-bg-slideshow.html page.

Background - Video (Vimeo)

Important Notice!
  • The plug in works only if used under a web server. It doesn't work if you run the HTML page as file (file://...).
  • If you want to run it locally on your computer you need a web server installed (for ex: MAMP for Mac, XAMPP for Windows, LAMP for linux) and reach the file from http://localhost... or whatever you mapped in the Host file as localhost.
  1. Include files:

    <!-- JS -->
    <script src="js/jquery.mb.vimeo_player.min.js"></script>
    
  2. HTML:

    <!-- Section - Hero Start -->
    <section id="hero-bg-vimeo" data-property="{videoURL:'https://vimeo.com/176916362'}" class="bg-overlay-7 bg-video bg-vimeo h-100 w-100">
    ...
    </section>
    <!-- //Section - Hero End -->
    

Note You can find this demo in hero-bg-video-vimeo.html page.


Background - Video (YouTube)

Important Notice!
  • The plug in works only if used under a web server. It doesn't work if you run the HTML page as file (file://...).
  • If you want to run it locally on your computer you need a web server installed (for ex: MAMP for Mac, XAMPP for Windows, LAMP for linux) and reach the file from http://localhost... or whatever you mapped in the Host file as localhost.
  1. Include files:

    <!-- JS -->
    <script src="assets/js/jquery.mb.YTPlayer.min.js"></script>
    
  2. HTML:

    <!-- Section - Hero Start -->
    <section id="hero-bg-youtube" class="bg-overlay-7 bg-video bg-youtube h-100 w-100">
        <!-- BG Video - YouTube -->
        <div class="h-100 player w-100" data-property="{videoURL:'https://www.youtube.com/watch?v=mRvqcvqB4EI'}"></div>
    
        ...
    </section>
    <!-- //Section - Hero End -->
    

Note You can find this demo in hero-bg-video-youtube.html page.

Background - Opacity

<!-- Section - Hero Start -->
<section id="hero" class="bg-img-cover bg-overlay-7 h-100">
...
</section>
<!-- //Section - Hero End -->

Helper Classes:

  • .bg-overlay-9 - For opacity level of 0.9
  • .bg-overlay-8 - For opacity level of 0.8
  • .bg-overlay-7 - For opacity level of 0.7
  • .bg-overlay-6 - For opacity level of 0.6
  • .bg-overlay-5 - For opacity level of 0.5
  • .bg-overlay-4 - For opacity level of 0.4
  • .bg-overlay-3 - For opacity level of 0.3
  • .bg-overlay-2 - For opacity level of 0.2
  • .bg-overlay-1 - For opacity level of 0.1