I created this CSS snippet; any thoughts on why the Field Label is sometimes not included within the padding? I’m using the Form Items example; wondering if I need to target each field type?
Try this. I checked out your webpage. It looks as though your forms are using some legacy markup. The snippet below should work. If not, feel free to respond to this.
I appreciate the help, but that didn’t work; seems only to be impacting the background of the field label, not the entire field. Here’s a screenshot so you can see; I’m going to change my CSS back to what I started with.
Also, I double checked and I don’t have any legacy markup that I can find, and I have “Enable Legacy markup” unchecked in settings. Where else would there be legacy markup?
Thanks. I’ve researched this some and understand the concept, but have no idea where I would make a change.
Additional information: I’m using GF v2.5.6. The forms are brand new, there is no legacy code, “enable legacy markup” is unchecked. There is no additional code in Additional CSS or in my functions.php file.