Change Speed Testimonials

Hi there.

Is it possible in Perth Pro to change the testimonial change speed?

Thanks a lot.

Markus

Hello there,

Thank you for asking.

The testimonial uses Owl Carousel script. Its setting is defined in the js/main.min.js file. To change the speed, you should add the slideSpeed option.

  1. Open the js/main.js file. Then copy/paste all of the content to js/main.min.js. So, it will be more readable.
  2. Find the following code block
$(".testimonials-area").owlCarousel({
	navigation : false,
	pagination: true,
	responsive: true,
	items: 1,
	itemsDesktop: [3000,1],
	itemsDesktopSmall: [1400,1],
	itemsTablet:[970,1],
	itemsTabletSmall: [600,1],
	itemsMobile: [360,1],
	touchDrag: true,
	mouseDrag: true,
	autoHeight: true,
	autoPlay: true
});
  1. Add slideSpeed: 500 option line. So you should have
$(".testimonials-area").owlCarousel({
	navigation : false,
	pagination: true,
	responsive: true,
	items: 1,
	itemsDesktop: [3000,1],
	itemsDesktopSmall: [1400,1],
	itemsTablet:[970,1],
	itemsTabletSmall: [600,1],
	itemsMobile: [360,1],
	touchDrag: true,
	mouseDrag: true,
	autoHeight: true,
	autoPlay: true,
	slideSpeed: 500
});

You should need to change the speed value as needed.

Let me know how it goes. I’ll wait to hear back from you regarding your stats.

P.S.

Since we are editing the core file of the theme, you should take it at your own risk. When the theme be updated in the future, the modification will be overwritten. You should do the some adjustment.

Warmest regards,
Kharis