How to add CSS styles to WordPress Admin Area

How to add CSS styles to WordPress Admin Area

Manually White Label the WordPress Admin

With just a few lines of code you can add your own custom branding to the back end of any WordPress site. Add the snippet of code below to your themes functions.php file to change the styling of the header & footer in the WordPress Dashboard.

// ADD STYLING TO THE WORDPRESS ADMIN AREA
function custom_colors() {
   echo '<style type="text/css">
           #wphead{background:#0084ff;}
           #footer{background:#0084ff;}
           #footer-upgrade{background:#0084ff;}
         </style>';
}
add_action('admin_head', 'custom_colors');

About The Author

Brett Popoleo
I am a web designer, Drummer and web application developer from Pittsburgh PA. I love to create unique and functional websites for business, personal use, or anything in between. If you need a corporate design for your business, a shopping cart for your store, or even a unique design for your blog, give me a call or contact me here and we can start to work together.

No Comments

Leave a Reply