hello searched and haven’t found anything useful that works. I am trying to target just one form field that is to attach an image. It does not need a border like the rest of the fields have. I have tried this code after wtching a video… does’nt do anything.
The custom CSS you have should work and it should target the field with an ID 1 on a Form with ID 23. How are you currently adding the CSS to the website/form? You can insert the CSS within an HTML field on the form and wrap the CSS codes with the tags.
I had the same issue.
My solution was to define a class gf_noborder for each field type (below) in style.css and simply add the class to each field as required.
body .gform_wrapper .gform_body .gfield.gf_noborder div input[type=text],
body .gform_wrapper .gform_body .gfield.gf_noborder div input[type=number],
body .gform_wrapper .gform_body .gfield.gf_noborder div textarea {
border-style: none;
background-color: #ffffff;
}