Making use of plugins
In orer to use the installed plugins you will need to add the scripts manually into the page you are using it. We made it this way so you can have control over the resources used in a specific page so it can be better optimized for speed and development.
For most of the plugins all you have to do is to add a style
<link> and a
<script> tag in the head and the footer of your page. All plugin scripts have to be placed between the core scripts
(jquery, popper and bootstrap) and the theme.js file.
Most of the time you will need to add only a script in the footer. It should look like this:
<!-- Page plugins --> <script src="PATH_TO_YOUR_PLUGIN"></script> <!-- Theme CSS --> <link type="text/css" href="../assets/css/theme.css" rel="stylesheet">
<!-- Core --> <script src="/assets/vendor/jquery/jquery.min.js"></script> <script src="/assets/vendor/popper/popper.min.js"></script> <script src="/assets/js/bootstrap/bootstrap.min.js"></script> <!-- Page plugins --> <script src="PATH_TO_YOUR_PLUGIN"></script> <!-- Theme JS --> <script src="/assets/js/theme.js"></script>
Bootstrap-select is a jQuery plugin that utilizes Bootstrap’s dropdown.js to style and bring additional functionality to standard select elements.
- Apply this class on any form select control.
jQuery plugin providing a Twitter Bootstrap user interface for managing tags
- Apply this attribute on any form input text control.
Font Awesome 5
Get vector icons and social logos on your website with Font Awesome, the web’s most popular icon set and toolkit.
Note: Font Awesome is already included on all pages by default.
<script src="/assets/vendor/./assets/vendor/fontawesome/js/fontawesome-all.min.js" defer></script>
- Apply Font Awesome's classes on
<i class="fas fa-heart"></>
An input mask helps the user with the input by ensuring a predefined format. This can be usefull for dates, numerics, phone numbers and so on.
- Apply this class on any form input control.
- Apply this attribute to apply the mask rule pattern.
noUiSlider is a range slider without bloat. It offers a ton off features, and it is as small, lightweight and minimal as possible, which is great for mobile use on the many supported devices, including iPhone, iPad, Android devices & Windows (Phone) 8 desktops, tablets and all-in-ones. It works on desktops too, of course!
The Countdown is a plugin tailored to be used in any layout, without any CSS/HTML dependency. The goal was to fit and mimic differents countdown styles as you see out there in coupons and auction sites.
- Apply this class on the countdown div.
- Apply this attribute on the countdown element and add the final date in this forma: DD/MM/YY.
Type any number and animate it with this beautiful plugin that allows you to emphasize any milestone on you web page. We combined this plugin with a viewport checker script in order to start the counting animation when the elements eneters the visible area.
<script src="/assets/vendor/viewportchecker/viewportchecker.min.js"></script> <script src="/assets/vendor/count-to/count-to.min.js"></script>
- Apply this class to initialize the milestone counter.
- The number to start counting from. (default: 0)
- The number to stop counting at. (default: 100)
- The number of milliseconds it should take to finish counting. (default: 1000)
- The number of milliseconds to wait between refreshing the counter. (default: 100)
<link type="text/css" href="/assets/vendor/fancybox/css/jquery.fancybox.min.css" rel="stylesheet">
- Add this attribute to your element. This will automatically bind click event that will start fancybox.
Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps. Designed mostly for iOS, but also works great on latest Android, Windows Phone 8 and modern Desktop browsers
Typed.js is a library that types. Enter in any string, and watch it type at the speed you’ve set, backspace what it’s typed, and begin a new sentence for however many strings you’ve set.