Add Custom CSS to WordPress Backend

If you want to add some custom CSS to your WordPress backend, you can add this to your functions.php:

function cleody_custom_backend_css() {
	wp_enqueue_style( 'backend-style', get_stylesheet_directory_uri() . '/backend-style.css' );
}

add_action( 'admin_enqueue_scripts', 'cleody_custom_backend_css' );

Now, you can add a backend-style.css to your (child) theme folder and start styling your WordPress backend.

Leave a Comment