Tagged: testimonials slider
-
AuthorPosts
-
December 5, 2018 at 12:57 pm #1041190
Hi, I am using the large Testimonial Slider but I would like to slow it down a little so that the user can read all of the testimonial before it slides to the next. Please can you let me know how to edit the speed for this?
Thanks Sarah
December 5, 2018 at 3:35 pm #1041253Hi Sarah
Good question. I just looked into it and discovered that there is the following HTML parameter which says one slide stays for 5 seconds until it changes to the next testimonial:
data-interval="5"
Unfortunately I don’t know how to change that either. I guess this must be changed in a PHP file of the theme itself and then used within your child theme (I hope you use one).Best,
MichaelDecember 5, 2018 at 3:56 pm #1041255Hi Michael, I just timed it and the default testimonial slider changes every 3 seconds, which is too fast! Its a JS file that needs to be edited. I found this on the forum which tells you which file to edit but they didn’t give any instructions what to edit! https://kriesi.at/support/topic/testimonial-slider-transition-speed-change/
December 5, 2018 at 9:30 pm #1041392Hi initiatecreate,
This is the file in question /enfold/config-templatebuilder/avia-shortcodes/testimonials/testimonials.js
Best regards,
VictoriaDecember 6, 2018 at 1:04 pm #1041626Thanks Victoria, I can find the js file but I don’t know what I need to add or edit to make the testimonials speed slower. Please can you assist? This is the current js:
(function($)
{
“use strict”;// ——————————————————————————————-
// testimonial shortcode javascript
// ——————————————————————————————-$.fn.avia_sc_testimonial = function(options)
{
return this.each(function()
{
var container = $(this), elements = container.find(‘.avia-testimonial’);//trigger displaying of thumbnails
container.on(‘avia_start_animation’, function()
{
elements.each(function(i)
{
var element = $(this);
setTimeout(function(){ element.addClass(‘avia_start_animation’) }, (i * 150));
});
});
});
}}(jQuery));
December 13, 2018 at 5:27 am #1044688 -
AuthorPosts
- You must be logged in to reply to this topic.