CSS for Section Field Text

Good afternoon, I’m taking our forms off Legacy, and used the following CSS, which doesn’t work for Section Field Text.
body .gform_wrapper .gform_body {
font-size: 13px;
}
body .gform_wrapper .gform_body .gfield_label {
font-size: 16px;
}

Could I please have a CSS code that would affect the Section text font size?

Have you tried the CSS selectors listed in this doc:

Thanks for your reply Chris. I’m learning and wonder how I would adjust the size of the font, rather than the colour, in terms of the code?

As an example, if you want to change the font size for the Title:

body .gform_wrapper .gform_body .gform_fields .gsection .gsection_title {
font-size: 15px; //change 15 to your desired size
}

For the description text:

body .gform_wrapper .gform_body .gform_fields .gsection .gsection_description {
font-size: 15px; //change 15 to your desired size
}

These examples would apply to all forms and all section fields. If you need to apply this to a specific form and/or field, you can modify the selector using the form and field ID numbers as demonstrated in the doc I previously provided.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.