Change password protect button color

I am trying to change the button color on a page password protect form (wordpress using x-theme).

I was able to improve the location by using this code:

.post-password-form{
padding: 100px;
max-width: 1000px;
margin: auto;
background: #FFFFFF;
}

But I can’ target just the button’s color (and change to #f2a1a1)

When I try this code:

.post-password-form input {
background: #f2a1a1
}
… it changes the button and the input text field.

Please advise!

Hi @ashfillmore1,

Thanks for writing in, you can target the attribute of the button element by adding this into the Theme Options > CSS

form.post-password-form input[type="submit"]
{
    background: #F2A1A1;
}

Hope this will help.
Thanks…

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.