Skip to content

Instantly share code, notes, and snippets.

@jameslaws
Created October 5, 2016 18:55
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/b4ccd6b80fa604b11b73684b0cd82ca5 to your computer and use it in GitHub Desktop.
Save jameslaws/b4ccd6b80fa604b11b73684b0cd82ca5 to your computer and use it in GitHub Desktop.
Styling the Field Element of a Ninja Form
/*
Styling all field elements
*/
.ninja-forms-field {
/* Your CSS styles */
}
/*
Styling a field type element
EXAMPLE: .textbox-wrap .ninja-forms-field {}
*/
.field-type-name-wrap .ninja-forms-field {
/* Your CSS styles */
}
/*
Styling a specific field element
EXAMPLE: #nf-field-12-wrap .ninja-forms-field {}
*/
#nf-field-field_ID-wrap .ninja-forms-field {
/* Your CSS styles */
}
@piexpie
Copy link

piexpie commented Aug 9, 2020

Can you tell me where to add this code, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment