-
sabio04Asked on May 22, 2018 at 4:33 PM
Hi,
I want to change the background color of the read only fields in my form and I used the code shown below from https://www.jotform.com/answers/845809-Changing-color-of-read-only-text, however it doesn't work.
[readonly="true"] {
background-color: lightGray;
}
What am I doing wrong?
-
roneetReplied on May 22, 2018 at 5:08 PM
Yes you can change the background color of the read only fields by using how to inject custom CSS codes
Please change the code to:
input[readonly] {
background-color: white !important;
}
Do let us know if this resolves your issue or not.
Thank You!
-
sabio04Replied on May 23, 2018 at 3:30 PM
Yes, this works. Thanks!