Help! Wordpress 3.8 Shrank My Custom Admin Logo

Jan 31, 2014 by Jason McKinney


There is some good information for overriding wp-admin.css in your theme stylesheet on the Wordpress website ( but if you used functions.php to insert your custom logo, there's an easier way.

                    // Replaces the login header logo
function namespace_login_style() {
  echo '
  .login h1 a { 
     background-image: url(' . get_template_directory_uri() . '/library/images/login_logo.png ) !important; 
     background-size: 302px 72px !important; 
     width: 302px !important; 

We have added two new classes in addition to the standard background image style to override the 80px by 80px specs added by 3.8s new wp-admin.css

Hope this works for you too. Let us know!