Change the Color of Field Labels in Custom Forms and Promotions

Learn how to easily change the color of field labels in your Custom Form or Promotion on ShortStack with this simple CSS trick. Click here to find out more!
Dana Kilroy

Learn how to change the color of field labels in your ShortStack application using CSS with this helpful guide.

Don't like the default color of the field labels (name, email address etc) in your Custom Form or Promotion on your ShortStack application?

It's an easy change if you know the CSS needed.  

Just add this line of CSS to your CSS Editor within your Tab Designer: label{color:#FFFFFF;}

The above CSS will change the color of your labels to white.

To use a different color other than white, replace "FFFFFF" with a different Hex Value.

For example, to use indigo instead of white, the code would look like this: label{color:#4B0082;}

For a handy Hex Value chart, check out this guide from w3schools.com: http://www.w3schools.com/cssref/css_colors.asp

This chart sorts different colors by color name, so it's a great guide if you're new to Hex Values.

For more helpful tips and tricks, sign up for our monthly ShortStack and CSS Tips/Tricks email!