Hi,
I created 2 forms using Contact Form 7. Because the color of the labels should be different I tried to use CSS code in Enfold, Child Theme, General Styling, Quick CSS. I found an example:
.wpcf7 input[type=”text”],
.wpcf7 input[type=”email”],
.wpcf7 textarea
{
color: #616161;
width: 50%;
}
However, nothing happens. What is wrong?
Of course this code is applicable for both forms. So I also need how to do this for my specific form Contact.
See for more details the private content
Regards,
Andrej
Hey Andrej,
To change the color of the labels, Try this code in the General Styling > Quick CSS field:
label {color: #616161 !important;
Best regards,
Mike
Hi Mike,
When I used only your code (+ adding an }), so label {color: #616161} !important the color of the labels of my 2 forms changes, thank you for that!. How to do that for only the form Contact? Because the labels of the 2 forms should have different colors because of the different background colors.
Best regards,
Andrej
Hi,
So you want the code to only apply to the contact page? If so you would try this instead:
.page-id-16 label {
color: #616161 !important;
}
Best regards,
Rikard
Hi Rikard,
Ah yes, this is working. Thanks a lot!!.
Best regards,
Andrej
Hi Andrej,
Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi Rikard,
You can close this topic. Great you were able to help!
Best regards,
Andrej