• Resolved toimisto

    (@toimisto)


    Theres a note in the plugin description about changing the background color. How?

    1. Normal admin login CSS customisation does not work:

    function my_custom_login() {
    echo ‘<link rel=”stylesheet” type=”text/css” href=”‘ . get_stylesheet_directory_uri() . ‘/css/admin-login.css” />’;
    }
    add_action(‘login_head’, ‘my_custom_login’);

    2. Adding custom CSS with “Custom CSS and JS” plugin (either using admin / login page / whole site options) is not loading the file on login page

    3. Not seeing any options on plugin settings or customiser (not really using this in our themes)

    So how should this be done?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    @toimisto Hi,

    I hope you are doing well.

    If you want to customize your login page then you can use our plugin LOGIN DESIGNER; at the moment in Password protected there is no feature to change the background etc.

    Thanks

    The recommended Plugin does not change the password protected screen. :/

    Plugin Support M Haseeb

    (@haseeb0001)

    @aaayu

    Hi,

    I hope you are doing well.

    I will test this case on my staging website, and then I will get back to you with updates.

    Thanks`

    @toimisto The plugin has it’s own hook for adding scripts to the head:

    password_protected_login_head

    add_action(‘login_head’, ‘my_custom_login’);
    add_action(‘password_protected_login_head’, ‘my_custom_login’);

    This will apply your CSS to both the password protected page and the WP login page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change background?’ is closed to new replies.