Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #1041253

    Hi 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,
    Michael

    #1041255

    Hi 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/

    #1041392

    Hi initiatecreate,

    This is the file in question /enfold/config-templatebuilder/avia-shortcodes/testimonials/testimonials.js

    Best regards,
    Victoria

    #1041626

    Thanks 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));

    #1044688

    Hi,

    You need to adjust the “Slideshow autorotation duration” to increase the testimonial item duration. You don’t need to edit any files.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.