Forms: Font color changing with field labels that are only present with visibility rules. | Community
Skip to main content
April 8, 2015
Question

Forms: Font color changing with field labels that are only present with visibility rules.

  • April 8, 2015
  • 2 replies
  • 1920 views
I have visibility rules attached to a number of form fields, but when they (all of them) become visible they change from white (custom edited) to black (default colour). The standard fields are fine but the one's that are affected by rules are changing color.

Thanks!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
April 8, 2015
What's the exact custom CSS you're using?
Grant_Booth
Level 9
August 2, 2017

I see the visibility rules in the form editor only let you set plain text, not a rich text label.
I'd recommend putting something like this in the page's CSS

.mktoLabel {

   color: white;

}

or, if that doesn't work, try:

.mktoLabel {

   color: white !important;

}

If you're using a custom color that isn't exactly white, replace "white" with whatever the color's hex code is (i.e. #ffffff)