Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s the expected behaviour – the slider does not auto-advance, you need to click the arrows to navigate between slides. This was a decision made based on both usability and accessibilty best practices.

    Thread Starter galossi

    (@galossi)

    Hi Kathryn,
    Is there a way of change this behavior?
    I have a client who is complaining about that.
    Looking forward for your reply.

    Best Regards.

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    The sketch slider settings are done in the sketch.js file within the js folder. You can learn more about them here: https://github.com/woothemes/FlexSlider/wiki/FlexSlider-Properties

    You would have to add some additional properties, such as slideshowSpeed, animationSpeed and perhaps some others, in addition to setting slideshow to true instead of false.

    It is best to create a Child Theme for this sort of thing so that changes are not overwritten by future theme updates. You would also need to dequeue the existing file and enqueue the new one in a functions.php file within the Child Theme folder. You would copy the existing sketch.js file over to your Child Theme and then rename it and enqueue it.

    Hello, I did all the steps you outlined, created a child theme, dequeued the sketch.js file, copied one to my child theme and then tried to enqueue it, however this last step shows no results.

    function sketchchild_enqueue_script() {
    wp_enqueue_script( ‘sketch-script’, get_stylesheet_directory_uri() . ‘/js/sketchchild.js’, array( ‘jquery’ ), ‘1’, true );
    add_action( ‘wp_enqueue_scripts’, ‘sketchchild_enqueue_script’ );
    }

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Slider is not loading automatically’ is closed to new replies.