csswordpresswpbakery

Changing text color of one form but not the other?


I feel like I'm missing something here and this is becoming more complicated than it should be. Basically, in the first section of my site I have a contact form to fill out that I need to have white text as the labels. I am trying to implement this code to show up for my top contact form, but keep the same black text on my bottom contact form

form label { color: #ffffff; }

I've tried working with the extra class names inside WPBakery which I've used many times before but obviously something is not working right. Any suggestions?


Solution

  • Using Classes to define CSS properties seems like the best approach. It would be helpful to see what you have tried and what's not working in your code.

    defining one class as .formSchema1 and another as .formSchema2 and setting the desired color respectively using { color: #ffffff; } and { color: #000000; }