Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1072050

    Hi
    I have two pages (forms) that I have restricted access to.

    I use the members plugin to allow me to do this by role – the role is “sponsored”.

    When I use the plugin’s shortcode [members_login_form /] to display the login form, it displays the form well but the button initial state uses a black background, but the text should be white instead of black. I can’t for the life of me figure out how to change that one button. The hover colors are perfect!

    Here’s the code snippet I used for the ACCESS DENIED message that get displayed if the “sponsored” user is not logged in.

    <div style="background-color: #fff;padding: 30px 200px 30px 200px;text-align: center">
    <h1>ACCESS DENIED</h1>
    <h3>Sorry, but you do not have permission to view this content.</h3>
    <h2>Please login to your account if you were given permission to access this page.</h2>
    <div style="width: 400px;margin: 30px 200px 30px 400px;text-align: center">[members_login_form /]</div>
    </div>

    Thanks for any help you can provide.
    Lyse

    #1073742

    Hey tremblayly,
    Sorry for the late reply, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    input[type='submit']#wp-submit.button {
    color: #fff !important;
    }

    Best regards,
    Mike

    #1073800

    HI Mike,
    That did not work. So I added the following to my styles.css in my Child theme specifying he page IDs instead. That worked.

    .page-id-34548 input[type=”submit”], .page-id-34556 input[type=”submit”] {
    background-color: #000000 !important;
    padding: 12px 45px 13px;
    border: 2px solid #969593 !important;
    font-weight:bold;
    color:#fff!important;
    }

    Thanks
    Lyse

    #1073981

    Hi,
    Thanks for sharing your solution, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1073984

    Hi Mike,

    You may close this ticket.

    Thank you
    Lyse

    #1073989

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Button default colors not applied to login form’ is closed to new replies.