Styling Consent Element with CSS [RESOLVED]

Can someone explain me how to design the consent element with CSS? I can’t get it to work somehow. Does the element have its own class? If so, what is it. I could not find anything in the documentation.

Hi Marco, you can target the .gfield_consent_description, like this:

body .gform_wrapper .field_description_below .gfield_consent_description {
  font-size: 16px;
  color: red;
  padding: 0 30px;
}

Here’s what it looks like when applied to a consent field on my site:

If you need more assistance, please share a link to the page on your site where we can see the Gravity Forms consent field in the form. Thank you.

1 Like

This is the for the label.

.gfield_consent_label
1 Like

Thank you both for the help. This is exactly what I was looking for. Worked perfectly.

2 Likes