WordPress Function to Custom Dashboard CSS

Custom Dashboard CSS

/* Change WordPress dashboard CSS */
function custom_admin_styles() {
    echo '<style type="text/css">#wphead{background:#069}</style>';
}
add_action('admin_head', 'custom_admin_styles');

You can add any changes to the css between the tags.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *