• I know this may seem minor but would it be possible to change the spinning arrow gif to a png?

    There is a white fringe on the gif that looks bad on darker backgrounds.

    I could do this myself on a specific site but I hate editing the code because then I must worry about official updates changing it back.

    I have even created 3 different PNG files with full alpha transparency that can be downloaded here: Click to get zip

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Michael Aronoff

    (@masterk)

    I realized it is an animated gif rather than using jquery to do the spinning.

    Here is a spinning png with perfect alpha transparency.
    Click to download animated spinning png

    I have exactly the same problem. What’s the correct (upgrade-proof) way of specifying a custom ajax-loader icon??

    The solution is to add this to your functions file:

    /*
    * Customise Contact Form 7 loader icon
    */
    function change_cf7_loader_image($url) {
    $url = get_stylesheet_directory_uri() . “/images/my-image.png”;
    return $url;
    }
    add_filter( ‘wpcf7_ajax_loader’, ‘change_cf7_loader_image’, 100, 1);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Spinning arrow gif looks bad on some backgrounds’ is closed to new replies.