Depending on your use-case, you may want to add a logo on the top pf the customizer, replacing the “preview” notice. Unfortunately there is no filter available yet to do that, but you can still do it using some simple jQuery.

This is a simple function you can use to do just that:

Using the WordPress API:


 * This is a simple function that replaces the preview notice with an image.
 * This example uses an image from so please add your own.
function custom_add_logo_to_customizer() { ?>
	jQuery(document).ready(function($) {
		"use strict";
		$('div#customize-info .preview-notice').replaceWith(
            '<img src="">'
add_action( 'customize_controls_print_scripts', 'custom_add_logo_to_customizer' );


Using Kirki

Alternatively, if you’re using the Kirki Toolkit plugin you can do it by simply adding your logo URL on the plugin’s configuration. For more info please check out the plugin’s Wiki page.

Blog Logo

Aristeides Stathopoulos



Aristeides Stathopoulos

WordPress Developer, Human.

Back to Overview

If you like and use my work, you can buy me a beer or coffee. ¯\_(ツ)_/¯