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.

Select only checkbox field labels

  1. hmarcks
    Member

    Hello,

    I can select all the field labels with ".gform_wrapper .top_label .gfield_label", but is it possible to select only the checkbox field labels?

    Thank you

    Posted 8 years ago on Friday May 10, 2013 | Permalink
  2. This should do the trick for you:

    [css]
    body .gform_wrapper .top_label .gfield_checkbox li label {
    color: red;
    }
    Posted 8 years ago on Friday May 10, 2013 | Permalink
  3. hmarcks
    Member

    Thanks Rob, that wasn't working for me, but I added a class, removed the li, and this worked:

    body .gform_wrapper .top_label .custom-class label {
    	color: red;
    }

    Thank you

    Posted 8 years ago on Friday May 10, 2013 | Permalink
  4. Right on, I just wrote that selector from Chrome developer tools by inspecting a checkbox field on my form via the form builder preview - but glad your solution worked for you.

    Posted 8 years ago on Friday May 10, 2013 | Permalink

This topic has been resolved and has been closed to new replies.