-
-
Hello, I have done the following steps here: https://support.codeless.co/knowledge-base/change-testimonials-speed/, however it is not working at all. I’ve changed the duration and set the auto to false and neither make a difference. Furthermore, the code looks different from yours. WordPress and my plugins are all up to date and I’m running Specular 1.5
function testimonialsCarousel(){
“use strict”;
$(‘.testimonial_carousel’).each(function(){
var $self = $(this);
var c_duration = $self.data(‘duration’);
if(c_duration == ‘undefined’)
c_duration = 500;
$(this).carouFredSel({
auto: true,
scroll: { items : 1, fx: ‘fade’, duration: c_duration },
prev : {
button : $self.parent(‘.testimonial_carousel_element’).find(‘.prev’)
},
next : {
button : $self.parent(‘.testimonial_carousel_element’).find(‘.next’)
}
});
Please advise.
Thanks.
-
Hello,
You do not have to go through that procedure now as this option is added to the testimonials settings. Just go to the elements settings > Duration of Item in View, set the value here. Screenshot.
Best regards!
-
-
I don’t like the formatting of the carousel, so I want to use the cycle one. Can I change the speed of it and/or pause on mouseover?
-
Hello,
Please go to file js/main.js and find this lines:
function testimonialsCycle(){ "use strict"; $('.testimonial_cycle').each(function(){ var $self = $(this); var container_width = $self.parents('.wpb_wrapper').first().width(); $('.item', $self).width(container_width+'px'); $self.carouFredSel({ auto: true, scroll: { items : 1, fx: 'fade' }, }); }); }
Edit this line:
scroll: { items : 1, fx: 'fade' },
to this:scroll: { items : 1, fx: 'fade', duration: 8000 },
Change the duration value to your wish.Best regards!
-
You must be logged in to reply to this topic.