• Resolved toniosbh

    (@toniosbh)


    Hello,
    On the wp-login.php page, the Token show a message (green after verification and red for an error) but the background is transparent

    Here the css :

    .user-registration-message {
        border-top-color: #8fae1b;
    	 background: rgba(255,255,255,1);
        color: #596c11;
    }
    .user-registration-error {
        border-top-color: #ff4149;
        background: rgba(255,255,255,1);
        color: #f4000a;
    }

    I changed the background to white, and i put it in the custom CSS but nothing change and when i actualize the page the same code comes back when I inspect the message:

    .user-registration-error {
        border-top-color: #ff4149;
        background: rgba(255,65,73,.1);
        color: #f4000a;
    }

    I am looking for a solution and thanks for your help

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Amrit Kumar Shrestha

    (@shresthauzwal)

    Hi @toniosbh,

    The Token error and Success message are appearing on your default login page. The custom CSS code does not load on the default WordPress login page, so added custom code is not working on the login page. Please add the following code on your theme’s functions.php file, or you can use the code snippet plugin (This plugin will help you secure the site while adding programming codes and make your customization code safe from updates) to change the background color.

    function login_css() { ?>
       <style type="text/css">
         .user-registration-error,
         .user-registration-message {
             background: #fff !important;
         }
       </style>
    <?php }
    add_action( 'login_enqueue_scripts', 'login_css' );

    Regards!

    Thread Starter toniosbh

    (@toniosbh)

    Thanks @shresthauzwal
    It works perfectly

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS Issue with user-registration-message’ is closed to new replies.