FAQ Detail

Question : How can i change slider speed ?

Answer :

Whizclassified & Whizbiz :

Both of these scripts have three different sliders on two page. For home page banner you can use Parallax slider or layer slider. If you are using parallax slider then change the speed by

1. Edit ROOT/application/modules/themes/views/THEME_NAME/slider_view.php file.

2. find out the following code block

    $('#da-slider').cslider({
        autoplay    : true,
        bgincrement : 150,
        interval    : 3000
    });

    Now change the interval value . 3000 means 3 seconds. So if you want 5 seconds then change the code like

    $('#da-slider').cslider({
        autoplay    : true,
        bgincrement : 150,
        interval    : 5000
    });

 

If you are using parallax slider, the follow their documentation. We've included it with our main pack. Edit the file ROOT/application/modules/themes/views/THEME_NAME/layer_slider.php .

 

If you want to change the slider speed on detail page then please follow the below steps

1. Edit ROOT/application/modules/themes/views/THEME_NAME/detail_view.php file

2. Find the following code block

        $('#imageGallery').lightSlider({
            gallery:false,
            item:1,
            speed:1000,
            auto:true,
            loop: true,
            thumbItem:9,
            slideMargin:0,
            currentPagerPosition:'left',
            onSliderLoad: function(plugin) {
                plugin.lightGallery();
            }
        });

     change the speed value. If you want to make it 2 second then edit it like

        $('#imageGallery').lightSlider({
            gallery:false,
            item:1,
            speed:2000,
            auto:true,
            loop: true,
            thumbItem:9,
            slideMargin:0,
            currentPagerPosition:'left',
            onSliderLoad: function(plugin) {
                plugin.lightGallery();
            }
        });