1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
function my_login_logo() { ?> <style type="text/css"> #login h1 a, .login h1 a { background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/logo.png); height:161px; width:311px; background-size: 311px 161px; background-repeat: no-repeat; } #login { padding: 4% 0 0 !important; } } </style> <?php } add_action( 'login_enqueue_scripts', 'my_login_logo' ); |
