Change Text Field
-
Hi, I’m trying to change the font weight and size of the text labels within my form. I searched the forum for this, but couldn’t find anything. To customize the single line text label in a form, you guys provide this CSS:
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-text .wpforms-field-label {
display: block;
font-weight: 700;
font-size: 16px;
float: none;
line-height: 1.3;
margin: 0 0 4px 0;
padding: 0;
}I’ve inserted it into “Style and Layout Settings” within my theme — changing the font-weight to 400 and the font-size to 14px, but nothing changes. I even added !important and still nothing
div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-text .wpforms-field-label {
display: block;
font-weight: 400 !important;
font-size: 14px !important;
float: none;
line-height: 1.3;
margin: 0 0 4px 0;
padding: 0;
}I’m pasting it below the CSS I used to change the color of the asterisk to match my brand color (which works fine!)
div.wpforms-container-full .wpforms-form .wpforms-required-label {
color: #b52800 !important;
}div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-text .wpforms-field-label {
display: block;
font-weight: 400 !important;
font-size: 14px !important;
float: none;
line-height: 1.3;
margin: 0 0 4px 0;
padding: 0;
}Any suggestions?
Thank you!
Jeff
P.S. My site is still in beta (unpublished), otherwise I’d send you a different URL.
The page I need help with: [log in to see the link]
- The topic ‘Change Text Field’ is closed to new replies.