Change Testimonials Speed

You can change the speed of the testimonial scrolling by editing the file /js/main.js.
Find the lines:
function testimonialsCarousel(){
"use strict";
$('.testimonial_carousel').each(function(){
var $self = $(this);
$(this).carouFredSel({
auto: true,
scroll: { items : 1, fx: 'fade' },
prev : {
button : $self.parent('.testimonial_carousel_element').find('.prev')
},

and replace them with:
function testimonialsCarousel(){
"use strict";
$('.testimonial_carousel').each(function(){
var $self = $(this);
$(this).carouFredSel({
auto: true,
scroll: { items : 1, fx: 'fade', duration:200 },//add here the duration of a testimon.
prev : {
button : $self.parent('.testimonial_carousel_element').find('.prev')
},

If you want to scroll only on arrow click then you must set auto: false in the above code. In some demos, the arrows are visible only when you hover on them.

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.