gravityforms-bootstrap-styling icon indicating copy to clipboard operation
gravityforms-bootstrap-styling copied to clipboard

Hidden sub-label placement

Open BenHarris opened this issue 3 years ago • 0 comments

Selecting "Hidden" for the sub-label placement on a name field doesn't hide the sub-label. Gravity forms use the following CSS

.gform_wrapper .screen-reader-text,
.gform_wrapper label.hidden_sub_label {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

BenHarris avatar Mar 01 '21 12:03 BenHarris