Page 1 of 1

plain text background

Posted: 18 Jan 2017
by jpwallace
On one of my forms i have many fields that are made up of either a Single Line of Text Field or multiple lines of text. How do i change the color of the background of the a user will input the text. I believe its in the Control section but unsure what to change.

Re: plain text background

Posted: 18 Jan 2017
by jpwallace
Its ok i have found it..........

.fieldname textarea {

background-color: red;

}

Re: plain text background

Posted: 18 Jan 2017
by jpwallace
how do i apply this to more than one field, if i do the same as above for another filed, nothing happens??

Re: plain text background

Posted: 19 Jan 2017
by jpwallace
The above code only seems to work on a multi line text field, all single line of text fields i cant seem to get to change color.

Re: plain text background

Posted: 19 Jan 2017
by Dmitry Kozlov
Insert the following code into CSS-editor:

Code: Select all

.fd_control input,
.fd_control textarea {
	background-color: red;
}

Re: plain text background

Posted: 19 Jan 2017
by jpwallace
is there a way to get it to work for drop down menus too?

Re: plain text background

Posted: 19 Jan 2017
by Dmitry Kozlov
Then use this:

Code: Select all

.fd_control input,
.fd_control textarea,
.fd_control select{
	background-color: red;
}