How to remove borders around text box?

  • Profile Image
    Aazmi
    Asked on July 14, 2016 at 11:04 AM

    Hi,

    I would like to remove all the borders around the text boxes in these two forms:

    https://form.jotform.com/61525108558255

    https://form.jotform.com/61595263756264

    So that they look like the text boxes without borders in this form:

    https://form.jotform.com/61933997891274 

     

    Can you please help me do this?

  • Profile Image
    John_Benson
    Answered on July 14, 2016 at 12:20 PM

    I can see what you mean, there are rounded borders around the text boxes.

    Please insert this custom CSS code to your form in order to remove the borders around the text boxes. Here's the code:

    .form-textbox, .form-dropdown { 
    border: 1px solid #a1a1a1 !important;
    border-radius: 0px !important;
    -moz-box-shadow: 0 1px 2px #eee inset !important;
    -webkit-box-shadow: 0 1px 2px #eee inset !important;
    box-shadow: 0 1px 2px #eee inset !important;

    input:focus, textarea:focus, .form-upload:focus, .form-dropdown:focus  { 
    border: 1px solid #a1a1a1 !important;
    border-radius: 0px !important;
    -moz-box-shadow: 0 1px 2px #eee inset !important;
    -webkit-box-shadow: 0 1px 2px #eee inset !important;
    box-shadow: 0 1px 2px #eee inset !important;

    .form-line-error input:not(#coupon-input), .form-line-error select, .form-line-error textarea, .form-validation-error { 
    border: 1px solid #ff3200 !important;
    border-radius: 0px !important;
    -moz-box-shadow: 0 1px 2px #eee inset !important;
    -webkit-box-shadow: 0 1px 2px #eee inset !important;
    box-shadow: 0 0 3px #ff3200 !important;

    .form-line-error input, .form-line-error textarea { 
    border: 1px solid #ff3200 important;
    border-radius: 0px !important;
    -moz-box-shadow: 0 1px 2px #eee inset !important;
    -webkit-box-shadow: 0 1px 2px #eee inset !important;
    box-shadow: 0 0 3px #ff3200 !important;

    Here's a guide: How-to-Inject-Custom-CSS-Codes

    Hope that helps. Let us know if you need any further assistance. Thank you.