Skip to content

Instantly share code, notes, and snippets.

@coulterpeterson
Created June 23, 2023 23:01
Show Gist options
  • Save coulterpeterson/c8961dd1c6b12b8af3439941f1c62ed7 to your computer and use it in GitHub Desktop.
Save coulterpeterson/c8961dd1c6b12b8af3439941f1c62ed7 to your computer and use it in GitHub Desktop.
Gravity Wiz | File Upload Pro | Hide Error Messages
/* To hide the red error box that's related to the multi-file form field: */
ul[id^='gform_multifile_messages_'] {
display: none;
}
/* Keeping the "Max file size" text while removing the "Max files: 1" part is probably the trickiest CSS rule, however if you're okay with playing with the numbers in this rule, you could try something like this: */
span.gfield_description.gform_fileupload_rules {
max-width: 9.7em;
overflow: hidden;
max-height: 2.3em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment