What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can I change the color in a comment box?

    Asked by Alina11 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
    JotForm Support

    Answered by NeilVicente 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

    Answered by Alina11 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
    JotForm Support

    Answered by mliz 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

    Answered by Alina11 on June 08, 2011 at 11:34 AM

    This worked.  Thank you so much!