Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Last active March 17, 2017 10:21
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 Shelob9/371d0a5a78338fc512f4dfbe56882f42 to your computer and use it in GitHub Desktop.
Save Shelob9/371d0a5a78338fc512f4dfbe56882f42 to your computer and use it in GitHub Desktop.
CSS to "hide" hidden labels in Caldera Forms that may be visible if you disable Caldera Forms styles. See: https://calderaforms.com/doc/hiding-caldera-forms-field-labels-screen-reader-support/
/** Needed CSS for hiding hidden labels in Caldera Forms **/
/** This is added by default in caldera-forms-front.min.css, but you may need it if you disbale Caldera Forms styles from loading in General Settings */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
position: absolute !important;
white-space: nowrap;
height: 1px;
width: 1px;
overflow: hidden;
}
@ESPONI
Copy link

ESPONI commented Mar 17, 2017

Thanks!
(We saw this in your mail yesterday)

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