Carousel
This template uses Owl Carousel 2 for carousels. It is simple to use. We have added a JS layer over it to map it's settings with HTML attributes. You can pass following settings as HTML attributes to carousel element
data-dots
| true or falsedata-nav
| true or falsedata-slidespeed
| integer, default is 2000data-paginationspeed
| integer, default is 2000data-margin
| integer, default is 0data-autoplaytime
| integer, default is 3000data-loop
| true or falsedata-cols-lg
| number of columns in large screensdata-cols-md
| number of columns in medium screensdata-cols-sm
| number of columns in 600px screensdata-cols-xs
| number of columns in 480ox screensdata-cols-xxs
| number of columns in bellow 480px screensdata-cols
| number of columns in all screens
The basic HTML markup of a carousel is like
Use attributes like so:
There are some classes that will help you change some aspects.
Adding
.owwwlab-theme
will use the designated themeBy default the navigatuon bullets will be placed at bottom and center
Adding
.nav-top-center
will place the navigation to top and centerAdding
.nav-top-right
will place the navigation to top and right
News Carousel
.featured-news-box
will prepare the scene.set-bg
will add.set-me
image as the background image.featured-news
which is added to.owl-carousel
will customize the default styles for carousle.
Summary Box
Here is the HTML
Last updated