antonlecluyse Posted June 6, 2023 Posted June 6, 2023 Hi, I want to style the fields in the form block. It used to work with the code I found, but now it doesn't seem to have any effect anymore, no matter what I do. I am able to target and modify all the other things in the form block, but not the field element. Let's say I want to change the background of the field. This is the code I use to target the element: .form-wrapper .field-list .field .field-element { background: none !important; } But as I said it doesn't do a thing.. Thanks for helping me out.
tuanphan Posted June 9, 2023 Posted June 9, 2023 Use new new code div.form-block input:not([type="submit"]), div.form-block textarea { background: none !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment