Skip to main content

On the set password page it has the wordpress logo.

It is possibly to set up the change password and or set password page to match the site logo?

Fabio Pinna

You have to use PHP

Kim Welch

Do you have anything handy or recommended?

Fabio Pinna

Kim WelchΒ install fluent snippets and add this php snippet:

function yourname_custom_login_logo() {
echo '
.login h1 a {
background-image: url("https://youraddress.avif") !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center !important;
width: 80% !important;
height: 110px !important;
} ';
}
add_action( 'login_enqueue_scripts', 'yourname_custom_login_logo', 99 );

Kim Welch

Thank you Fabio. Very much appreciated.

Kim Welch

The wordpress logo is still showing.

Fabio Pinna

Kim WelchΒ did you activate the php snippet?

Kim Welch

Yes I did. I got it fixed now but thanks.