Hi jeracoo,
Thank you for using my plugin. You certainly can change the animation type.
The easiest way to do so is to navigate to the js folder inside my plugin directory — wp-content/plugins/arconix-flexslider/js/
— and copy the flexslider.js
file to the root of your theme folder and re-name it to arconix-flexslider.js
(All of that is to make sure you don’t lose the change we’re going to make when I update the plugin in the future).
Inside arconix-flexslider.js
, you’ll see the following:
jQuery(window).load(function() {
jQuery('.flexslider').flexslider( {
pauseOnHover: true,
controlsContainer: ".flex-container"
} );
} );
add animation: "fade",
right below the pauseOnHover
line and that should take care of it.
Your new code should look like this:
jQuery(window).load(function() {
jQuery('.flexslider').flexslider( {
pauseOnHover: true,
animation: "fade",
controlsContainer: ".flex-container"
} );
} );
Let me know if you run into any other issues.