I'd want for my Customizer to use a custom skin, or, well, enhancements as one would call it.

Unfortunately, WP_Customize_Control doesn't do the job, nor can I find anything about it.

What would be the docs / resources to start building this?


If you're after getting custom CSS ontop of Wordpress's Admins Customizer buttons, inputs, and controls - you can do something like this:

add_action( 'admin_enqueue_scripts', function(){
    $screen = get_current_screen();
    if ($screen->base == 'customize') {
            plugins_url( 'your-file.css', __FILE__ ),
            filemtime( plugin_dir_path( __FILE__ ) . '/your-file.css' )
            // get_template_directory() . '/your-file.css' )
        wp_enqueue_style( 'custom_wp_admin_css' );

The commented out lines are incase your making a theme, not a plugin.

In your-file.css, you can then do your custom CSS

#customize-controls * {
    color: red !important;
  • Thank you, do I have to use !important on each declaration? Isn't there a way to make my file of higher-order? – Jonathan Guerin Jan 9 '18 at 3:13
  • 1
    Actually you should just enqueue at the customize_controls_enqueue_scripts action. No need then to check for the current screen. – Weston Ruter Jan 9 '18 at 5:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.