Focus Slider Documentation
Thank you for purchasing Focus Slider.
You can find the detailed information about the template in this document.
If you have any questions that are beyond the scope of this help
file,
please feel free to email via the Profile page.
1. Introduction
You are a shining owner of a regular license based on Photography Slider HTML Template.
Focus Slider
is a lightweight, responsive slider template for developers to create clean and modern sliders with ease.
We would like to thank you for choosing Focus Slider and for being our loyal customer. You are entitled to get free updates to this product + exceptional support (as per market policy) from the author directly.
We made Focus Slider from the ground-up with flexibility in mind.
Each element of Focus Slider is extremely customizable, where you can make Focus Slider to reflect your own branding styles.
The guide gives you detailed methodologies about how you can customize Focus Slider and make it fit your brand perfectly!
Please go through the documentation carefully to understand how this product is made and how to edit this properly.
Basic HTML and CSS knowledge is required to customize.
1.1 What's Included
After purchasing Focus Slider on codecanyon.net with your Envato account, go to your Download page.
Do not directly upload the zip file you downloaded from Themeforest. To begin, unzip the Themeforest file you just downloaded which contains the following files:
- documentation: contains what you are reading now.
- source: contains assets files.
- index.html: main HTML file.
Key features:
- Completely Responsive Design Optimized viewing on desktop, tablet and mobile devices.
- Easy Customization Customize each slide to meet your unique requirements and preferences.
- Beautiful Appearance on Any Device Great user experience on any screen size or resolution.
- Advanced Animation Effects Eye-catching transitions between slides.
- Cross-Browser Compatibility Seamless functionality on multiple browsers.
- Fast Loading Speed Optimized user experience with fast loading times.
- User-Friendly Interface Easy to use and navigate.
Other features:
- Based on Bootstrap 5.3.3 and Swiper Slider 4.1.1
- W3C HTML valid code
- Better Support (response within 24 hours)
- Free Regular Updates
- Well, Extensive Documentation
- Easy to Setup
2. Files Organization
Ensure the project folder is well-structured:
focus-slider/ βββ documentation/ # Full Documentation in HTML format βββ demos/ # Demo files for easy setup β βββ index.html # Example slider file β βββ assets/ # CSS, SASS, SCSS, JS, Fonts, and Images β βββ css/ # Stylesheets β βββ sass/ # SASS supported files β βββ scss/ # SCSS supported files β βββ js/ # JavaScript files β βββ fonts/ # Fonts imported β βββ img/ # Images used in the demo βββ source/ # Unminified source files (CSS/JS) βββ README.txt # This file
3. Usage Example
Basic HTML Structure for Focus Slider:
<!-- Gallery -->
<div class="gallery">
<!-- Gallery Fade Carousel -->
<div class="swiper-container gallery-slider">
<div class="swiper-wrapper">
<!-- Start Gallery Slide -->
<div class="swiper-slide" style="background: url('assets/image/img-01.jpg') no-repeat center top / cover">
<div class="container h-100">
<!-- Caption -->
<div class="swiper-caption">
<div class="row">
<div class=" col-md-5 col-lg-5">
<!-- Category -->
<span class="swiper-caption__ctg">Dinner</span>
<!-- Title -->
<h1 class="swiper-caption__ttl">Swordfish Fillet</h1>
<!-- Text -->
<p class="swiper-caption__txt">Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore, neque?
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsum, ex.
</p>
<!-- Link -->
<a class="swiper-caption__btn" href="">Order Now</a>
</div>
</div>
</div>
</div>
</div>
<!-- End Gallery Slide -->
</div>
</div>
</div>
4. Code Standards
- Validate all HTML and CSS using tools like the W3C Validator.
- Write clean, well-commented JavaScript code and follow best practices.
5. CSS Structure
<!-- Swiper -->
<link rel="stylesheet" href="assets/css/swiper.min.css">
<!-- Bootstrap -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom style -->
<link rel="stylesheet" href="assets/css/style.min.css">
<!-- Responsive -->
<link rel="stylesheet" href="assets/css/responsive.min.css">
6. Fonts Include
Custom Fonts imported inside style.min.css
file
/* Custom Fonts
-------------------------*/
@font-face {
font-family: 'Gilroy';
src: url('../../assets/fonts/Gilroy-Regular.eot');
src: url('../../assets/fonts/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
url('../../assets/fonts/Gilroy-Regular.woff2') format('woff2'),
url('../../assets/fonts/Gilroy-Regular.woff') format('woff'),
url('../../assets/fonts/Gilroy-Regular.ttf') format('truetype'),
url('../../assets/fonts/Gilroy-Regular.svg#Gilroy-Regular') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Gilroy';
src: url('../../assets/fonts/Gilroy-Bold.eot');
src: url('../../assets/fonts/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
url('../../assets/fonts/Gilroy-Bold.woff2') format('woff2'),
url('../../assets/fonts/Gilroy-Bold.woff') format('woff'),
url('../../assets/fonts/Gilroy-Bold.ttf') format('truetype'),
url('../../assets/fonts/Gilroy-Bold.svg#Gilroy-Bold') format('svg');
font-weight: bold;
font-style: normal;
font-display: swap;
}
7. JavaScript Structure
<!-- Jquery -->
<script src="assets/js/jquery.min.js"></script>
<!-- Swiper -->
<script src="assets/js/swiper.js"></script>
<!-- Ion Icons -->
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule="" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script>
<!-- Bootstrap -->
<script src="assets/js/bootstrap.min.js" crossorigin="anonymous"></script>
<!-- Custom -->
<script src="assets/js/main.min.js"></script>
8.1 Change Site Title
To change your Site Title open the index.html
in your editor and go to the title
tag.
<title>Carousel Slider</title>
9. Installation
We minified and used the following code to initialize the slider:
/* Fade Carousel
-------------------------*/
var slider = new Swiper ('.gallery-slider', {
slidesPerView: 1,
centeredSlides: true,
loop: true,
speed: 4000,
effect: "fade",
loopedSlides: 3,
breakpoints: {
// when window width is >= 768px
768: {
loopedSlides: 2,
},
// when window width is >= 992px
992: {
loopedSlides: 2,
},
// when window width is >= 1199px
1199: {
loopedSlides: 2,
},
// when window width is >= 1280px
1280: {
loopedSlides: 3,
}
}
});
10. Customization Options
Option | Type | Default | Description |
---|---|---|---|
slidesPerView | Number | 1 | Number of slides per view |
centeredSlides | Boolean | true | If true, then active slide will be centered, not always on the left side. |
spaceBetween | Number | 0 | Distance between slides in px. |
loop | Boolean | true | Set to true to enable continuous loop mode |
speed | Number | 1500 | Duration of transition between slides |
slideToClickedSlide | Boolean | true | Set to true and click on any slide will produce transition to this slide |
pagination | Boolean | true | Object with pagination parameters or boolean true to enable with default settings |
navigation | Boolean | true | Object with navigation parameters or boolean true to enable with default settings |
11. Testing
- Cross-Browser Compatibility: Test the slider on Chrome, Firefox, Edge, and Safari.
- Responsiveness: Ensure it works seamlessly on mobile, tablet, and desktop devices.
- Performance Optimization: Minify CSS/JS files and optimize assets for faster loading times.
12. Sources and Credits
The product uses following resources by third parties.
- Swiper 4.4.1
- Bootstrap 5.3.3
- Fonts Gilroy
- Images Pixabay
13. Support
For any questions or issues, please contact our support team:Email: alissioteam@gmail.com
Included in Free Support Scope:
- Fixing bugs
- Helping clients in changing site contents by sending instructions that couldnβt be covered by documentation
NOT Included in Free Support Scope:
- Any type of custom changes
- Any type of request to update clientsβ site contents
Paid Support Scope:
Paid support is not a part of Free Support when you purchase the template from themeforest. We understand that some clients need custom changes while using our template. For that we kept an option for paid support which includes:
- Custom change request
- Custom pages
- Custom features
We kept a flat rate for our paid support which is $35/hour.
Before seeking support, please...
- Make sure your question is a valid item issue and not a customization request.
- Make sure you have read through the documentation or any related video guides before asking support on how to accomplish a task.
14. Regular Updates
Weβre always improving our skills and knowledge so weβre making changes regularly. From bug fixes to new awesome features, updates generally come at least twice a month.
V. 1.0.0 β 07.01.2025 - Initial release
15. Thanks
Once again thank you for purchasing one of our Templates.