• Resolved buroindigo

    (@buroindigo)


    Hi!

    I have Ultimate Member plugin but not the Theme installed.
    For the password reset page and the privacy policy shown on the registration page, I need to change the text color. This is now in a default grey, but not readable on the black background.

    What is the right CSS?

    Hope someone can help!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @buroindigo

    Try to use this CSS:

    .um-um_password_id .um-field-block,
    .um-field-type_terms_conditions .um-field-checkbox-option {color: #fff !important;}

    Regards.

    Thread Starter buroindigo

    (@buroindigo)

    Dear Andrew,

    Many thanks for your quick reply! 
    Hope I can bother you again and you can help with 2 other issues as well: 
    - When users fill in the registration and login form the text turns white on Safari browser. How can I fix this? 
    - I have found a way to change the texts of the error messages for the registration form using code below, which I found in another thread.
    I also need to change the text of the login page (I only use an email, no password) 
    Is this possible by using the same method? And which handlers should I use? 
    
    
    
    /**
    
    * Custom validation and error message for the E-mail Address field.
    
    */
    
    add_action( 'um_custom_field_validation_user_email_details', 'um_custom_validate_user_email_details', 999, 3 );
    
    function um_custom_validate_user_email_details( $key, $array, $args ) {
    
    if ( $key == 'user_email' && isset( $args['user_email'] ) ) {
    
    if ( isset( UM()->form()->errors['user_email'] ) ) {
    
    unset( UM()->form()->errors['user_email'] );
    
    }
    
    if ( empty( $args['user_email'] ) ) {
    
    UM()->form()->add_error( 'user_email', __( 'E-mail adres is verplicht', 'ultimate-member' ) );
    
    } elseif ( ! is_email( $args['user_email'] ) ) {
    
    UM()->form()->add_error( 'user_email', __( 'Het ingevoerde emailadres is geen geldig emailadres.', 'ultimate-member' ) );
    
    } elseif ( email_exists( $args['user_email'] ) ) {
    
    UM()->form()->add_error( 'user_email', __( 'Het ingevoerde emailadres is al eerder gebruikt. Je kunt hierboven inloggen.', 'ultimate-member' ) );
    
    }
    
    }
    
    }
    
    
    Plugin Support andrewshu

    (@andrewshu)

    Hello @buroindigo

    1. Try to use this code – .um .um-form input{ color: #000 !important;}
    2. Did you check this hook for the login?

    Regards.

    Thread Starter buroindigo

    (@buroindigo)

    Hi Andrew,

    Many thanks for getting back to me.
    1. unfortunately it did not work. The problem only appears in safari, so not sure what this can be.
    2. How can I check this? Sorry, not that technical.. What will be the input for the login page?

    Plugin Support andrewshu

    (@andrewshu)

    Hello @buroindigo

    1. Does this happen when the input field is active at the time of filling or is already filled in?
    2. Sorry for misunderstanding. Unfortunately, this functionality does not exist in our plugin at this time.

    Regards.

    Thread Starter buroindigo

    (@buroindigo)

    Goodmorning @andrewshu,

    1: it happens when the field is already filled in. When try to select the text with the cursor you can see it’s still there. Just got feedback it happens on an iPhone as well, most likely also safari browser.
    2: no worries, we have found a work around ??

    Plugin Support andrewshu

    (@andrewshu)

    Hi,

    I can’t reproduce this. What theme do you use?

    Regards.

    Thread Starter buroindigo

    (@buroindigo)

    Goodmorning Andrew,

    I am using Astra theme (in combination with Elementor pro).

    Plugin Support andrewshu

    (@andrewshu)

    Hello @buroindigo

    Could you switch your theme to the default one for testing input color?

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @buroindigo

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to change grey text Ultimate Member standard pages’ is closed to new replies.