-
AuthorPosts
-
February 27, 2019 at 12:14 am #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.
LyseMarch 2, 2019 at 10:17 pm #1073742Hey 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,
MikeMarch 3, 2019 at 2:09 am #1073800HI 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
LyseMarch 3, 2019 at 6:06 pm #1073981Hi,
Thanks for sharing your solution, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeMarch 3, 2019 at 6:08 pm #1073984Hi Mike,
You may close this ticket.
Thank you
LyseMarch 3, 2019 at 6:36 pm #1073989Hi,
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 -
AuthorPosts
- The topic ‘Button default colors not applied to login form’ is closed to new replies.