Introduction

Aexora - Creative Agency & Portfolio Bootstrap HTML Template

Aexora - Creative Agency & Portfolio Bootstrap HTML Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page Because the template is built using HTML5, CSS3, Bootstrap 5 framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.

Support and Updates:

When you purchase Aexora, you gain access to free future updates to ensure your template remains up-to-date. Plus, our support team is always ready to assist with any questions.

Dependencies for Aexora

What Do You Get with the Aexora:

Aexora provides all necessary HTML, CSS, SCSS, JS files, along with detailed Documentation to help you easily customize and implement the template.

  • All HTML Files
  • CSS Files
  • SCSS Files
  • JS Files
  • Documentation

Aexora Compatibility with Popular Browsers:

Aexora is fully compatible with major browsers, ensuring a seamless user experience across Chrome, Firefox, Safari, Edge, and Opera.

  • Firefox
  • Safari
  • Opera
  • Chrome
  • Edge

Folder Structure

Horizontal Menu

The following HTML,JS, CSS you should have in your page to implement a Horizontalmenu.

Horizontalmenu content Rootpath: html/partials/header.html You can change the code here.

html

            <div class="sticky">
    <!-- Start::app-sidebar -->
    <aside class="app-sidebar" id="sidebar">

        <div class="app-toggle-header">
            <a href="index.html" class="brand-main">
                <img src="../assets/images/brand/logo-white.png" alt="img" class="desktop-logo logo-dark">
                <img src="../assets/images/brand/logo-color.png" alt="img" class="desktop-logo logo-color">
            </a>
            <div class="header-element">
                <!-- Start::header-link -->
                <a aria-label="anchor" href="javascript:void(0);" class="sidemenu-toggle header-link" data-bs-toggle="sidebar">
                    <span class="close-toggle">
                        <i class="bi bi-x header-link-icon"></i>
                    </span>
                </a>
                <!-- End::header-link -->
            </div>
            <!-- End::header-element -->
        </div>

        <!-- Start::main-sidebar -->
        <div class="main-sidebar" id="sidebar-scroll">

            <!-- Start::nav -->
            <nav class="main-menu-container nav nav-pills sub-open align-items-center">

                <!-- Start::main-brand-header -->
                <div class="main-brand-header">
                    <div class="container brand-header-container d-none d-lg-flex">
                        <div class="d-flex align-items-center">
                            <!-- Start::header-element -->
                            <div class="header-element me-1">
                                <!-- Start::header-link -->
                                <a aria-label="anchor" href="javascript:void(0);" class="sidemenu-toggle1 header-link" data-bs-toggle="sidebar">
                                    <span class="open-toggle">
                                        <i class="bi bi-text-indent-left header-link-icon"></i>
                                    </span>
                                </a>
                                <!-- End::header-link -->
                            </div>

                            <!-- End::header-element -->
                            <a href="index.html" class="brand-main">
                                <img src="../assets/images/brand/logo-white.png" alt="img" class="desktop-logo logo-white">
                                <img src="../assets/images/brand/logo-dark.png" alt="img" class="desktop-logo logo-dark">
                                <img src="../assets/images/brand/logo-light.png" alt="img" class="desktop-logo logo-light">
                                <img src="../assets/images/brand/toggle-dark.png" alt="img" class="mobile-logo mobile-dark">
                                <img src="../assets/images/brand/logo-color.png" alt="img" class="desktop-logo logo-color">
                                <img src="../assets/images/brand/toggle-color.png" alt="img" class="mobile-logo mobile-color">
                            </a>
                        </div>
                    </div>
                </div>
                <!-- End::main-brand-header -->

                <ul class="main-menu">

                    <!-- Start::slide -->
                    <li class="slide has-sub">
                        <a href="javascript:void(0);" class="side-menu__item">
                            <span class="side-menu__label">Home</span>
                            <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                        </a>
                        <ul class="slide-menu child1 mega-slide-menu mega-slide-menu1 mega-slide-menu-onefr border-0 container-lg">
                            <li class="mega-menu mega-menu-one row mx-0 p-0 overflow-hidden">
                                <div class="col-xl-12 col-auto p-lg-4 d-xl-block d-none">
                                    <div class="row gy-4">
                                        <div class="col-auto col-xl-4 text-center">
                                            <div class="border position-relative overflow-hidden">
                                                <a href="index.html" class="stretched-link"></a>
                                                <div>
                                                    <div class="menu-icon1">
                                                        <img src="../assets/images/png/home-pages/1.png" alt="img" class="mx-auto">
                                                    </div>
                                                    <div class="text-center">
                                                        <div class="my-3"><a href="index.html" class="h6 home-title">Creative Agency</a></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-auto col-xl-4 text-center">
                                            <div class="border position-relative overflow-hidden">
                                                <a href="index-1.html" class="stretched-link"></a>
                                                <div>
                                                    <div class="menu-icon1">
                                                        <img src="../assets/images/png/home-pages/2.png" alt="img" class="mx-auto">
                                                    </div>
                                                    <div class="text-center">
                                                        <div class="my-3"><a href="index-1.html" class="h6 home-title">Design Agency</a></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-auto col-xl-4 text-center">
                                            <div class="border position-relative overflow-hidden">
                                                <a href="index-2.html" class="stretched-link"></a>
                                                <div>
                                                    <div class="menu-icon1">
                                                        <img src="../assets/images/png/home-pages/3.png" alt="img" class="mx-auto">
                                                    </div>
                                                    <div class="text-center">
                                                        <div class="my-3"><a href="index-2.html" class="h6 home-title">IT Solustion</a></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-auto col-xl-4 text-center">
                                            <div class="border position-relative overflow-hidden">
                                                <a href="index-3.html" class="stretched-link"></a>
                                                <div>
                                                    <div class="menu-icon1">
                                                        <img src="../assets/images/png/home-pages/4.png" alt="img" class="mx-auto">
                                                    </div>
                                                    <div class="text-center">
                                                        <div class="my-3"><a href="index-3.html" class="h6 home-title">Corporate Agency</a></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-auto col-xl-4 text-center">
                                            <div class="border position-relative overflow-hidden">
                                                <a href="index-4.html" class="stretched-link"></a>
                                                <div>
                                                    <div class="menu-icon1">
                                                        <img src="../assets/images/png/home-pages/5.png" alt="img" class="mx-auto">
                                                    </div>
                                                    <div class="text-center">
                                                        <div class="my-3"><a href="index-4.html" class="h6 home-title">Freelancer</a></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-auto col-xl-4 text-center">
                                            <div class="border position-relative overflow-hidden">
                                                <a href="index-5.html" class="stretched-link"></a>
                                                <div>
                                                    <div class="menu-icon1">
                                                        <img src="../assets/images/png/home-pages/6.png" alt="img" class="mx-auto">
                                                    </div>
                                                    <div class="text-center">
                                                        <div class="my-3"><a href="index-5.html" class="h6 home-title">Creative Portpolio</a></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </li>
                    <!-- End::slide -->

                    <!-- Start::slide -->
                    <li class="slide has-sub">
                        <a href="javascript:void(0);" class="side-menu__item">
                            <span class="side-menu__label">Services</span>
                            <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                        </a>
                        <ul class="slide-menu child1 without-icon">
                            <li class="slide">
                                <a href="services-01.html" class="side-menu__item">
                                    <span>Service Layout 01</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="services-02.html" class="side-menu__item">
                                    <span>Service Layout 02</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="services-03.html" class="side-menu__item">
                                    <span>Service Layout 03</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="services-04.html" class="side-menu__item">
                                    <span>Service Layout 04</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="services-05.html" class="side-menu__item">
                                    <span>Service Layout 05</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="servicesdetails-01.html" class="side-menu__item">
                                    <span>Service Details 01</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="servicesdetails-02.html" class="side-menu__item">
                                    <span>Service Details 02</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <!-- End::slide -->

                    <!-- Start::slide -->
                    <li class="slide has-sub">
                        <a href="javascript:void(0);" class="side-menu__item">
                            <span class="side-menu__label">Pages</span>
                            <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                        </a>
                        <ul class="slide-menu child1 without-icon">
                            <li class="slide">
                                <a href="about.html" class="side-menu__item">
                                    <span>About Us</span>
                                </a>
                            </li>
                            <li class="slide has-sub">
                                <a href="javascript:void(0);" class="side-menu__item">
                                    <span class="side-menu__label">Projects</span>
                                    <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                                </a>
                                <ul class="slide-menu child2 without-icon">
                                    <li class="slide">
                                        <a href="portfolio.html" class="side-menu__item">
                                            <span>Portfolio Gallery</span>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="portfolio1.html" class="side-menu__item">
                                            <span>Masonry Portfolio</span>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="portfolio2.html" class="side-menu__item">
                                            <span>Interactive Portfolio</span>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="portfolio-details.html" class="side-menu__item">
                                            <span>Project Details</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <li class="slide has-sub">
                                <a href="javascript:void(0);" class="side-menu__item">
                                    <span class="side-menu__label">Teams</span>
                                    <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                                </a>
                                <ul class="slide-menu child2 without-icon">
                                    <li class="slide">
                                        <a href="team.html" class="side-menu__item">
                                            <span>Team</span>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="team-details.html" class="side-menu__item">
                                            <span>Team Details</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <li class="slide has-sub">
                                <a href="javascript:void(0);" class="side-menu__item">
                                    <span class="side-menu__label">Career</span>
                                    <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                                </a>
                                <ul class="slide-menu child2 without-icon">
                                    <li class="slide">
                                        <a href="careers.html" class="side-menu__item">
                                            <span>Career</span>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="career-details.html" class="side-menu__item">
                                            <span>Career Details</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <li class="slide has-sub">
                                <a href="javascript:void(0);" class="side-menu__item">
                                    <span class="side-menu__label">Shop</span>
                                    <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                                </a>
                                <ul class="slide-menu child2 without-icon">
                                    <li class="slide">
                                        <a href="shop.html" class="side-menu__item">
                                            <span>Shop</span>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="shop-details.html" class="side-menu__item">
                                            <span>Shop Details</span>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="cart.html" class="side-menu__item">
                                            <span>Cart</span>
                                        </a>
                                    </li>
                                    <li class="slide">
                                        <a href="checkout.html" class="side-menu__item">
                                            <span>Checkout</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <li class="slide">
                                <a href="pricing.html" class="side-menu__item">
                                    <span>Pricing</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="faq.html" class="side-menu__item">
                                    <span>Faq</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="error.html" class="side-menu__item">
                                    <span>Error Page</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="login.html" class="side-menu__item">
                                    <span>Login</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="register.html" class="side-menu__item">
                                    <span>Register</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <!-- End::slide -->

                    <!-- Start::slide -->
                    <li class="slide has-sub">
                        <a href="javascript:void(0);" class="side-menu__item">
                            <span class="side-menu__label">Blog</span>
                            <i class="fe fe-chevron-down side-menu__angle side-menu__angle1 ms-1"></i>
                        </a>
                        <ul class="slide-menu child1 without-icon">
                            <li class="slide">
                                <a href="blog01.html" class="side-menu__item">
                                    <span>Blog Grid 01</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="blog02.html" class="side-menu__item">
                                    <span>Blog Grid 02</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="blog03.html" class="side-menu__item">
                                    <span>Blog Grid 03</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="bloglist01.html" class="side-menu__item">
                                    <span>Blog List 01</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="bloglist02.html" class="side-menu__item">
                                    <span>Blog List 02</span>
                                </a>
                            </li>
                            <li class="slide">
                                <a href="blog-details.html" class="side-menu__item">
                                    <span>Blog Details</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <!-- End::slide -->

                    <!-- Start::slide -->
                    <li class="slide d-xl-block d-none">
                        <a href="contact-us.html" class="side-menu__item">
                            <span class="side-menu__label">Contact Us</span>
                        </a>
                    </li>
                    <!-- End::slide -->
                </ul>

                <div>
                    <ul class="list-unstyled d-flex align-items-center mb-0">
                        <li class="text-lg-start text-center flex-grow-1">
                            <div class="btn-list">
                                <a href="contact-us.html" class="btn btn-primary landing-custom-button btn-anim">
                                    <span class="btn__text">Get In Touch</span>
                                    <span class="btn__icon">
                                        <i class="ri-arrow-right-long-line"></i>
                                    </span>
                                </a>
                            </div>
                        </li>
                    </ul>
                </div>
            </nav>
            <!-- End::nav -->
        </div>
        <!-- End::main-sidebar -->
    </aside>
    <!-- End::app-sidebar -->
</div>
            
        

JS

                                                <!--  Defaultmenu JS -->
	<script src="../assets/js/defaultmenu.js"></script>
                                                
                                            

FAQ'S

If you don't want to use scss files,you are in no need of Esbuild and other related files & folders so please remove below shown files

  • Html/src folder
  • Html/esbuild.config.js file
  • Html/package-lock.json file
  • Html/package.json file
  • Html/node_modules folder

You can simply use dist folder with only css, or can use by renaming it😊.

Step 1:

Go To style.scss (src/assets/scss/styles.scss )

if you want to change another font-family Go to the site Google Fonts And Select One font Family and import in to styles.scss file

How to Select font Family

Step 2:

And paste Your Selected font-family in style.scss

Step 3:

And add the Your Selected font-family in _customs.scss(src/assets/scss/custom/_customs.scss)

code

body {
        font-size: 18px;
        font-family:  'Space Grotesk', sans-serif;  
        font-weight: 400;
        color: #{variables.$color};
        background-color: #{variables.$background};
        line-height: 1.4;
        text-align: start;
        overflow-x: clip;
        padding: 0;
        margin: 0;
      }

Go To "src/assets/images/brand-logos" folder and replace your logo with Previous Logos within in image size. note: Please don't increase logo sizes. Replace your logo within given image size. otherwise the logo will not fit in particular place it disturbs the template design.

Please follow the below steps to enable RTL Version
Step1:

To enable RTL Version you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for rtl as shown in below

javascript

//RTL 
    if (!localStorage.getItem("aexorartl")) {
        // html.setAttribute("dir" , "rtl") // for rtl version 
    }
Step2:
Remove the comments to enable rtl as shown below

javascript

//RTL 
    if (!localStorage.getItem("aexorartl")) {
        html.setAttribute("dir" , "rtl") // for rtl version 
    }

Please follow the below steps to enable Boxed Version
Step1:

To enable Boxed Version you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for Boxed as shown in below

javascript

 //Boxed styles
    if (!localStorage.getItem("aexoraboxed")) {
        // html.setAttribute("data-width" , "boxed") // for boxed style
    }
Step2:
Remove the comments to enable boxed as shown below

javascript

//Boxed styles
    if (!localStorage.getItem("aexoraboxed")) {
        html.setAttribute("data-width" , "boxed") // for boxed style
    }
    

Please follow the below steps to enable Dark Theme
Step1:

To enable Dark Theme you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for dark-mode as shown in below

javascript

//Dark Theme Style
    if (!localStorage.getItem("aexoradarktheme")) {
        // html.setAttribute("data-theme-mode" , "dark") // for dark theme 
    }
Step2:

Remove the comments to enable dark-modeas shown below

javascript

//Dark Theme Style
    if (!localStorage.getItem("aexoradarktheme")) {
        html.setAttribute("data-theme-mode" , "dark") // for dark theme 
    }

Step1:

To clear LocalStorage loading functions you need to remove localStorageBackup2() function in custom-switcher.min.js assets/js/custom-switcher.min.js as shown below

javascript

function localStorageBackup() {
    // if there is a value stored, update color picker and background color
    // Used to retrive the data from local storage
    if (localStorage.primaryRGB) {
        if (document.querySelector('.theme-container-primary')) {
            document.querySelector('.theme-container-primary').value = localStorage.primaryRGB;
        }
        document.querySelector('html').style.setProperty('--primary-rgb', localStorage.primaryRGB);
    }
    if (localStorage.bodyBgRGB) {
        if (document.querySelector('.theme-container-background')) {
            document.querySelector('.theme-container-background').value = localStorage.bodyBgRGB;
        }
        document.querySelector('html').style.setProperty('--body-bg-rgb', localStorage.bodyBgRGB);
        let html = document.querySelector('html');
        html.setAttribute('data-theme-mode', 'dark');
        document.querySelector('#switcher-dark-theme').checked = true;
    }
    if (localStorage.Aexoradarktheme) {
        let html = document.querySelector('html');
        html.setAttribute('data-theme-mode', 'dark');
    }
    if (localStorage.Aexorartl) {
        let html = document.querySelector('html');
        html.setAttribute('dir', 'rtl');
        rtlFn();
    }
    if (localStorage.Aexoraboxed) {
        let html = document.querySelector('html');
        html.setAttribute('data-width', 'boxed');
    }
    if(localStorage.Aexoraltr){
        ltrFn()
    }

    if(localStorage.loaderEnable == "true"){
        document.querySelector("#switcher-loader-enable").checked = true
    }
}
Step2:

To remove complete LocalStorage saving you need to remove all localstorage related calling functions like localStorage.setItem, localStorage.removeItem, localStorage.getItem, localStorage.clear in custom-switcher.js assets/js/custom-switcher.min.jsfile.Below are the some examples to find out.

javascript

localStorage.setItem( );
localStorage.removeItem( );
localStorage.getItem( )
localStorage.clear();
localStorageBackup();

Please follow the below steps to change Primary Color
Step 1 :

To change Primary Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (src/assets/scss/_variables.scss )

Please follow the below steps to change Dark body Color
Step 1 :

Make sure the theme is set completely to dark mode by adding the following attributes to the html tag data-theme-mode="dark" data-header-styles="dark" data-menu-styles="dark"

Step 2 :

To change Dark body Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (src/assets/scss/_variables.scss )

Step 3 :

Also Change the following variable colors to the desired theme background accordingly in [data-theme-mode="dark"]

--light-rgb :
--form-control-bg :
--input-border :
--gray-3 :

This guide explains how to connect the Contact Us form with PHP, MySQL, and SMTP email. After setup, the form will:

  1. Save contact details in the database.
  2. Send the message to the website owner.
  3. Send a confirmation email to the user.
1. Required Files

Copy these files into the project:

javascript


html/contact-us.html
assets/js/contact-us.js
assets/php/contact-handler.php
assets/php/contact-config.php
assets/php/database.php
assets/php/setup-contact.php
assets/php/contact-leads-schema.sql
2. What Each File Does
File Use
contact-us.html Contains the Contact Us form.
contact-us.js Sends form data to PHP without page reload.
contact-handler.php Validates form data, saves it, and sends emails.
contact-config.php Contains database and SMTP settings.
database.php Connects to MySQL and saves leads.
setup-contact.php Optional file to create database/table from command line.
contact-leads-schema.sql SQL file to create the table manually.
3. Form Requirements

If using your own contact form, make sure it has:

javascript


<form id="team-contact-form"
      action="../assets/php/contact-handler.php"
      method="POST">
Required Field Names
  • conName
  • conEmail
  • conSubject
  • conPhone
  • conMessage
Hidden Spam Field

HTML


<input type="text" name="website" style="display:none;">
JavaScript File

HTML


<script src="../assets/js/contact-us.js"></script>

Update the paths if your folder structure is different.

4. Database Settings

Open:

HTML


projects/dist/assets/php/contact-config.php

For XAMPP, use:

HTML


'database' => [
    'host' => 'localhost',
    'name' => 'aexora',
    'username' => 'root',
    'password' => '',
    'charset' => 'utf8mb4',
    'auto_create' => true,
],

The default database name is:

aexora

The PHP code can create the database/table automatically if permission is available.

5. SMTP Settings

In the same file:

HTML


projects/dist/assets/php/contact-config.php

Update the SMTP settings:

HTML


'smtp_host'             => 'smtp.gmail.com',
'smtp_port'             => 587,
'smtp_encryption'       => 'tls',
'smtp_username'         => 'example@gmail.com',
'smtp_password'         => '*************',
'from_email'            => '',
'from_name'             => 'Aexora Website',
'to_email'              => '',
'to_name'               => 'Website Leads',
'subject_prefix'        => '[Website Contact]',
'confirmation_subject'  => 'We received your message',

For Gmail, use a Gmail App Password, not your normal Gmail password.

If from_email and to_email are blank, the SMTP username email can be used for sending and receiving emails.

6. Manual Database Setup

If the database/table is not created automatically, open phpMyAdmin and run:

HTML


CREATE DATABASE IF NOT EXISTS aexora
CHARACTER SET utf8mb4
COLLATE utf8mb4_unicode_ci;

USE aexora;

CREATE TABLE IF NOT EXISTS contact_leads (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    name VARCHAR(150) NOT NULL,
    email VARCHAR(150) NOT NULL,
    phone VARCHAR(50) NOT NULL,
    subject VARCHAR(200) NOT NULL,
    message TEXT NOT NULL,
    ip_address VARCHAR(45) NULL,
    user_agent VARCHAR(255) NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
7. Test Using XAMPP
  1. Open XAMPP Control Panel.
  2. Start Apache and MySQL.
  3. Place the project inside: C:\xampp\htdocs\
  4. Example path: C:\xampp\htdocs\projects\dist
  5. Open the form in your browser: http://localhost/projects/dist/html/contact-us.html
  6. Fill the form and submit it.
  7. A success message should appear.
  8. Open phpMyAdmin: http://localhost/phpmyadmin
  9. Open database: aexora.
  10. Open table: contact_leads.
  11. Click Browse and verify the submitted lead.
8. Test Using Other Local Servers

For WAMP, MAMP, Laragon, or any other local server:

  1. Start the PHP/Apache server.
  2. Start MySQL.
  3. Place the project in the local server root folder:
    • XAMPP: htdocs
    • WAMP: www
    • MAMP: htdocs
    • Laragon: www
  4. Open the form using localhost: http://localhost/your-project-folder/html/contact-us.html
  5. Submit the form.
  6. Check the database and emails.
9. Success Check

The setup is working if:

  • The form submits successfully.
  • The data appears in the contact_leads table.
  • The website owner receives the email.
  • The user receives the confirmation email.
10. Common Issues
Error Fix
Invalid request method Do not open contact-handler.php directly. Submit the form instead.
Database connection failed Check MySQL is running and database details are correct.
Mail server error Check SMTP username, password, host, port, and encryption.
Contact form setup failed Create the database manually in phpMyAdmin.
Simple Flow

HTML


User submits form
        ↓
JavaScript sends data to PHP
        ↓
PHP saves data in MySQL
        ↓
PHP sends emails using SMTP
        ↓
Success message appears

Html Structure

General HTML structure of the Aexora-Creative Agency & Portfolio Bootstrap HTML Template Here is the Folder structure.

html

    <!-- include mainhead.html"-->

    </head>
    
    <body class="main-body light-theme">
    
         <!-- include switcher.html"-->
      
        <!-- include switcher-icon.html"-->
    
       <!-- include loader.html"-->

       <!-- include back-to-top.html"-->
    
        <div class="page">
    
            <!-- include header.html"-->
    
            <div class="main-content app-content pages-sections">
                <div id="scroll-shell">
                    <div id="scroll-stage">
                        <main id="main-area" class="main-area">
                            <div class="section-spacer"></div>
                            <!-- start: section -->
                            
                            <!-- end: section -->
    
                            <!-- include footer.html"-->
    
                        </main>
                    </div>
                </div>
            </div>
    
    
    
        </div>
    
        <!-- include menu_bar.html"-->

        <!-- include headersearch_modal.html"-->

        <!-- include commonjs.html"-->

         <!-- include partials/customjs.html"-->
    
    </body>
    
    </html>
    

Enable switcher in any page

To enable the switcher then you must have to place below html, css, js in your html page .

Rootpath for switcher: html/partials/switcher.html

Rootpath for switcher-icon: html/partials/switcher-icon.html

                                            <!-- Start Switcher -->
<div class="offcanvas offcanvas-end" tabindex="-1" id="switcher-canvas" aria-labelledby="offcanvasRightLabel">
    <div class="offcanvas-header justify-content-between border-bottom-0">
        <h5 class="offcanvas-title" id="offcanvasRightLabel">Switcher</h5>
        <a aria-label="anchor" href="javascript:void(0);" class="btn btn-icon" data-bs-dismiss="offcanvas">
            <i class="fe fe-x fs-4 lh-1"></i>
        </a>
    </div>
    <div class="offcanvas-body">
        <div class="">
            <p class="switcher-style-head">Theme Color Mode:</p>
            <div class="row switcher-style">
                <div class="col-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-light-theme">
                            Light
                        </label>
                        <input class="form-check-input" type="radio" name="theme-style" id="switcher-light-theme" checked>
                    </div>
                </div>
                <div class="col-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-dark-theme">
                            Dark
                        </label>
                        <input class="form-check-input" type="radio" name="theme-style" id="switcher-dark-theme">
                    </div>
                </div>
            </div>
        </div>
        <div class="">
            <p class="switcher-style-head">Directions:</p>
            <div class="row switcher-style">
                <div class="col-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-ltr">
                            LTR
                        </label>
                        <input class="form-check-input" type="radio" name="direction" id="switcher-ltr" checked>
                    </div>
                </div>
                <div class="col-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-rtl">
                            RTL
                        </label>
                        <input class="form-check-input" type="radio" name="direction" id="switcher-rtl">
                    </div>
                </div>
            </div>
        </div>
        <div class="">
            <p class="switcher-style-head">Layout Width Styles:</p>
            <div class="row switcher-style">
                <div class="col-6 col-xl-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-full-width">
                            Full Width
                        </label>
                        <input class="form-check-input" type="radio" name="layout-width" id="switcher-full-width" checked>
                    </div>
                </div>
                <div class="col-6 col-xl-5">
                    <div class="form-check switch-select">
                        <label class="form-check-label" for="switcher-boxed">
                            Boxed
                        </label>
                        <input class="form-check-input" type="radio" name="layout-width" id="switcher-boxed">
                    </div>
                </div>
            </div>
        </div>
        <div class="theme-colors">
            <p class="switcher-style-head">Theme Primary:</p>
            <div class="d-flex align-items-center switcher-style">
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-1" type="radio"
                        name="theme-primary" id="switcher-primary">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-2" type="radio"
                        name="theme-primary" id="switcher-primary1">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-3" type="radio" 
                        name="theme-primary" id="switcher-primary2">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-4" type="radio" 
                        name="theme-primary" id="switcher-primary3">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-primary-5" type="radio" 
                        name="theme-primary" id="switcher-primary4">
                </div>
                <div class="form-check switch-select me-3 ps-0 mt-1 color-primary-light">
                    <div class="theme-container-primary"></div>
                    <div class="pickr-container-primary"></div>
                </div>
            </div>
        </div>
        <div class="theme-colors">
            <p class="switcher-style-head">Theme Background:</p>
            <div class="d-flex align-items-center switcher-style">
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-1" type="radio"
                        name="theme-background" id="switcher-background" checked>
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-2" type="radio"
                        name="theme-background" id="switcher-background1">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-3" type="radio" name="theme-background"
                        id="switcher-background2">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-4" type="radio"
                        name="theme-background" id="switcher-background3">
                </div>
                <div class="form-check switch-select me-3">
                    <input class="form-check-input color-input color-bg-5" type="radio"
                        name="theme-background" id="switcher-background4">
                </div>
                <div class="form-check switch-select me-3 ps-0 mt-1 color-bg-transparent">
                    <div class="theme-container-background"></div>
                    <div class="pickr-container-background"></div>
                </div>
            </div>
        </div>
        <div class="">
            <p class="switcher-style-head">Loader:</p>
            <div class="row switcher-style gx-0"> 
                <div class="col-4"> 
                    <div class="form-check switch-select"> 
                        <label class="form-check-label" for="switcher-loader-enable"> Enable </label> 
                        <input class="form-check-input" type="radio" name="page-loader" id="switcher-loader-enable" checked=""> 
                    </div> 
                </div> 
                <div class="col-4"> 
                    <div class="form-check switch-select"> 
                        <label class="form-check-label" for="switcher-loader-disable"> Disable </label> 
                        <input class="form-check-input" type="radio" name="page-loader" id="switcher-loader-disable" checked=""> 
                    </div> 
                </div> 
            </div>
        </div>
        <div class="d-grid canvas-footer ps-3 pb-4 pe-5">
            <button type="button" id="reset-all" class="btn btn-danger">Reset</button>
        </div>
    </div>
</div>
<!-- End Switcher -->
                                            
                                        
                                            
                                                
        <!--  Switcher scss -->
        assets/scss/custom/_switcher.scss
                                             
                                        
                                            
                                                
        <!--  Custom-switcher js -->
        <script src="../assets/js/custom-switcher.js"> </script>
                                             
                                        

If you want switcher icon in html pages then replace below code in app header section

                                            
                                                
   <!-- Start Switcher-Icon -->
   <a aria-label="anchor" class="switcher-icon" data-bs-toggle="offcanvas" href="#switcher-canvas" aria-controls="switcher-canvas">
    <i class="ri-settings-2-line"></i>
   </a>

                                             
                                        

Aexora comes with power of Esbuild

esbuild is a blazing-fast JavaScript bundler and minifier designed for modern web development workflows. It is known for its exceptional speed, minimal configuration, and powerful features. Check here.

Prerequisites:

To install and set up all the prerequisites, follow these steps:

Ensure that Node.js is installed and running on your computer. If Node.js is already installed, you can skip this step. Otherwise, install it on your computer.

If you want to install and use the latest version of Node.js, you can find the necessary instructions on the official website.

To set up esbuild, you need to install it globally on your system. Run one of the following commands in your terminal:

code

 npm install -g esbuild
or

code

 npm install --save-dev esbuild
Installation

Please follow below steps to install and setup all pre requisites:

Make sure to have all above pre requisites installed & running in your computer

Open your terminal, go to your folder and enter below command. This would install all required dependencies in node_modules folder.

code

 npm install
Build Production File

After completing the above steps, run the following command from the project root (Aexora/src) in your terminal or command prompt:

code

 npm run dev

Note:-Ensure all required node_modules are installed to run the Esbuild tasks successfully.

The following command performs several tasks to streamline your development workflow below are some of the task it performs :

  1. Generates the dist/ directory
  2. Starts the local development server
  3. Watches for changes in the src/ folder (HTML, JavaScript, SCSS, etc.)
  4. Automatically reflects those changes in the dist/ output for live development

Credit's

Icons Credit
Icons References
Font Awesome https://fontawesome.com/
Bootstrap Icons https://icons.getbootstrap.com/
Boxicons https://boxicons.com/
Remix Icons https://remixicon.com/
Feather Icons https://feathericons.com/
Images Credit
Fonts Credit
Font References
Google Fonts https://fonts.google.com/

Switcher styles

html

<html lang="en" dir="ltr" data-nav-layout="horizontal" data-nav-style="menu-hover" data-theme-mode="light" loader="disable" data-menu-position="scrollable">

Light:

html

data-theme-mode="light"
Dark:

html

data-theme-mode="dark" 

LTR (Left to Right):

html

dir="ltr"
RTL (Right to Left):

html

dir="rtl"

Default Width:

html

data-width="default"
Full Width:

html

data-width="full-width"
Boxed:

html

data-width="boxed"

Enable:

html

loader="enable"
Disable:

html

loader="disable"

Choices JS :

Choices JS is very simple javascript plugin to style default select..

html

css

js

Swiper JS :

Swiper JS is very modern javascript plugin to replace bootstrap carousel..

html

css

js

noui slider :

noui slider is a modern javascript plugin for alert messages..

html

css

js

<!-- noUiSlider JS -->
<script src="../assets/libs/nouislider/nouislider.min.js"></script>
<script src="../assets/libs/wnumb/wNumb.min.js"></script>

/* default slider */
var slider = document.getElementById('slidermain');
noUiSlider.create(slider, {
    start: [30, 80],
    connect: true,
    range: {
        'min': 0,
        'max': 100
    }
});

Additional Plugins Included :

The following plugins have also been included, apart from the ones already listed in the above sections

Plugin Version URL
Bootstrap v5.3.3 https://www.npmjs.com/package/bootstrap
Animate Css v4.1.1 https://animate.style/
gsap v3.14.2 https://gsap.com/
imagesloaded v5.0.0 https://imagesloaded.desandro.com/
odometer v0.4.8 https://github.hubspot.com/odometer/docs/welcome/
wow.js v1.2.1 https://wowjs.uk/
Information
Need Help ?
Support Help Desk
Technical issues? Our support team is ready to help.
Pre-Sales
Have questions before purchasing? Contact our pre-sales team.
Pre-Sales Chat
Get immediate answers through our live chat support.