How to Change LawyeriaX Testimonials Slider Speed

LawyeriaX adds a carousel to the Testimonial section of your website which slides every 5 seconds. The time interval can be really slow for some sites but it can be changed with some JavaScript.

You need to install any plugin to add JavaScript to your website, and we recommend Custom CSS and JavaScript plugin for this tutorial.

After installing the plugin, you need to navigate to Appearance > Custom JavaScript, and add the following JavaScript to there:

jQuery( window ).load(function () {
    if ( jQuery( '#carousel-testimonials' ).length > 0 ) {
        jQuery( '#carousel-testimonials' ).data()['bs.carousel'].options.interval = 5000;
    }
});

You can change the interval time from 5000 milliseconds (5 seconds) to your preferred time interval.