ApexTemplate Documentation
Welcome to the ApexTemplate documentation. This template is designed to be a perfect solution for developers and designers, combining modern design with high flexibility. This guide will provide a comprehensive overview of the template's structure, features, and how to use it effectively.
1. File Structure Overview
The ApexTemplate is built with a highly organized and flexible structure to ensure ease of use and customization. The main goal of this structure is to enable each Demo to function as a completely standalone website, giving you the freedom to use and modify a single demo without worrying about files from other demos.
Folder Structure:
ApexTemplate/
├── documentation/
│ └── index.html
├── assets/
│ ├── css/
│ │ ├── style.css
│ ├── js/
│ │ ├── main.js
│ ├── images/
│ │ └── pages/
│ ├── vendors/
├── demos/
│ ├── demo-1-agency/
│ │ ├── assets/
│ │ │ ├── css/
│ │ │ │ └── style.css
│ │ │ ├── js/
│ │ │ │ └── main.js
│ │ │ └── images/
│ │ │ └── vendors/
│ │ ├── index.html
│ │ ├── about.html
│ │ ├── services.html
│ │ ├── pricing.html
│ │ ├── contact.html
│ │ ├── 404.html
│ │ └── coming-soon.html
│ │ └── .htaccess
│ │ └── favicon.png
│ ├── demo-2-portfolio/
│ │ ├── assets/
│ │ │ ├── css/
│ │ │ └── js/
│ │ │ └── images/
│ │ │ └── vendors/
│ │ ├── index.html
│ │ ├── about.html
│ │ ├── pricing.html
│ │ ├── contact.html
│ │ ├── 404.html
│ │ └── coming-soon.html
│ │ └── .htaccess
│ │ └── favicon.png
│ ├── demo-3-business/
│ │ ├── assets/
│ │ │ ├── css/
│ │ │ └── js/
│ │ │ └── images/
│ │ │ └── vendors/
│ │ ├── index.html
│ │ ├── about.html
│ │ ├── services.html
│ │ ├── pricing.html
│ │ ├── contact.html
│ │ ├── 404.html
│ │ └── coming-soon.html
│ │ └── .htaccess
│ │ └── favicon.png
│ ├── demo-4-landing-page/
│ │ ├── assets/
│ │ │ ├── css/
│ │ │ └── js/
│ │ │ └── images/
│ │ │ └── vendors/
│ │ ├── index.html
│ │ ├── about.html
│ │ ├── pricing.html
│ │ ├── contact.html
│ │ ├── 404.html
│ │ └── coming-soon.html
│ │ └── .htaccess
│ │ └── favicon.png
│ └── demo-5-minimal/
│ ├── assets/
│ │ ├── css/
│ │ └── js/
│ │ │ └── images/
│ │ │ └── vendors/
│ ├── index.html
│ ├── about.html
│ ├── pricing.html
│ ├── contact.html
│ ├── 404.html
│ └── coming-soon.html
│ └── .htaccess
│ └── favicon.png
├── index.html
├── readme.txt
├── license.txt
├── favicon.png
ApexTemplate/ Main Folder: Contains the core template files, such as the main preview page
assets/ Folder (Root): This folder contains the CSS, JS, image files, and vendor libraries used exclusively by the main template preview page
demos/ Folder: This is the heart of the template. It contains a separate folder for each of the five demos. Each demo folder has its own self-contained assets and HTML pages.
.../demo-Name/assets/ Folder: The assets folder located inside each demo contains the demo-specific CSS, JS, vendor libraries, and image files. This structure ensures that each demo is completely independent in its styling, customization, and features.
2. Key Features of the Main Template Page (`index.html`)
The main page is designed to act as a living guide to the template, showcasing all available demos and page types in one place.
Features:
- Light/Dark Mode: The template supports two display modes that can be easily switched via a button in the header. The user's preference is saved in the browser's local storage for a consistent experience.
- Visual Effects (Animations): Professional animations like a Preloader and fade-up effects on scroll are integrated to provide a polished and modern feel.
- Dynamic Typing Effect (Typed.js): The demo section includes a dynamic text effect that types and deletes different phrases.
- Mega Menu: A drop-down menu in the main navigation provides quick access to all demos and page types.
- External Libraries: The template relies on external libraries like Swiper.js for sliders and Font Awesome for icons.
3. Customization & Editing Guide
The ApexTemplate is built for maximum independence and ease of use. The code is well-commented and organized to make modifications as simple as possible. Each of the five demos has a completely **self-contained asset structure**, allowing you to treat and modify any single demo as a fully **independent website**.
3.1. Main Customization Files (Per Demo)
To customize the look, feel, and functionality of any specific demo, you only need to focus on these two files located within the dedicated assets folder of that demo:
.../demo-Name/
└── assets/
├── css/
│ └── style.css // Main customization file (colors, layout)
└── js/
└── main.js // Main functional customization file (JS Code)
style.css (CSS): This file contains custom CSS rules. It is heavily commented to indicate sections and modification areas for colors, typography, and layout.
main.js (JavaScript): This file handles custom JavaScript functions (like Scroll-to-Top, Preloader, Theme Toggle logic, and AOS initialization).
3.2. Local Libraries Overview
All third-party libraries have been self-hosted (local) for superior performance and compliance. They are located in the assets/vendors/ folder of each demo. These libraries are:
- Bootstrap 5: Provides the responsive framework and utility classes.
- Font Awesome: Supplies all vector-based icons.
- AOS (Animate On Scroll): Manages the scroll-triggered animations.
- Swiper: Used for all responsive carousels and sliders.
- Typed.js: Used for the dynamic typing effects.
- Poppins Fonts: The font files are self-hosted to eliminate reliance on external servers, boosting performance.
3.3. Font Replacement
Since the Poppins font is self-hosted, you can easily replace it with any other custom font by:
- Replacing the
.woff2 files in the assets/vendors/fonts/ directory.
- Updating the
@font-face rules in the poppins.css file to reflect the new font name and file path.
4. Demo 1: Agency
The Agency demo is a full-fledged website designed for creative agencies, digital marketing companies, and professional service providers. It features a clean, modern design with smooth animations and a strong focus on showcasing your services and projects effectively.
Included Pages:
- Home (`index.html`): The main page, designed to capture visitor attention with a dynamic hero section.
- About Us (`about.html`): A dedicated page to tell your company's story, showcase your team, and highlight your values.
- Services (`services.html`): A detailed page to list and explain all the services you offer.
- Pricing (`pricing.html`): A clear and simple page to display your pricing plans.
- Contact (`contact.html`): A contact form page with location details and social media links.
- 404 Page (`404.html`): A stylish, branded page for when a user encounters a broken link.
- Coming Soon (`coming-soon.html`): A temporary page with a countdown timer for future announcements.
- Components (`components.html`): A page showcasing various reusable UI elements.
Key Features:
- Dedicated Assets: This demo has its own independent
assets folder, including specific CSS and JS files, ensuring it functions as a standalone website.
- Mega Menu: A fully responsive and feature-rich mega menu is included, providing a seamless and professional navigation experience for your visitors.
- Bootstrap 5 Integration: The demo is built on the latest version of Bootstrap, making it fully responsive and easy to customize.
- Animations on Scroll (AOS): Utilizes the AOS library to trigger stunning animations as users scroll down the page, providing a dynamic user experience.
- Preloader & Scroll-to-Top Button: Includes a preloader to improve perceived loading speed and a scroll-to-top button for easy navigation.
- Theme Toggle: Supports both light and dark modes, with the user's preference being saved in local storage.
- Dynamic Effects: The "Services" page includes a dynamic counter that animates numbers as the user scrolls.
- Snowfall Effect: A subtle snowfall effect is included on all pages, which can be easily toggled on or off.
5. Demo 2: Portfolio
The Portfolio demo is a creative and personal website template designed to showcase your work, skills, and professional journey. It is ideal for freelancers, designers, developers, and artists looking to create a strong online presence.
Included Pages:
- Home (`index.html`): The main page of the portfolio, featuring a captivating hero section to introduce yourself and your work.
- About Me (`about.html`): A page to share your story, expertise, and a detailed professional timeline.
- Pricing (`pricing.html`): A clear breakdown of your service packages and pricing.
- Contact (`contact.html`): A dedicated page with a contact form and location details for easy communication.
- 404 Page (`404.html`): A custom error page to gracefully handle broken links.
- Coming Soon (`coming-soon.html`): A countdown page for announcing new projects or a site launch.
- Components (`components.html`): A page showcasing various reusable UI elements.
Key Features:
- Dedicated Assets: Like other demos, this one has its own self-contained
assets folder to function as a standalone website.
- Mobile Menu Toggle: A responsive navigation menu that is specifically designed for mobile devices.
- Light/Dark Mode: Supports both light and dark themes, saving the user's preference in local storage.
- Animations on Scroll (AOS): Elements animate into view as you scroll down the page.
- Custom Preloader: Features a unique, circular preloader to enhance the initial loading experience.
- Countdown Timer: The "Coming Soon" page includes a functional countdown timer to build anticipation.
- Sticky Header: The navigation header becomes sticky on scroll for persistent access to the menu.
6. Demo 3: Business
The Business demo is a professional and robust template, ideal for corporate websites, business services, and product showcases. It features a clean and highly organized design, focusing on clear communication and a seamless user experience.
Included Pages:
- Home (`index.html`): The main page, designed with a professional layout to highlight your business's core services and strengths.
- About Us (`about.html`): A comprehensive page to detail your company's mission, values, and team members.
- Services (`services.html`): A clear breakdown of the services you offer, with dedicated sections for each.
- Pricing (`pricing.html`): A page to display different pricing tiers and packages.
- Contact (`contact.html`): A page with a contact form, map, and business information for easy communication.
- 404 Page (`404.html`): A custom error page to guide users back to the main site.
- Coming Soon (`coming-soon.html`): A temporary page with a countdown timer for upcoming launches.
- Components (`components.html`): A page showcasing various reusable UI elements.
Key Features:
- Dedicated Assets: Like other demos, this one has its own self-contained
assets folder to function as a standalone website.
- Fully Responsive: The template is built to look great on all devices, from desktops to mobile phones.
- Professional Layout: A clean and structured design that instills trust and professionalism.
- Smooth Animations: Subtle animations and transitions are used to provide an engaging user experience.
7. Demo 4: Landing Page
The Landing Page demo is a sleek and modern template designed for a single product or a specific marketing campaign. It focuses on a clean layout, a clear call-to-action, and professional visual elements to drive conversions.
Included Pages:
- Home (`index.html`): The main landing page, designed to showcase a single product with a clear call-to-action button for a limited-time offer.
- About Us (`about.html`): A page dedicated to telling the story behind the product and the company.
- Pricing (`pricing.html`): A simple pricing page to display different package options.
- Contact (`contact.html`): A dedicated page with a contact form for inquiries.
- 404 Page (`404.html`): A stylish, custom 404 error page.
- Coming Soon (`coming-soon.html`): A page with a countdown timer for a future product launch or announcement.
- Components (`components.html`): A page showcasing various reusable UI elements.
Key Features:
- Product-Centric Design: The template is built to highlight a single product effectively.
- Sticky Navigation: A fixed header ensures the main navigation is always accessible on scroll.
- Dynamic Pricing: The main page includes a quantity selector for the product.
- Smooth Animations: Uses the AOS (Animate On Scroll) library to add visual appeal as the user scrolls down the page.
- Custom Logo: Features a unique logo for this demo, "ApexDrone."
- Countdown Timer: The "Coming Soon" page includes a functional countdown timer to build anticipation.
8. Demo 5: Minimal
The Minimal demo is a clean and professional template designed for a creative agency, focusing on a minimalist aesthetic to highlight content and services without distraction.
Included Pages:
- Home (`index.html`): The main page with a clean, focused design.
- About Us (`about.html`): A dedicated page to share the agency's story and values.
- Pricing (`pricing.html`): A simple page to display pricing plans.
- Contact (`contact.html`): A contact page with a form for inquiries.
- 404 Page (`404.html`): A custom error page.
- Coming Soon (`coming-soon.html`): A countdown page for future announcements.
- Components (`components.html`): A page showcasing various reusable UI elements.
Key Features:
- Minimalist Design: Employs a clean and simple layout to focus on content.
- Preloader: Includes a preloader to improve the loading experience.
- Animations on Scroll (AOS): Utilizes the AOS library for subtle animations as users scroll.
- Scroll-to-Top Button: A button is included for easy navigation back to the top of the page.
- Snowfall Effect: A subtle snowfall effect can be toggled on or off.
- Theme Toggle: Supports both light and dark modes, with the user's preference being saved in local storage.