You are viewing limited content. For full access, please sign in.

Question

Question

change color of specific words in field label and indent the field

asked on March 22, 2021

Hi, 

Does anyone know if I can change the color of only specific words in the field label? 

In the question below I would want words "MOVED" and "NEW" to be in color red.

Also, I would like some of my questions to be indented instead of all being to the left of the page. Is there a way to do it? 

Please help.

 

Thank you,

Tetiana

Screenshot 2021-03-22 103335.png
0 0

Answer

SELECTED ANSWER
replied on March 22, 2021

For the color - change the label of your field to be: 

Does this employee need existing equipment <font color="red">MOVED</font> or issue <font color="red">NEW</font> equipment?

 

For indenting, here's one way to do it:

  1. Add a Custom HTML element before your field, delete the contents of the field, and give it the Class Name of fifteenPercentWidth.
  2. Give your field the Class Name of eightyFivePercentWidth.
  3. Add this CSS to your form: 
.fifteenPercentWidth {display : inline-block; width : 15%;}
.fifteenPercentWidth .cf-field {min-width : 80px;}
.eightyFivePercentWidth {display : inline-block; width : 85%;}

 

0 0
replied on March 22, 2021

This worked perfectly! 

Thank you!

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.