parallax 074
01 - Get Started
Note: This documentation Page is only for
parallax 074
layout. It has no link with other layouts if you want to read their documentation then click
here
Required Files And Folders
Please follow the instructions:
- Please upload the
paradise
folder to your server. In this folder you will find the following sub folders containing all of the slides content:
- js
- css
- fonts
- images
- font-awesome-4.7.0
If your Paradise Slider is placed in a different folder, don’t forget to change the file paths in the upcoming examples!
- This step is very important, because product functionality depends on these files, so please first of all attach these files carefully. CSS in
<head>
section and JavaScript in <body>
section:
- <!-- Google Web Fonts -->
-
<link href="https://fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
- <!-- Font Awesome -->
-
<link href="paradise/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
- <!-- Bootstrap Style Sheet -->
-
<link href="paradise/css/bootstrap.css" rel="stylesheet" media="all">
- <!-- Animation -->
-
<link href="paradise/css/animate.css" rel="stylesheet" media="all">
- <!-- Paradise Slider Main Style Sheet -->
-
<link href="paradise/css/min/paradise_slider_min.css" rel="stylesheet" media="all">
- <!-- jQuery -->
-
<script src="paradise/js/jquery.js"></script>
- <!-- Bootstrap JS -->
-
<script src="paradise/js/bootstrap.js"></script>
- <!-- Touch Swipe -->
-
<script src="paradise/js/touchSwipe.js"></script>
- <!-- Parallax -->
-
<script src="paradise/js/parallax.js"></script>
- <!-- Paradise Slider Main JS File -->
-
<script src="paradise/js/paradise_slider_min.js"></script>
Note: All these files are only for parallax 074
layout only
Or by using CDN
You can load Bootstrap and jQuery files with a single line of code from their official online sources. You don't even have to download or install anything!
- <!-- Bootstrap Style Sheet -->
-
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
- <!-- jQuery -->
-
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
- <!-- Bootstrap JS -->
-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
mega vs single
You can use Paradise Slider CSS in two ways:
- You can use only one Compressed or UnCompressed CSS file for all
Paradise Slider layouts
. You can find these files in the sub folder min
in main css folder.
- As well as concern to other method, you can use a single CSS file for a single
Paradise Slider layout
. You can find all of these files in the main CSS folder. In this case you can use only parallax_074.css
file.
HTML Markup
After attaching all of the above files, insert following HTML to the <body>
section. This HTML defines your slider content.
<!-- Paradise Slider -->
<div id="parallax_074" class="carousel slide ps_indicators_brown ps_control_brown thumb_scroll_x
swipe_x ps_slowSpeedy" data-ride="carousel" data-pause="hover" data-interval="5000" data-duration="2000">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#parallax_074" data-slide-to="0" class="active"></li>
<li data-target="#parallax_074" data-slide-to="1"></li>
<li data-target="#parallax_074" data-slide-to="2"></li>
</ol>
<!-- Wrapper For Slides -->
<div class="carousel-inner" role="listbox">
<!-- First Slide -->
<div class="carousel-item active prlx_074_bg_img" style="background-image:url(paradise/images/parallax_074_01.jpg);"> <!-- Background Image -->
<!-- Left Slide Text Layer -->
<div class="prlx_074_slide">
<span class="layer" data-depth="0.15"><span></span></span> <!-- Target -->
<h1 class="layer" data-depth="0.30" data-animation="animated zoomIn">we are<span>szthems.</span></h1>
<p class="layer" data-depth="0.45" data-animation="animated zoomIn">Lorem ipsum dolor sit
amet consectetuer adipiscing elit nam nibh nunc varius facilisis eros sed erat.</p>
<a href="#" class="layer" data-depth="0.60" data-animation="animated zoomIn">see more</a>
</div> <!-- /Left Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
<!-- Second Slide -->
<div class="carousel-item prlx_074_bg_img" style="background-image:url(paradise/images/parallax_074_02.jpg);"> <!-- Background Image -->
<!-- Right Slide Text Layer -->
<div class="prlx_074_slide prlx_074_slide_right">
<span class="layer" data-depth="0.15"><span></span></span> <!-- Target -->
<h1 class="layer" data-depth="0.30" data-animation="animated zoomIn">we are<span>szthems.</span></h1>
<p class="layer" data-depth="0.45" data-animation="animated zoomIn">Lorem ipsum dolor sit
amet consectetuer adipiscing elit nam nibh nunc varius facilisis eros sed erat.</p>
<a href="#" class="layer" data-depth="0.60" data-animation="animated zoomIn">see more</a>
</div> <!-- /Right Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
<!-- Third Slide -->
<div class="carousel-item prlx_074_bg_img" style="background-image:url(paradise/images/parallax_074_03.jpg);"> <!-- Background Image -->
<!-- Center Slide Text Layer -->
<div class="prlx_074_slide prlx_074_slide_center">
<span class="layer" data-depth="0.15"><span></span></span> <!-- Target -->
<h1 class="layer" data-depth="0.30" data-animation="animated zoomIn">we are<span>szthems.</span></h1>
<p class="layer" data-depth="0.45" data-animation="animated zoomIn">Lorem ipsum dolor sit
amet consectetuer adipiscing elit nam nibh nunc varius facilisis eros sed erat.</p>
<a href="#" class="layer" data-depth="0.60" data-animation="animated zoomIn">see more</a>
</div> <!-- /Center Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
</div><!-- End of Wrapper For Slides -->
<!-- Left Control -->
<a class="carousel-control-prev" href="#parallax_074" data-slide="prev">
<span class="fa fa-caret-left"></span>
</a>
<!-- Right Control -->
<a class="carousel-control-next" href="#parallax_074" data-slide="next">
<span class="fa fa-caret-right"></span>
</a>
</div> <!--End Paradise Slider-->
Note: The Above example will create three slides. This HTML Structure is only for parallax 074
layout
02 - Slider HTML Elements
Bootstrap Carousel Contents
Bootstrap Carousel
is the foundation of this slider. The main structure of Bootstrap Carousel
which is used in this layout is as following:
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-pause="hover" data-interval="5000">
<!-- Wrapper For Slides -->
<div class="carousel-inner" role="listbox">
<!-- Slide -->
<div class="carousel-item">
<img src="image.jpg" alt="image" />
</div>
</div
</div>
We have assigned our own id to the first <div>
that is parallax_074
(Parallax_074)
Slide Contents
The content for the slide is as following:
Text Layer
- In bootstrap carousel
<div>
element which has carousel-item
as class name show a single slide.
- In this layout we have created our own
<div>
element which has prlx_074_slide
as class name for Text Layer
<!-- Slide -->
<div class="carousel-item prlx_074_bg_img" style="background-image:url(paradise/images/parallax_074_01.jpg);"> <!-- Background Image -->
<!-- Left Slide Text Layer -->
<div class="prlx_074_slide">
<span class="layer" data-depth="0.15"><span></span></span> <!-- Target -->
<h1 class="layer" data-depth="0.30" data-animation="animated zoomIn">we are<span>szthems.</span></h1>
<p class="layer" data-depth="0.45" data-animation="animated zoomIn">Lorem ipsum dolor sit
amet consectetuer adipiscing elit nam nibh nunc varius facilisis eros sed erat.</p>
<a href="#" class="layer" data-depth="0.60" data-animation="animated zoomIn">see more</a>
</div> <!-- /Left Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
In this layout we have used following components for Text Layer
<a>
<p>
<h1>
<div>
<span>
Note: The active
class needs to be added to the first slide. Otherwise, the carousel will not be visible.
How To Use Background Images
In this layout we have used inline CSS for Slider Background Images and assign a class prlx_074_bg_img
as you can see below.
<!-- Slide -->
<div class="carousel-item prlx_074_bg_img" style="background-image:url(paradise/images/parallax_074_01.jpg);">
</div> <!-- /carousel-item -->
<!-- End of Slide -->
How To Use Parallax Effect
In this layout we have used jQuery Plugin Parallax Master
of Matthew Wagerfield for parallax effect. Please follow the instructions carefully;
Attch the following file first
<!-- Parallax -->
<script src="paradise/js/parallax.js"></script>
Assign the layer
class and data-depth=""
attribute to elements on those you want to apply parallax effect as you can see below.
<!-- Left Slide Text Layer -->
<div class="prlx_074_slide">
<span class="layer" data-depth="0.15"><span></span></span> <!-- Target -->
<h1 class="layer" data-depth="0.30" data-animation="animated zoomIn">we are<span>szthems.</span></h1>
<p class="layer" data-depth="0.45" data-animation="animated zoomIn">Lorem ipsum dolor sit
amet consectetuer adipiscing elit nam nibh nunc varius facilisis eros sed erat.</p>
<a href="#" class="layer" data-depth="0.60" data-animation="animated zoomIn">see more</a>
</div> <!-- /Left Slide Text Layer -->
The Value of data-depth=""
attribute describe movement of layer.
If you want to know more about Parallax Effect then click HERE.
03 - Classes
We have used following our own classes and id in this layout, that control and change the whole slider.
.swipe_x
: This class enables Horizontal swipe function
#parallax_074
: Describe the Slider's Unique Id.
.prlx_074_slide
: Enable Styles for Text Layer
.prlx_074_slide_right
: Move the Text Layer to the Right side
.prlx_074_slide_center
: Move the Text Layer in the Center
.thumb_scroll_x
: This class enables Horizontal scroll function for indicators
.ps_indicators_brown
: This class makes Brown indicators box with numbers at the bottom and the center side of the slider
.ps_control_brown
: This class makes left and right Brown Box butttons.
.slide
: Enable Sliding Effect.
.ps_slowSpeedy
: This class enables Transition Timing Function for Slide Effect
.prlx_074_bg_img
: This class enables Setting of Background Image of Slider
.layer
: This class enables Setting of Parallax Layers
Note: prlx
Stands for " Parallax " and 074
means " Version 074 ". And ps
stands for " Paradise Slider ".
04 - Fonts
We have used the following Fonts in this layout. You can download these fonts from google fonts
to get the same result of layout
05 - Controls
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#parallax_074" data-slide-to="0" class="active"></li>
<li data-target="#parallax_074" data-slide-to="1"></li>
<li data-target="#parallax_074" data-slide-to="2"></li>
</ol>
<!-- Left Control -->
<a class="carousel-control-prev" href="#parallax_074" data-slide="prev">
<span class="fa fa-caret-left"></span>
</a>
<!-- Right Control -->
<a class="carousel-control-next" href="#parallax_074" data-slide="next">
<span class="fa fa-caret-right"></span>
</a>
In this layout we have used two types of control buttons, left and right control buttons and indicators buttons to move from one slide to another slide. You can move from one slide to another by clicking on these buttons or by dragging through the mouse button horizontally. We have created the following additional functions to control the slides:
.swipe_x
This class enables swipe function. You can controll the slides by dragging the mouse button Horizontally and in touch devices this class also enables the touch control.
If you want to know about other functions click HERE.
.thumb_scroll_x
This class enables Horizontal scroll function for indicators.
If you want to know about other functions click HERE.
.ps_slowSpeedy
This class enables Transition Timing Function for Slide Effect.
If you want to know about other Transition Timing Function for Slide Effect please click HERE.
.prlx_074_bg_img
This class enables Setting of Background Image of Slider.
.ps_indicators_brown
This class makes Brown indicators box with numbers at the bottom and the Center side of the slider.
If you want to know about other types of controls buttons please click HERE.
.ps_control_brown
This class makes left and right Brown Box butttons.
If you want to know about other types of controls buttons please click HERE.
data-pause="hover"
This attribute pauses the slider from sliding through the next slide when the mouse pointer enters the slider, and when the mouse pointer leaves the slider it resumes the sliding.
data-interval="5000"
This attribute specifies the delay (in milliseconds) between each slide.
data-duration="2000"
This attribute specifies the duration (in milliseconds) of sliding.
06 - Animation
We have used animate.css of Daniel Eden for animation. In this layout we have used three animation effect as follow:
zoomIn
You can create animation by using the data attribute like data-animation="animated flipInX"
<!-- Left Slide Text Layer -->
<div class="prlx_074_slide">
<span class="layer" data-depth="0.15"><span></span></span> <!-- Target -->
<h1 class="layer" data-depth="0.30" data-animation="animated zoomIn">we are<span>szthems.</span></h1>
<p class="layer" data-depth="0.45" data-animation="animated zoomIn">Lorem ipsum dolor sit
amet consectetuer adipiscing elit nam nibh nunc varius facilisis eros sed erat.</p>
<a href="#" class="layer" data-depth="0.60" data-animation="animated zoomIn">see more</a>
</div> <!-- /Left Slide Text Layer -->
For complete list of animation effects please Click Here
07 - Slider Settings
We have created a separate page for slider settings please Click Here
08 - Images
The size of the images that we have used are 1732 x 1155
in pixels.
3:2
Alway keeps its aspect ratio when you want to change the size of the image
09 - Support
Please do not hesitate if you have any queries about this product. We are always there for your help. You can contact us on this e-mail address szthemes53@gmail.com