Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Where can i get hold of the CSS of the admin panels? Id like to make it look different on my development environment so that no one changes the production server by mistake. Like giving it a different background-color.

share|improve this question
    
you can use Blue Admin plugin for this and many more for the dashbord customisation –  Vikas Gautam Oct 1 '13 at 12:18
add comment

1 Answer

up vote 1 down vote accepted

One way is to enqueue a style.css for the admin panel.

Create a file to say custom-css.css and add css to it and then enqueue it to the admin by putting the below in the theme's function.php file.

function admin_enqueue() {
    wp_enqueue_style( 'custom_css', content_url() . '/themes/theme-name/custom.css');
    //Please replace the path with the correct path to the file in your theme 
}
add_action( 'admin_enqueue_scripts', 'admin_enqueue' );
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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