How can I change the color in a comment box?

  • Profile Image
    Alina11
    Asked on June 07, 2011 at 03:47 PM

    I posted on here  a few days ago about how to change the color of text boxes (i.e. where the customer would enter their name or email address), however, it won't change the color of my comment box in the same form.  It remains white, but the other fields do change.  Is is possible to change this as well?

    Thanks,
    Alina 

  • Profile Image
    NeilVicente
    Answered on June 07, 2011 at 03:59 PM

    Hello Alina,

    By comment box, do you mean text area?

     

    If yes, please use these codes:

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

    input is for the textbox

    textarea is, obviously, for the text area

    select is for the dropdowns

    Replace the color with HTML Color Codes or HTML Color Names

    Let me know if my solution is not what you're looking for. Thank you!


    Neil

  • Profile Image
    Alina11
    Answered on June 07, 2011 at 08:36 PM

    Thanks!  It does work, however, it leaves a white border around the text areas.  Is it possible to change that?

    Also, how can I change the color of my drop down?  Once I switch the background of it to black the text stays black as well.

    Thanks,!

    Alina

  • Profile Image
    mliz
    Answered on June 08, 2011 at 05:52 AM

    Hi Alina,

    Every form field is using a different css class the
    following classes are used within the form. This would remove the border
    in the fields and change the input text to white as
    well as change the drop down background to black.

    .form-textbox, .form-textarea, .form-dropdown {
    color: #FFFFFF;
    background-color: black;
    border: none;
    }

    Thanks for using JotForm.

    Regards,
    Mliz

  • Profile Image
    Alina11
    Answered on June 08, 2011 at 11:34 AM

    This worked.  Thank you so much!