How to add custom CSS to the WordPress admin area

This snippet will change the default style of WordPress admin area by overriding the old stylesheet (CSS).

Instructions
1) Create a new css file in your theme folder, and then include it in WP-Admin using the admin_head hook.
2) Add this to your functions.php file.

* Change the paths according to where you put your new/extra wp-admin.css file.
* Add whatever styles you want to override the defaults with, or copy the old stylesheet and use as a template for your new one. Location: /wp-admin/css/colors-fresh.css.

Snippet Info

Tested with Wordpress v. 4.9.5
Last Modified: 15.05.2018
Last Reviewed: 15.05.2018

How to add custom CSS to the WordPress admin area
4.7 (93.75%) 16 votes
Please report broken snippets.
Report Broken Snippet