Customize the reset password page?

How can I style the reset password page, where I put in my new password?

I tried going like this:

function my_login_stylesheet() {
    wp_enqueue_style( 
        'custom-login', 
        get_template_directory_uri() . '/dist/styles/main.css' 
    );
}
add_action( 'login_enqueue_scripts', 'my_login_stylesheet' );

but it added the CSS only to the login and forgot password page (forgot password as in the page where you put in your email).

However, I want to style the reset password page (where you put in your passwords).

Topic wp-enqueue-style Wordpress

Category Web


Woocommerce overrides default account management templates with its own shortcode driven templating system. Use this hook instead:

add_action('woocommerce_lostpassword_form', 'do_whatever');

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.