Skip to content

Instantly share code, notes, and snippets.

@jameslaws
Created October 5, 2016 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameslaws/48ee22e8daa223ec9d02c4d61fd3ffba to your computer and use it in GitHub Desktop.
Save jameslaws/48ee22e8daa223ec9d02c4d61fd3ffba to your computer and use it in GitHub Desktop.
Styling the Field Label of a Ninja Form
/*
Styling all field labels
*/
.field-wrap label {
/* Your CSS styles */
}
/*
Styling a field type labels
EXAMPLE: .textbox-wrap label {}
*/
.field-type-name-wrap label {
/* Your CSS styles */
}
/*
Styling a specific field label
EXAMPLE: #nf-field-12-wrap label {}
*/
#nf-field-field_ID-wrap label {
/* Your CSS styles */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment