Skip to content

Commit a19eabc

Browse files
committed
Fix not showing site icon in the login page
1 parent a4666b9 commit a19eabc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/Login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function css() {
2020
$icon = get_site_icon_url();
2121
if ( ! $icon ) : ?>
2222
<style>
23-
.login h1 a {
23+
.login .wp-login-logo a {
2424
background: none;
2525
width: auto;
2626
height: auto;
@@ -31,7 +31,7 @@ public function css() {
3131
</style>
3232
<?php else : ?>
3333
<style>
34-
.login h1 a {
34+
.login .wp-login-logo a {
3535
background-image: url(<?= esc_url( $icon ) ?>);
3636
}
3737
</style>

0 commit comments

Comments
 (0)