VeloForge Documentation
Complete guide to customize and understand the VeloForge Auto Parts E-Commerce HTML Template
Introduction
Welcome to VeloForge - a modern, responsive e-commerce HTML template designed specifically for auto parts stores, car accessories shops, and automotive businesses. This template comes with a clean design, modern components, and is built with the latest best practices.
What's Included
Clean HTML5 Code
Well-structured, semantic HTML5 markup with comments throughout.
Modern CSS
Custom CSS with organized sections and Bootstrap 5 foundation.
Responsive Design
Looks great on all devices from mobile phones to large desktops.
Video Support
Hero slider with video backgrounds for engaging visuals.
Features
| Feature | Description |
|---|---|
| Bootstrap 5 | Built on the latest Bootstrap framework for a solid responsive foundation |
| Video Hero Slider | Full-screen video backgrounds in the hero section with auto-play |
| Product Carousel | Slick-powered product sliders with responsive breakpoints |
| Parallax Effects | Smooth parallax scrolling on banner sections |
| Magnific Popup | Lightbox gallery for product images with zoom support |
| Leaflet Maps | Interactive map integration on the contact page |
| Nice Select | Beautiful custom dropdowns replacing default selects |
| Countdown Timer | Ready-to-use countdown for flash deals or promotions |
| Newsletter Section | Video background newsletter signup area |
| Mobile Menu | Off-canvas responsive navigation with Slicknav |
File Structure
Here's the complete folder structure of the VeloForge template:
- veloforge
- index.html - Homepage
- about.html - About page
- shop.html - Shop listing page
- shop-left-sidebar.html - Shop with sidebar filters
- single-product.html - Product details page
- cart.html - Shopping cart
- checkout.html - Checkout page
- wishlist.html - Wishlist page
- login.html - User login
- register.html - User registration
- contact.html - Contact page with map
- assets
- css
- style.css - Main custom styles
- bootstrap.min.css - Bootstrap framework
- font-awesome.min.css - Font Awesome icons
- ionicons.min.css - Ionicons
- slick.min.css - Slick slider
- magnific-popup.min.css - Lightbox popup
- nice-select.min.css - Custom select
- leaflet.min.css - Map styles
- animate.min.css - Animations
- helper.min.css - Utility classes
- js
- active.js - Main custom JavaScript
- jquery.min.js - jQuery library
- bootstrap.min.js - Bootstrap JS
- slick.min.js - Slick slider
- jquery.magnific-popup.min.js - Lightbox
- jquery.nice-select.min.js - Custom select
- leaflet.min.js - Map library
- countdown.js - Countdown timer
- img
- logo.png - Main logo
- logo-favicon.png - Favicon
- banner - Banner images
- bg - Background images
- product - Product images
- videos - Hero video files
- fonts - Icon font files
- css
Pages Overview
VeloForge includes 11 ready-to-use HTML pages covering all essential e-commerce needs:
Page Templates
Homepage (index.html)
The homepage features a full-screen video hero slider, featured products carousel, promotional banners, and a newsletter section with video background.
Shop Pages
Two shop layouts are available:
- shop.html - Full-width product grid (4 columns)
- shop-left-sidebar.html - Products with sidebar filters
Product Details
The single-product.html page includes product image gallery with lightbox, product info, color/size options, quantity selector, and tabbed description/reviews.
Cart & Checkout
Complete shopping cart with quantity controls, coupon code input, and cart totals. The checkout page includes billing form, order summary, and shipping options.
Colors & Branding
VeloForge uses a professional color scheme perfect for automotive businesses:
Changing the Primary Color
To change the primary brand color throughout the template, open assets/css/style.css and search for #eeb644. Replace all occurrences with your desired color.
/* Primary Color - Search and replace #eeb644 with your color */
/* Example: Selection highlight color */
::selection {
background: #eeb644; /* Change this */
color: #FFFFFF;
}
/* Example: Brand button */
.btn-brand {
background-color: #eeb644; /* Change this */
border-color: #eeb644; /* Change this */
}
Typography
VeloForge uses two Google Fonts for a clean, professional look:
| Font | Usage | Weights |
|---|---|---|
| Oswald | Headings, buttons, navigation | 400, 500, 600, 700 |
| Poppins | Body text, paragraphs | 400, 400i, 500, 600 |
Changing Fonts
To change the fonts, update the Google Fonts link in the <head> section of each HTML file:
<!-- Current fonts -->
<link href="https://fonts.googleapis.com/css?family=Oswald:400,500,600,700%7CPoppins:400,400i,500,600&display=swap" rel="stylesheet">
<!-- To change, visit fonts.google.com and get your new embed link -->
Then update the font-family in style.css:
body {
font-family: "Poppins", sans-serif; /* Body font */
}
h1, h2, h3, h4, h5, h6 {
font-family: "Oswald", sans-serif; /* Heading font */
}
Logo & Favicon
Changing the Logo
Prepare Your Logo
Create your logo image in PNG format. Recommended size: around 150-200px width with transparent background.
Replace the File
Replace assets/img/logo.png with your new logo file, keeping the same filename.
Update Favicon
Replace assets/img/logo-favicon.png with a square version of your logo (32x32 or 64x64 px recommended).
Images & Media
Image Locations
| Folder | Content | Recommended Size |
|---|---|---|
| assets/img/banner/ | Promotional banners | 600x400px |
| assets/img/bg/ | Page backgrounds | 1920x800px |
| assets/img/product/ | Product images | 600x600px (square) |
| assets/img/videos/ | Hero slider videos | 1920x1080px MP4 |
Hero Video Slider
To change the hero video slides, edit the video sources in index.html:
<div class="slider-slide-item video-slide">
<video class="hero-slide-video" autoplay muted loop playsinline>
<source src="assets/img/videos/your-video.mp4" type="video/mp4">
</video>
<div class="container container-wide h-100">
<!-- Slide content here -->
</div>
</div>
Product Cards
Product cards are used throughout the shop pages. Here's the structure:
<div class="product-item">
<!-- Product Image -->
<div class="product-item__thumb">
<a href="single-product.html">
<img class="thumb-primary" src="assets/img/product/top-picks/car-brake.jpg" alt="Performance Brake Kit" />
</a>
</div>
<!-- Product Info -->
<div class="product-item__content">
<div class="ratting">
<span><i class="ion-android-star"></i></span>
<span><i class="ion-android-star"></i></span>
<span><i class="ion-android-star"></i></span>
<span><i class="ion-android-star"></i></span>
<span><i class="ion-android-star-half"></i></span>
</div>
<h4 class="title"><a href="single-product.html">Performance Brake Kit</a></h4>
<span class="price"><strong>Price:</strong> $165.00</span>
</div>
<!-- Action Buttons -->
<div class="product-item__action">
<button class="btn-add-to-cart"><i class="ion-bag"></i></button>
<button class="btn-add-to-cart"><i class="ion-ios-loop-strong"></i></button>
<button class="btn-add-to-cart"><i class="ion-ios-heart-outline"></i></button>
<button class="btn-add-to-cart"><i class="ion-eye"></i></button>
</div>
<!-- Sale Badge (optional) -->
<div class="product-item__sale">
<span class="sale-txt">25%</span>
</div>
</div>
Sliders & Carousels
VeloForge uses Slick Slider for carousels. Configuration is in assets/js/active.js.
Hero Slider Settings
$heroSlider.slick({
slidesToShow: 1,
dots: true,
autoplay: true,
autoplaySpeed: 5000, // Change slide every 5 seconds
pauseOnHover: false,
adaptiveHeight: true,
nextArrow: '<button class="slick-next"><i class="ion-chevron-right"></i></button>',
prevArrow: '<button class="slick-prev"><i class="ion-chevron-left"></i></button>'
});
Product Carousel Settings
$(".product-carousel").slick({
slidesToShow: 5, // Show 5 products on desktop
slidesToScroll: 2,
arrows: false,
responsive: [
{
breakpoint: 1300,
settings: { slidesToShow: 4 }
},
{
breakpoint: 992,
settings: { slidesToShow: 3 }
},
{
breakpoint: 767,
settings: { slidesToShow: 2 }
},
{
breakpoint: 480,
settings: { slidesToShow: 1 }
}
]
});
Forms
The template includes forms for contact, login, register, checkout, and newsletter:
Contact Form
The contact form on contact.html is AJAX-ready. To make it functional:
Create a PHP Handler
Set up a server-side script (mail.php) to process form submissions.
Update Form Action
Change the form action attribute to point to your handler script.
<!-- Update the action URL to your handler -->
<form action="your-mail-handler.php" method="post" id="contact-form">
<!-- Form fields -->
</form>
JavaScript
All custom JavaScript is in assets/js/active.js. Here's what each section does:
| Feature | Description |
|---|---|
| Background Image | Applies data-bg attribute as background-image |
| Parallax Scroll | Smooth parallax effect on CTA sections |
| Countdown | Flash deal countdown timer |
| Responsive Menu | Mobile off-canvas navigation |
| Magnific Popup | Product image lightbox gallery |
| Scroll Top | Smooth scroll to top button |
| Contact Form | AJAX form submission handler |
| Contact Map | Leaflet map on contact page |
| Nice Select | Custom styled dropdown selects |
| Product Quantity | Plus/minus quantity controls |
| All Sliders | Hero, product, and thumbnail sliders |
Dependencies
VeloForge uses the following libraries and frameworks:
| Library | Version | Purpose |
|---|---|---|
| Bootstrap | 5.x | Responsive grid & components |
| jQuery | 3.x | DOM manipulation |
| Slick Slider | 1.8 | Carousels & sliders |
| Magnific Popup | 1.1 | Lightbox galleries |
| Nice Select | 1.0 | Custom dropdowns |
| Leaflet | 1.x | Interactive maps |
| Font Awesome | 4.7 | Icon font |
| Ionicons | 2.x | Additional icons |
| Animate.css | 4.x | CSS animations |
Credits
Resources and assets used in this template:
- Bootstrap - getbootstrap.com
- jQuery - jquery.com
- Slick Slider - kenwheeler.github.io/slick
- Magnific Popup - dimsemenov.com
- Leaflet - leafletjs.com
- Font Awesome - fontawesome.com
- Ionicons - ionicons.com
- Google Fonts - fonts.google.com