• Resolved Giuseppe

    (@mociofiletto)


    Hi, I am testing a Pro theme (BuddyX Pro) that uses Kirki for customizer. Is it possible to change the image and the animation of the loader? On my live site I use a custom spinner with a custom image (site logo) and I would use it with the new theme.

Viewing 1 replies (of 1 total)
  • In theory, you can change it by overriding the background image via CSS:

    
    function prefix_your_custom_loading_logo() {
    
    	?>
    	<style>
    	.kirki-customizer-loading-wrapper {
    		background-image: url("https://yoururl.com/pathtoyourimage/image.svg");
    	}
    	</style>
    	<?php
    
    }
    add_action( 'wp_head', 'prefix_your_custom_loading_logo', 100 );

    The code is untested and serves as a starting point only.

    Best,
    David

Viewing 1 replies (of 1 total)

The topic ‘Changing loader animation (spinner)’ is closed to new replies.