Viewing 7 replies - 1 through 7 (of 7 total)
  • Dear Soni,

    In order to achieve that objective, could you please try to do the following?

    1. Open the js/main.js and js/main.min.js files
    2. Copy all of the code in the main.js
    3. Replace all of the code in the min.min.js code with the copied one from main.js, so it will be more readable
    4. Go to the following code block:

    var testimonialCarousel = function(){
    	if ( $().owlCarousel ) {
    		$('.roll-testimonials').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: $('.roll-testimonials').data('autoplay')
    		});
    	}
    };

    5. Add slideSpeed option, so it will look like:

    var testimonialCarousel = function(){
    	if ( $().owlCarousel ) {
    		$('.roll-testimonials').owlCarousel({
                            slideSpeed : 500,
    			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: $('.roll-testimonials').data('autoplay')
    		});
    	}
    };

    6. Adjust the value of slideSpeed : 500 to meet your need
    7. You may want to minify the script. You could use this toolhttps://jscompress.com/
    8. You would clear your web browser’s cache before reloading your site

    I hope this reply helps.

    Regards,
    Kharis

    Thread Starter soni123

    (@soni123)

    I am using child theme. Should I paste this there?

    Thread Starter soni123

    (@soni123)

    where do I find ms.js?

    Those files are in the parent theme, sydney/js/main.js. There is no way to do it in the child theme mode, I am afraid.

    Thread Starter soni123

    (@soni123)

    I am trying to find it in parent theme. Please can you inform where will it be?

    Please login to your FTP or cPanel account, then navigate to wp-content > themes > sydney > js. Then download those two files on your computer. Once you’re done editing, upload them to the “js” folder.

    Regards,
    Kharis

    Hi Kharis, I had the same problem, and tried exactly what you wrote , but nothing changed ?? ,
    any thoughts?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Reduce testimonial slide speed’ is closed to new replies.