Tagged: x
-
AuthorPosts
-
March 24, 2016 at 3:38 pm #851547
Hi guys,
I’m looking to change contact form 7 colour to rgb(155, 89, 182) and make the user text input white and also add a white glow that gets bigger when the user clicks on the field.
What’s the CSS code for it?
Many thanks,
March 24, 2016 at 6:22 pm #851700Hi there,
Thanks for writing in! To assist you with this issue, would you mind providing us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything. Thanks!
March 25, 2016 at 12:25 am #852003Hi,
The website is not ready yet, there’s a lot of editing happening at the moment.
If you provide me the CSS code I think I will be able to take it from there.Many thanks,
March 25, 2016 at 12:44 am #852021Hi there,
Thanks for writing back. Unfortunately it’s not possible to provide a general code without checking the URL because we are not even sure what you are referring by “contact form 7 colour”. You can add a screenshot and point us the issue so that we could try to provide you some code.
Cheers!
March 25, 2016 at 1:03 am #852037Hi,
Sorry about not being very clear, this is how I would like it to look like.
Also I would like the user text input to be white and add a white glow when the user clicks on the field.
Many thanks,
March 25, 2016 at 1:31 am #852057Hi,
You can add this under Custom > CSS in the Customizer.
.wpcf7 p { color:#fff; } .wpcf7 textarea, .wpcf7 input[type="text"] { border: 5px solid #fff; } .wpcf7 input[type=text]:focus, .wpcf7 textarea:focus { @include box-shadow(0 0 5px rgba(0, 0, 0, 0.5)); padding: 3px 0px 3px 3px; margin: 5px 1px 3px 0px; border: 1px solid rgba(0, 0, 0, 0.2); }
Hope that helps.
March 25, 2016 at 3:50 am #852141Hi,
Thank you for your response.
The user text input colour didn’t change even when I added !important; also for some reason changes didn’t apply to the email field.
Please check the attachment.
Many thanks,
March 25, 2016 at 3:57 am #852155Hi,
Please change the code given above to this
.wpcf7 p { color:#fff; } .wpcf7 textarea, .wpcf7 input[type="text"] { border: 5px solid #fff; } .wpcf7 input[type=text]:focus, .wpcf7 textarea:focus { color:#fff !important; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); padding: 3px 0px 3px 3px; margin: 5px 1px 3px 0px; border: 1px solid rgba(0, 0, 0, 0.2); }
March 25, 2016 at 4:39 am #852198Thank you! I love this but still styling changes didn’t apply to the email field.
Is there something missing in the code?March 25, 2016 at 4:54 am #852209Also after the text is typed and the user clicks on the next field, the text turns black 🙁
How can I keep it white?
March 25, 2016 at 5:03 am #852215Hi,
Sorry about that, please replace the code with this.
.wpcf7 p { color:#fff; } .wpcf7 textarea, .wpcf7 input[type="text"], .wpcf7 input[type="email"] { color:#fff !important; border: 5px solid #fff; } .wpcf7 input[type=text]:focus, .wpcf7 input[type=email]:focus, .wpcf7 textarea:focus { color:#fff !important; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); padding: 3px 0px 3px 3px; margin: 5px 1px 3px 0px; border: 1px solid rgba(0, 0, 0, 0.2); }
Thanks
March 25, 2016 at 5:21 am #852229Great! 😀 Thank you very much!
March 25, 2016 at 5:39 am #852240You’re welcome! 🙂
-
AuthorPosts