plain text background

rss

Posted by jpwallace - Jan 18 ’17 at 04:16

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.

  • jpwallace
    Member
    Member for: 2 years 7 months 11 days
    #1 by jpwallace Jan 18 ’17 at 10:11

    Its ok i have found it..........

    .fieldname textarea {

    background-color: red;

    }

  • jpwallace
    Member
    Member for: 2 years 7 months 11 days
    #2 by jpwallace Jan 18 ’17 at 11:19

    how do i apply this to more than one field, if i do the same as above for another filed, nothing happens??

  • jpwallace
    Member
    Member for: 2 years 7 months 11 days
    #3 by jpwallace Jan 19 ’17 at 04:23

    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.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 5 years 10 months 26 days
    #4 by Dmitry Kozlov Jan 19 ’17 at 11:04

    [#3]: Insert the following code into CSS-editor:

    .fd_control input,
    .fd_control textarea {
    	background-color: red;
    }
    
  • jpwallace
    Member
    Member for: 2 years 7 months 11 days
    #5 by jpwallace Jan 19 ’17 at 11:19

    [#4]: is there a way to get it to work for drop down menus too?

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 5 years 10 months 26 days
    #6 by Dmitry Kozlov Jan 19 ’17 at 11:23

    [#5]: Then use this:

    .fd_control input,
    .fd_control textarea,
    .fd_control select{
    	background-color: red;
    }
Displaying 1 to 6 of 6 messages