PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Need help using CSS Class Name for a field

  1. I am new to this and can't figure it out.

    How do I change the text of a fields Field Label using a CSS Class Name?

    I tried putting in the CSS Class Name box a name like .lukeskywalker and then I added this code to Gravity Forms forms.css but that didn't do anything.

    .lukeskywalker {
    font-size: 19px;
    }

    Is there an easy explanation on how to do this for a complete jackass? (Or for someone who's never done it before ..shhhhh)

    Posted 14 years ago on Sunday October 17, 2010 | Permalink
  2. in the admin, you put the class name without the dot before it.. just the name.

    The class gets applied to the list item that contains the input, so you have to use CSS inheritance to make the change you want.. something like this.

    .lukeskywalker input {font-size:19px}

    Posted 14 years ago on Sunday October 17, 2010 | Permalink