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

Anonymous
Not applicable

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

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!
Tags (1)
2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

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

What's the exact custom CSS you're using?
Grant_Booth
Level 10

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

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)