Introduction

Thank you for choosing Zlieds! We’re thrilled that you’ve selected our animated slider for your project. Our goal is to provide you with a seamless experience and powerful tools to create stunning, interactive web sliders effortlessly.

Before you begin using the slider, we highly recommend reviewing this guide. It contains all the essential information, setup instructions, and best practices to help you make the most out of Zlieds.

If you have any questions or need assistance, our support team is ready to help. Simply submit a ticket through our support portal, and we’ll get back to you as soon as possible.

Technologies Used

This slider is built using modern web technologies to deliver smooth animations and a seamless user experience:

  1. - Bootstrap Framework for responsive design and pre-styled components, ensuring a seamless user experience across all devices.

    - Swiper.js for powerful, touch-enabled sliders with advanced customization options.

    - GSAP (GreenSock Animation Platform) for high-performance animations and smooth transitions.

    - Three.js for immersive 3D effects and interactive visuals.

    - Vanilla JavaScript (ES6+) to ensure optimal performance without relying on heavy frameworks.

Directory Structure

Extract the zip file you received after purchase and you would find the exact below files and folders:

zlides        # [Root Folder] Main project folder
├── assets    # [Folder] Static resources (CSS, fonts, images, JS)
│   ├── css   # [Folder] Stylesheets
│   │   ├── plugins                               # [Folder] Plugin-specific CSS files
│   │   │   ├── bootstrap.css                     # [CSS File] Bootstrap styles
│   │   │   ├── swiper.css                        # [CSS File] Swiper styles
│   │   ├── main                                  # [Folder] Main stylesheet files
│   │   │   ├── main.css                          # [CSS File] Main styles
│   ├── fonts # [Folder] Font files
│   ├── images# [Folder] Image files
│   ├── js    # [Folder] JavaScript files
│   │   ├── custom                                # [Folder] Custom scripts
│   │   │   ├── sliders.js                        # [JS File] Main slider logic
│   │   │   ├── threejs-slider-effect.js          # [JS File] Three.js slider effect
│   │   ├── plugins                               # [Folder] External JS plugins
│   │   │   ├── gsap.js                           # [JS File] Plugins -  GSAP library
│   │   │   ├── swiperjs.js                       # [JS File] Plugins - Swiper library
│   │   │   ├── threejs.js                        # [JS File] Plugins - Three.js library
│   │   ├── main.js                               # [JS File] Main JavaScript entry file
│   ├── scss  # [Folder] SCSS files for styling
│   │   ├── components                            # [Folder] Component-specific SCSS
│   │   │   ├── _loading.scss                     # [SCSS File] Loading styles
│   │   │   ├── _menu.scss                        # [SCSS File] Menu styles
│   │   │   ├── _normal_link.scss                 # [SCSS File] Normal link styles
│   │   │   ├── _project.scss                     # [SCSS File] Project styles
│   │   │   ├── sliders                           # [Folder] Slider-specific SCSS
│   │   │   │   ├── _slider.scss                  # [SCSS File] Base slider styles
│   │   │   │   ├── _slider_contact.scss          # [SCSS File] Contact slider styles
│   │   │   │   ├── _slider_footer.scss           # [SCSS File] Footer slider styles
│   │   │   │   ├── _slider_images.scss           # [SCSS File] Image slider styles
│   │   │   │   ├── _slider_pagination.scss       # [SCSS File] Pagination styles
│   │   │   │   ├── _slider_social_bar.scss       # [SCSS File] Social bar styles
│   │   │   │   ├── _slider-texts.scss            # [SCSS File] Text styles for sliders
│   │   ├── site                                  # [Folder] Global site styles
│   │   │   ├── _body.scss                        # [SCSS File] Body styles
│   │   │   ├── _classes_color.scss               # [SCSS File] Color classes
│   │   │   ├── _colors.scss                      # [SCSS File] Color definitions
│   │   │   ├── _containers.scss                  # [SCSS File] Containers and grid
│   │   │   ├── _font_family.scss                 # [SCSS File] Font families
│   │   │   ├── _helper_class.scss                # [SCSS File] Helper classes
│   │   │   ├── _margin.scss                      # [SCSS File] Margin utilities
│   │   │   ├── _padding.scss                     # [SCSS File] Padding utilities
│   │   │   ├── _placeholder.scss                 # [SCSS File] Placeholder styles
│   │   │   ├── _screen.scss                      # [SCSS File] Media queries
│   │   │   ├── _tags.scss                        # [SCSS File] Tags and labels
│   │   │   ├── _typography.scss                  # [SCSS File] Typography styles
│   │   │   ├── _variables.scss                   # [SCSS File] SCSS variables
│   │   ├── main.scss                             # [SCSS File] Main SCSS file
├── pages     # [Folder] HTML pages for different slider demos
│   ├── index.html                                # [HTML File] Horizontal vertical slider (Main page)
│   ├── slider-centered.html                      # [HTML File] Centered slider demo
│   ├── slider-creative.html                      # [HTML File] Creative slider demo
│   ├── slider-liquid-v.html                      # [HTML File] Liquid vertical slider
│   ├── slider-padding-h.html                     # [HTML File] Horizontal padding slider
│   ├── slider-padding-v.html                     # [HTML File] Vertical padding slider
│   ├── slider-parallax-h.html                    # [HTML File] Horizontal parallax slider
│   ├── slider-parallax-v.html                    # [HTML File] Vertical parallax slider
│   ├── slider-three-col.html                     # [HTML File] Three-column slider demo
├── favicon.png                                   # [Image] Favicon for the project

Bootstrap Framework

Overview

This template is built using the Bootstrap Framework, a popular front-end library for responsive and mobile-first web development. It provides a solid foundation with pre-styled components and a flexible grid system.

Requirements

  1. 1. A Modern Web Browser

    Ensure you have an up-to-date web browser such as Chrome, Firefox, or Edge for the best experience.

  2. 2. A Code Editor

    Use a code editor like VS Code, Sublime Text, or any preferred text editor for customization.

  3. 3. Basic Knowledge

    Familiarity with HTML, CSS (SCSS), and JavaScript is recommended for making modifications.

Installation

To use this template, follow these steps:

  1. 1. Download the Template

    Download the Zlieds Slider from the official codecanyon.

  2. 2. Extract the Files

    Unzip the downloaded package to your local machine.

  3. 3. Open the Project

    Navigate to the extracted folder and open the index.html file in your browser to preview the slider.

  4. 4. Customize

    Edit the HTML, SCSS, and JavaScript files to modify the slider according to your needs.

No additional dependencies or installations are required. The slider is ready to use out of the box.

Usage Example

Overview

The `slider-container` is a wrapper that holds all the details of the slider, including navigation, slides, and animations.

Slider Structure
    
<div class="slider-container slider-parallax vw-100 vh-100 d-flex align-items-center position-relative overflow-hidden"></div>
        <!-- Start zlides-texts - Container for project descriptions and titles -->
    <div class="zlides-texts w-100 h-100 position-absolute start-0 top-0 d-flex justify-content-center align-items-center">
                <!-- Start Swiper slider for project titles and tags -->
        <div class="swiper slider-texts w-100 h-100 position-relative" data-hover-preview="true" data-zlides-options='{
            "direction":"vertical",
            "speed":"800",
            "screenLarge":"5.5",
            "screenDesktop":"4",
            "screenTablet":"5",
            "screenMobile":"5",
            "centeredSlides":"false",
            "spaceBetween":"0"
        }'>
                        <!-- Start Swiper Wrapper -->
            <div class="swiper-wrapper mx-auto">
                                <!-- Project 1 -->
                <div class="swiper-slide w-100 start-0 d-flex align-items-center">
                    <div class="project-data cursor-none">
                                               <!-- Project tags -->
                        <div class="tags">
                            <a href="#">
                                <span class="body-xs color-5">Style</span>
                            </a>

                            <a href="#">
                                <span class="body-xs color-5">Clothing</span>
                            </a>
                        </div>
                                                 <!-- Project title -->
                        <a href="#" class="slider-text d-flex flex-column justify-content-center justify-content-lg-start position-relative">
                            <span class="number counter pe-3 position-absolute end-100 top-0"></span>
                            <p class="slide-title">Fashion</p>
                        </a>
                    </div>
                </div>
            </div>
                <!-- End Swiper Wrapper -->
    </div>
        <!-- End Swiper Slider -->

        <!-- Start Pagination indicators for the slider -->
    <div class="slider-pagination cursor-none pe-lg-4"></div>
        <!-- End Pagination indicators for the slider -->
        <!-- Start zlides-images -->
    <div class="zlides-images position-absolute overflow-hidden dark-overlay">
               <!-- Swiper slider for image thumbnails -->
        <div class="swiper slider-thumbs h-100 overflow-visible" data-webGel="false" data-slider-thumbs='{
            "direction":"horizontal",
            "speed":800,
            "screenLarge":"1",
            "screenDesktop":"1",
            "screenTablet":"1",
            "screenMobile":"1",
            "centeredSlides":"true",
            "spaceBetween":"0"
        }'>
            
                        <!-- Start Swiper Wrapper -->
            <div class="swiper-wrapper h-100">
                                <!-- Project 1 Image Slide -->
                <div class="swiper-slide h-100 overflow-hidden">
                    <div class="slider-image w-100 h-100 d-flex justify-content-center align-items-center position-relative">
                        <img src="" class="liquid-element w-100 h-100 object-fit-cover" alt="">
                    </div>
                </div>
            </div>
                        <!-- End Swiper Wrapper -->
        </div>
               <!-- End Swiper Slider -->
        
                <!-- Canvas element for image warping effects -->
        <div class="contain-canvas-images">
            <canvas id="canvasThree" class="canvas-images" data-options='{
                "warpImage":"assets/images/canvasWarpImage.jpg",
                "direction":"horizontal",
                "containerSlider":".zlides-images",
                "swiperElement":".zlides-images .swiper",
                "selectImagesFrom":".liquid-element"
            }'></canvas>
        </div>
    </div>

        <!-- End zlides-images -->
        <!-- Start Contact Section -->
    <div class="zlider-contact mb-5 mb-lg-0 pb-5 position-absolute d-flex flex-column flex-lg-row align-items-center align-items-lg-end">
              <!-- Email Contact -->
        <div class="contact-email pe-lg-5 pb-3 pb-lg-0 h-100 d-flex flex-column align-items-center align-items-lg-start justify-content-end">
            <p class="mb-3 body-xs color-5">Ready to bring your project to life?</p>
            <a class="h5 m-0 text-gradient" href="mailto:example@zlides.zlides" aria-label="Send an email to example@zlides.zlides">
                example@zlides.zlides
            </a>
        </div>
              <!-- Phone Contact -->
        <div class="contact-phone ps-lg-5 w-100 h-100 position-relative d-flex justify-content-center align-items-end">
            <a class="h5 m-0 text-nowrap" href="tel:+12345689" aria-label="Call us at +0 123 456 789">
                <span class="color-primary">+</span> 0 123 456 789
            </a>
        </div>
    </div>
        <!-- End Contact Section -->
</div>
    

Colors

In the template, there is a set of predefined colors that are used throughout the design. These colors are defined using CSS custom properties (CSS variables) for easy maintenance and customization.

SCSS File

The colors are defined in the SCSS file located at: assets\scss\site\_colors.scss

Here are the color variables:

/* ================= Colors ================= */ :root {
    --color-black: #1e2024;
    --color-black-2: #181818;
    --color-primary: #f25749;
    --color-light: #fff;
    --color-1: #d7dbdf;
    --color-2: rgba(241, 241, 241, 20%);
    --color-3: #4f5659;
    --color-4: #efd8c9;
    --color-5: #e9ecf2;
}

The color variables defined in \_colors.scss are then used in the stylesheet to style various elements of the page. You can customize these values in the SCSS file to change the theme colors across the site.

Explanation of Color Variables:
  • --color-black

    A dark black color

    #1e2024

  • --color-black-2

    A slightly lighter black

    #181818

  • --color-primary

    The primary color used for accents

    #f25749

  • --color-light

    White color

    #ffffff

  • --color-1

    A light gray color

    #d7dbdf

  • --color-2

    A semi-transparent light gray

    rgba(241, 241, 241, 20%)

  • --color-3

    A muted gray-green color

    #4f5659

  • --color-4

    A soft beige color

    #efd8c9

  • --color-5

    A very light blue-gray color

    #e9ecf2

Support

Once again thank you for your purchase. We'll be happy to answer the questions you have related to the template. In case if you have any suggestion or feature, request please feel free to contact us, We'll try to implement it and will release it as part of future updates.

Thanks for purchasing template and for supporting our work. If we fail here in this documentation, please e-mail us . If you have a spare time, please go and rate my template. We will appreciate that.

If you have any questions or need further assistance, our support team is here to help. Simply submit a ticket through our support portal, and we’ll get back to you promptly.

Stay Awesome!

SkewDiv