you can update wordpress logo with your site logo using below code to enjoy admin logo same as your site.
1 2 3 4 5 6 7 8 9 10 11 12 |
function custom_admin_logo() { ?> <style type="text/css"> body.login div#login h1 a { background-image: url(<?php echo get_template_directory_uri(); ?>/assets/images/logo.png); padding-bottom: 0px; background-size: 180px auto; height: 110px; width: 100% !important;} </style> <?php } add_action( 'login_enqueue_scripts', 'custom_admin_logo' ); |