documentation

LeafLine

Thank you so much for purchasing our item from templatemonster.

Installation

Follow the steps below to setup your site template:

  1. Unzip the downloaded package and open the /HTML folder to find all the template files. You will need to upload these files to your hosting web server using FTP or localhost in order to use it on your website.
  2. Below is the folder structure and needs to be uploaded to your website or localhost root directory:
    • HTML/assets - Contains all of the assets referenced
      • HTML/assets/css - Stylesheet files
      • HTML/assets/images - Images
      • HTML/assets/js - Javacript files
      • HTML/assets/php - Php files
      • HTML/assets/vendors – All external libs.
    • HTML/pages - Contains all of the assets referenced
      • HTML/pages/About - About html files
      • HTML/pages/Pages - Other pages html files
      • HTML/pages/Service - Service html files
      • HTML/pages/Project - Project html files
      • HTML/pages/Blog - Blog html files
      • HTML/pages/Shop - Shop html file
      • HTML/pages/Contact – Contact html file
    • HTML/index.html - Homepage
  3. You should upload all or specific HTML files as per your need.
  4. You are good to go for adding your content now!

HTML structure

  1. This template includes the following HTML files:
    • HTML/index.html - Homepage HTML file
    • HTML/pages - Contains all the HTML pages:
      1. HTML/pages/About - About HTML Files
        • HTML/pages/About/About.html - Main About page providing information about our gardening and landscaping services.
        • HTML/pages/About/Testimonials.html - Page showcasing testimonials or feedback from our satisfied clients about our gardening and landscaping work.
        • HTML/pages/About/Team.html - Page presenting information about our skilled gardening and landscaping team members.
        • HTML/pages/About/Team-Single.html - Detailed view of a specific team member in our gardening and landscaping team.
        • HTML/pages/About/Faqs.html - Frequently asked questions related to our gardening and landscaping services.
        • HTML/pages/About/WhyUs.html - Page explaining why clients should choose LeafLife — featuring our values, quality assurance, and sustainable practices.
        • HTML/pages/About/History.html - Page sharing LeafLife’s story, journey, and growth in the gardening and landscaping industry.
      2. HTML/pages/Pages - Other Pages HTML Files
        • HTML/pages/Pages/Gallery.html - Page showcasing a gallery of images related to our gardening and landscaping designs and installations.
        • HTML/pages/Pages/Pricing.html - Page outlining the pricing structure for our gardening and landscaping services.
        • HTML/pages/Pages/Process.html - Page explaining our process for providing gardening and landscaping installations.
        • HTML/pages/Pages/Awards.html - Page providing information about awards and recognitions received for our gardening and landscaping work.
        • HTML/pages/Pages/Events.html - Page providing information about events and workshops related to gardening and landscaping.
        • HTML/pages/Pages/Event-Single.html - Detailed view of a specific gardening or landscaping event.
        • HTML/pages/Pages/Careers.html - Page providing information about career opportunities in gardening and landscaping with our company.
        • HTML/pages/Pages/Career-Single.html - Detailed view of a specific career position in gardening or landscaping.
        • HTML/pages/Pages/Career-Form.html - Page featuring a form for candidates to apply for available positions at LeafLife.
        • HTML/pages/Pages/Privacy-Policy.html - Page detailing LeafLife’s privacy policy and how user data is handled responsibly.
        • HTML/pages/Pages/Not-Found.html - 404 error page displayed when a user navigates to a non-existent or broken link.
        • HTML/pages/Pages/Terms.html - Page outlining LeafLife’s terms and conditions for website use and service engagement.
        • HTML/pages/Pages/Cost-Calculator.html - Page for calculating the cost of gardening and landscaping services.
        • HTML/pages/Pages/Get-Quote.html - Page where users can request a quote for gardening and landscaping services.
        • HTML/pages/Pages/Clients.html - Page displaying organizations or clients associated with our gardening and landscaping services.
      3. HTML/pages/Service - Service HTML files
        • HTML/pages/Service/Services.html - Page showcasing the various gardening and landscaping services offered by our company.
        • HTML/pages/Service/Service-Single.html - Detailed view of a specific gardening or landscaping service provided by our company.
      4. HTML/pages/Project - Project HTML files
        • HTML/pages/Project/Projects.html - Page showcasing the projects completed by our company in the field of gardening and landscaping.
        • HTML/pages/Project/Project-Single.html - Detailed view of a specific project completed by our company.
      5. HTML/pages/Blog - Blog HTML files
        • HTML/pages/Blog/Blog-Grid.html - Page displaying blog posts related to updates in the field of gardening and landscaping.
        • HTML/pages/Blog/Blog-List.html - Page presenting blog posts in a standard list format.
        • HTML/pages/Blog/Blog-Single.html - Page showing the details of a specific blog post related to gardening and landscaping topics.
      6. HTML/pages/Shop - Shop HTML files
        • HTML/pages/Shop/Shop-Grid.html - Page displaying gardening and landscaping products in a grid layout for online shopping.
        • HTML/pages/Shop/Shop-List.html - Page presenting gardening and landscaping products in a standard list format.
        • HTML/pages/Shop/Product-Single.html - Page providing detailed information about a specific gardening or landscaping product.
        • HTML/pages/Shop/Wishlist.html - Page related to managing and viewing a user's wishlist for gardening and landscaping products.
        • HTML/pages/Shop/Cart.html - Page for displaying the user's shopping cart and enabling product checkout.
        • HTML/pages/Shop/Checkout.html - Page facilitating the checkout process for placing an order of gardening and landscaping products.
        • HTML/pages/Shop/Login.html - Page providing a login form for user authentication.
        • HTML/pages/Shop/Register.html - Page allowing users to register or create a new account for gardening and landscaping services.
        • HTML/pages/Shop/Reset-Password.html - Page facilitating the password reset process for users.
      7. HTML/pages/Contact – Contact HTML file
        • HTML/pages/Contact/Contact.html - Page providing contact information and a contact form for users to get in touch regarding gardening and landscaping services.
  2. Open index.html to start editing. Following you can see HTML structure of this file:

    <!DOCTYPE html>
    
    <html lang="en">
    <head>
    
    <!-- Your Title, Css Libraries, Custom Stylesheets
    ============================================= -->
    
    </head>
    
    <body>
    
      <!-------------------- Scroll-Top Area (Start) -------------------->
      <a href="#" id="scroll-top" >
        ......
      </a>
      <!-------------------- Scroll-Top Area (End) -------------------->
    
    
    
      <!-------------------- Header Area (Start) -------------------->
      <header class="header" >
        ......
      </header>
      <!-------------------- Header Area (End) -------------------->
    
    
    
      <!-------------------- Home-Slider Area (Start) -------------------->
      <section class="home" >
        ......
      </section>
      <!-------------------- Home-Slider Area (End) -------------------->
    
    
    
      <!-------------------- Features Area (Start) -------------------->
      <section class="features" >
        ......
      </section>
      <!-------------------- Features Area (End) -------------------->
    
    
    
      <!-------------------- About Area (Start) -------------------->
      <section class="about" >
        ......
      </section>
      <!-------------------- About Area (End) -------------------->
    
    
    
      <!-------------------- Awards Area (Start) -------------------->
      <div class="awards main linear-bg" >
        ......
      </div>
      <!-------------------- Awards Area (End) -------------------->
    
    
    
      <!-------------------- Process Slider Area (Start) -------------------->
      <div class="process" >
        ......
      </div>
      <!-------------------- Process Slider Area (End) -------------------->
    
    
    
      <!-------------------- Why Choose Us Area (Start) -------------------->
      <section class="whyUs linear-bg" >
        ......
      </section>
      <!-------------------- Why Choose Us Area (End) -------------------->
    
    
    
      <!-------------------- Service Slider Area (Start) -------------------->
      <section class="services" >
        ......
      </section>
      <!-------------------- Service Slider Area (End) -------------------->
    
    
    
    
      <!-------------------- Count Area (Start) -------------------->
      <div class="counting" >
        ......
      </div>
      <!-------------------- Count Area (End) -------------------->
    
    
    
    
      <!-------------------- Pricing Area (Start) -------------------->
      <section class="pricing" >
        ......
      </section>
      <!-------------------- Pricing Slider Area (End) -------------------->
    
    
    
      <!-------------------- Home Skills Area (Start) -------------------->
      <section class="custom-form home-skills linear-bg" >
        ......
      </section>
      <!-------------------- Home Skills Area (End) -------------------->
    
    
    
      <!-------------------- Projects Area (Start) -------------------->
      <section class="projects">
        ......
      </section>
      <!-------------------- Projects Area (End) -------------------->
    
    
    
      <!-------------------- Get A Quote Area (Start) -------------------->
      <section class="custom-form get-quote linear-bg" >
        ......
      </section>
      <!-------------------- Get A Quote Area (End) -------------------->
    
    
    
      <!-------------------- Events Area (Start) -------------------->
      <section class="events" >
        ......
      </section>
      <!-------------------- Events Area (End) -------------------->
    
    
    
      <!-------------------- Banner Area (Start) -------------------->
      <section class="banner" >
        ......
      </section>
      <!-------------------- Banner Area (End) -------------------->
    
    
    
      <!-------------------- Team Area (Start) -------------------->
      <section class="team" >
        ......
      </section>
      <!-------------------- Team Area (End) -------------------->
    
    
    
    
      <!-------------------- Testimonials Area (Start) -------------------->
      <section class="testimonial-bg linear-bg" >
        ......
      </section>
      <!-------------------- Testimonials Area (End) -------------------->
    
    
    
      <!-------------------- Faqs Area (Start) -------------------->
      <section class="faq" >
        ......
      </section>
      <!-------------------- Faqs Area (End) -------------------->
    
    
    
      <!-------------------- Newsletter Area (Start) -------------------->
      <section class="newsletter-subscribe" >
        ......
      </section>
      <!-------------------- Newsletter Area (End) -------------------->
    
    
    
      <!-------------------- Blogs Area (Start) -------------------->
      <section class="blog main" >
        ......
      </section>
      <!-------------------- Blogs Area (End) -------------------->
    
    
    
      <!-------------------- Clients Area (Start) -------------------->
      <section class="home-clients clients" >
        ......
      </section>
      <!-------------------- Clients Area (End) -------------------->
    
      
    
      <!-------------------- Footer Area (Start) -------------------->
      <footer class="footer" >
        ......
      </footer>
      <!-------------------- Footer Area (End) -------------------->
    
    
    <!-- JavaScript -->
    
    
    </body>
    </html>
  3. Open any HTML file to start editing in other pages. Following you can see HTML structure of the file:

    <!DOCTYPE html>
    
    <html lang="en">
    <head>
    
    <!-- Your Title, Css Libraries, Custom Stylesheets
    ============================================= -->
    
    </head>
    
    <body>
    
    <!-------------------- Scroll-Top Area (Start) -------------------->
    <a href="#" id="scroll-top" >
    ......
    </a>
    <!-------------------- Scroll-Top Area (End) -------------------->
    
    
    
    <!-------------------- Header Area (Start) -------------------->
    <header >
    ......
    </header>
    <!-------------------- Header Area (End) -------------------->
    
    
    
    <!-------------------- Page-Title (Start) -------------------->
    <div class="page-title" >
    ......
    </div>
    <!-------------------- Page-Title (End) -------------------->
    
    
    
    <!-------------------- Page Body (Start) -------------------->
    <section class="" >
    ......
    </section>
    <!-------------------- Page Body (End) -------------------->
    
    
    
    <!-------------------- Footer Area (Start) -------------------->
    <footer class="footer" >
    ......
    </footer>
    <!-------------------- Footer Area (End) -------------------->
    
    
    
    
    <!-- JavaScript -->
    
    
    </body>
    

CSS Files and Structure

  1. This template have these CSS files.
    • main.css - Stylesheet for main styling
    • responsive.css - Stylesheet for responsive styling
  2. The main.css contains specific styling for the page. This file is separated into section using comments.
    /*------------------------------ (00)-Global CSS ------------------------------*/
    /*      
    0- Global CSS     
    1- Heading CSS     
    2- Button CSS   
    3- Logo Area CSS 
    4- Page Title CSS  
    5- Header Area CSS 
    6- Footer Area CSS
    7- Scroll-Top Area CSS
    8- Form CSS
    9- Dark Form CSS
    10- Swiper Pagination CSS
    11- Swiper Navigation CSS
    12- Sidebar Heading CSS
    13- Sidebar CSS
    */
    
    /*------------------------------ (01)-Home ------------------------------*/
    /*
    1- Home Slider
    2- Features
    3- Awards
    4- Process Slider
    5- Why Choose Us
    6- Service Slider
    7- Counter
    8- skills
    9- Banner
    10- Testimonials
    11- Newsletter
    12- Blogs
    13- Client Slider
    */
    
    /*------------------------------ (02)-About ------------------------------*/
    
    /*--------------- PAGES ---------------*/
    /*
    1- About Us
    2- Why Choose Us
    3- History
    4- Team
    5- Team Single
    6- Testimonials
    7- Faqs
    */
    
    /*------------------------------ (03)-Pages ------------------------------*/
    
    /*--------------- COMPONENTS ---------------*/
    /* 
    01- Tab Information
    02- Page Single
    03- Page Sidebar
    04- Account-Form 
    05- Custom Form  
    */
    
    /*--------------- PAGES ---------------*/
    /*
    1- Gallery
    2- Pricing
    3- Work Process
    4- Awards
    5- Events
    6- Event Single
    7- Careers
    8- Career Single
    9- Career Form
    10- Not Found
    11- Privacy Policy
    12- Terms & Condition
    13- Cost Calculator
    14- Get A Quote
    15- Clients
    
    */
    
    /*------------------------------ (04)-Service ------------------------------*/
    /*
    1- Services
    2- Service Single
    */
    
    /*------------------------------ (05)-Project ------------------------------*/
    /*
    1- projects
    2- projects Single
    */
    
    /*------------------------------ (06)-Blog ------------------------------*/
    
    /*--------------- COMPONENTS ---------------*/
    /* 
    01- Blog-Item 
    02- Comment 
    03- Pages-No
    */
    
    /*--------------- PAGES ---------------*/
    /*
    1- Blog Grid
    2- Blog List
    3- Blog Single 
    */
    
    
    /*------------------------------ (07)-Shop ------------------------------*/
    
    /*--------------- COMPONENTS ---------------*/
    /* 
    01- Filter
    02- Shop Header
    03- Quantity Box
    04- Product-Item
    05- Shop-Title
    06- Cart-Summary
    07- Radio Button
    */
    
    /*--------------- PAGES ---------------*/
    /*
    1- Shop Grid 
    2- Shop Standard
    3- Product Single
    4- Wishlist
    5- Cart
    6- Checkout
    7- Login
    8- Register 
    9- Forgot Password
    */
    
    /*------------------------------ (08)-Contact ------------------------------*/
                  
  3. If you want to edit specific section of the file, just find the right label in the CSS file, and then start editing the appropriate style that you want to edit.

Javascript Files

This template has the following JS files.

  1. Global JS files:
    • script.js - Custom JavaScript file for website-specific functionality.
    • nav-link-toggler.js - Handles mobile navbar toggling.
    • page-gallery.js - JavaScript file for handling gallery pop up functionality.
  2. HomePage JS files:
    • home-slider.js - Controls the behavior of the home slider, showcasing content or images on the homepage.
    • service-slider.js - Manages the service slider, likely for presenting all services.
    • process-slider.js - Manages the locksmith process slider, likely for presenting all steps of the process.
    • client-slider.js - Manages the interactive client slider, showcasing business clients on the homepage.
    • newsletter.js - Handles the functionality of the newsletter subscription form, validating user input and managing successful subscription confirmations.
  3. About Page JS files:
    • counter-up.js - Implements a counter for statistics.
    • testi-slider.js - Handles the testimonials slider.
  4. Cost Calculator Page JS files:
    • cost-calculator.js - Handles the interactive cost estimation functionality.
  5. Quote Page JS files:
    • quote.js - Manages the quote request form, including input validation, dynamic field updates, and sending user information to the server for personalized gardening and landscaping service quotations.
  6. FaqsJS files:
    • accordion.js - Controls the accordion functionality for FAQs on the FAQs and Service Single Page.
  7. Product SingleJS files:
    • tab-info.js - Manages tabbed information on product single page.
  8. Project Page JS files:
    • projects.js - JavaScript file for handling functionality on the Project page.
  9. Gallery Page JS files:
    • Gallery.js - JavaScript file for handling functionality on the gallery page.
  10. Checkout Page JS files:
    • payment-method.js - Manages the payment method accordion on the Checkout page.
  11. Cart Page JS files:
    • quantity.js - Product quantity counter js file
  12. Shop Page JS files:
    • Price-Filter.js - Manages the price filter on the Shop page.
  13. Product Single Page JS files:
    • Product-Gallery.js - Product Image Gallery js file

php

In this template, contact form is created using PHP. It include sending email using SMTP server and the PHPMailer library.

  1. This template have these PHP files and folder.
    • php/smtp - Contains php mailer files
      • class.phpmailer.php
      • class.smtp.php
      • PHPMailerAutoload.php
    • php/career-form.php - Handles submissions from the career application form, sending applicant details such as name, email, and message to the specified email address.
    • php/newsletter.php - Processes newsletter subscription requests and sends a confirmation or success message to the user.
    • php/quote.php - Manages quote form submissions, collecting user details and project information to send as an email to the business.
    • php/submit.php - PHP file where you specify your email address to receive messages sent through the website’s contact form.
  2. creating an app password:
    • Step#1: Login to Google Account
    • Step#2: Enable 2-Step Verification
      • First, you have to enable the 2-Step Verification on your account before you set up the app password.
      • Click on the Security tab on the left-hand side.
      • Go to the Security page and within the section Signing in to Google, click on 2-Step Verification.
      • Click on Get Started and on the next page enter your password to verify your account and hit Next.
      • enter the phone number you want to use for verification and then select the method to receive your code.
      • Enter the verification code & hit Next.
    • Step#3: Setup Application password
      • Within the section Signing in to Google, you will notice a new option that says App passwords.
      • Click on App passwords and verify your account.
      • select Mail from Select app and Other (custom name) from Select device and provide it a name and hit generate.
      • Now you have successfully generated your app password. The App Password is the 16-character code in the yellow bar on your device.
      • Copy this code and save it somewhere safe to use it later as instructed.
  3. To make your contact, quotation and newsletter form functional, you only need to make a few changes in the following files: submit.php, quote.php and newsletter.php.
    • In the Username field, you have to enter your Gmail ID which you want to use as an SMTP server:
          // Gmail ID which you want to use as SMTP server
          $mail->Username = "your_email@gmail.com"; // (Your Mail)
                        
    • In the Password field, you have to enter your Gmail App password (that you have created above):
          // App Password
          $mail->Password = "Your App Password"; // Your app password
                        
    • Update the addAddress field, you have to enter another email id in which you want to receive form submission mails
          // Recipient Email ID where you want to receive emails
          $mail->addAddress("your_email@gmail.com", "your name"); // (Your Mail)
                        
    • Change the Subject of the Notification Email:
          $mail->Subject = "(LeafLine) New Contact Info";
                      
    • Additionally, in newsletter.php, set the sender's email and name for the confirmation email sent to the user. This sender's email is usually your email address
          // Send confirmation email to the user
          $mail->setFrom('your_email@gmail.com', 'LeafLine');  // Sender's email and name
                        

Customization

  1. Logo:

    you can change logo text here... OR you can put image rather than text.

    
      <!-- Logo -->
      <a class="logo" href="./index.html">
        <img src="./assets/images/Logo/Logo.png" alt="logo" /> 
        <div class="logo-content">
          <h3>LeafLine</h3>
          <p>Gardening & Landscaping</p>
        </div>
      </a>
      
                
  2. Image Customization:

    This template have these images folders.

    • Home Slider Images => (images/Home/) => (1500 x 750)px
    • Counter Background Image => (images/Background/) => (1500 x 750)px
    • Banner Background Image => (images/Background/) => (1500 x 500)px
    • Testimonials Background Image => (images/Background/) => (1500 x 750)px
    • Newsletter Background Image => (images/Background/) => (1500 x 500)px
    • Cost Calculator Background Image => (images/Background/) => (1500 x 750)px
    • Get Quote Background Image => (images/Background/) => (1500 x 750)px
    • Why Choose Us Background Image => (images/Background/) => (2000 x 1000)px
    • Career Background Image => (images/Background/) => (1500 x 750)px
    • Career Form Background Image => (images/Background/) => (1500 x 750)px
    • Contact Background Image => (images/Background/) => (1500 x 750)px
    • Footer Background Image => (images/Background/) => (1500 x 750)px
    • Awards Background Image => (images/Background/) => (2000 x 1000)px
    • Skills Background Image => (images/Background/) => (1500 x 750)px
    • PageTitle Background Image => (images/Background/) => (1500 x 500)px
    • About Image => (images/About/) => (300 x 450)px
    • Team Images => (images/Team/) => (400 x 500)px
    • Testimonials Images => (images/Testimonials/) => (200 x 200)px
    • Clients Logo Images => (images/Clients/) => (350 x 200)px
    • FAQ Image => (images/FAQs/) => (400 x 600)px
    • Gallery Images => (images/Gallery/) => (1500 x 1000)px
    • Pricing Images => (images/Pricing/) => (400 x 600)px
    • Process Images => (images/Process/) => (400 x 400)px
    • Events Images => (images/Event/Events/) => (600 x 400)px
    • Event Gallery Images => (images/Event/Event-Gallery/) => (600 x 400)px
    • Event Speaker Images => (images/Event/Speaker/) => (400 x 500)px
    • Career Introuction Images => (images/Career/Intro/) => (600 x 450)px
    • Career Position Images => (images/Career/Positions/) => (600 x 400)px
    • Services Images => (images/Service/Services/) => (600 x 400)px
    • Service Gallery Images => (images/Service/Service-Gallery/) => (600 x 400)px
    • Project Images => (images/Project/Projects/) => (600 x 400)px
    • Project Gallery Images => (images/Project/Project-Gallery/) => (600 x 400)px
    • Blogs Images => (images/Blog/Blogs/) => (600 x 400)px
    • Blog-Gallery Images => (images/Blog/Blog-Gallery/) => (600 x 400)px
    • Blog Comments Images => (images/Blog/Comments/) => (200 x 200)px
    • Product-Gallery Images => (images/Shop/Product-Gallery/) => (500 x 500)px
    • Products Images => (images/Shop/Products/) => (500 x 500)px
    • Product Reviews Images => (images/Shop/Reviews/) => (200 x 200)px
    • Not Found Images => (images/Not-Found/) => (600 x 300)px
    • Why Choose Us Images => (images/WhyUs/) => (300 x 400)px
    • Contact Images => (images/Contact/) => (600 x 600)px
    • Logo Image => (images/Logo/) => (500 x 500)px

Source & Credits

Images:

Icons:

Google Font:

Scripts: