Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator cubecolour

    (@numeeja)

    You can add something like the following to your theme’s functions.php – or preferably make it into a simple plugin.

    // ==============================================
    //       ADD CUSTOM CSS TO LOGIN SCREEN
    // ==============================================
    
    function my_custom_login_css() {
    echo '<style type="text/css">
    #semisecure-message {color: #ccc;}
    </style>';
    }
    
    add_action('login_head', 'my_custom_login_css');

    edit:
    As you appear to be using a plugin to add a custom stylesheet for your login you may be able to add just the line of css to that instead

    #semisecure-message {color: #ccc;}

    Thread Starter User78342324

    (@rune-vantage)

    I’m new to WordPress. Could you please walk me through it step by step. Thanks

    Moderator cubecolour

    (@numeeja)

    OK I don’t know what plugin you’re using to customise your login so far, so I’ll ignore that although in reality it might be a better option if you can work out to add the line of css into that.

    Creating a plugin would be better than editing the functions.php so I’ll give you that.

    On your computer create a new folder called logon-css and inside that use a text editor to create a text file called logon-css.php with the content I have listed at https://pastebin.com/VzLi6SKm

    Upload the new folder containing the text file to your wp-content/plugins folder using your ftp app

    Go to Plugins -> Installed Plugins and activate your new logon CSS plugin.

    Thread Starter User78342324

    (@rune-vantage)

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Semisecure Login Reimagined] How to change login page text color?’ is closed to new replies.