Change the Loading Animations

Article Last Updated: July 27, 2020

You can use your own animations, remove our animations, and/or change the styles.

Remove our animations

// Remove loading dots gif (submit button gif)
add_filter( 'yikes-mailchimp-loading-dots', '__return_false' );

// Remove spinning gif (form gif)
add_filter( 'yikes-mailchimp-preloader', '__return_false' );

Use your own animation images

// Remove loading dots gif (submit button gif)
add_filter( 'yikes-mailchimp-loading-dots', 'yikes_mc_change_submit_button_animation' );

function yikes_mc_change_submit_button_animation() {
return 'url-to-gif';
}

// Remove spinning gif (form gif)
add_filter( 'yikes-mailchimp-preloader', 'yikes_mc_change_spinning_form_animation' );

function yikes_mc_change_spinning_form_animation() {
return 'url-to-gif';
}

Change the styles

.yikes-mailchimp-preloader{
/* The form gif */
}

.yikes-mc-loading-dots {
/* Submit button gif */
}