How do I removed the embossed border around text boxes?

  • clarkschool
    Asked on January 11, 2017 at 11:00 AM

    Hi there, would you be able to provide me with the CSS (or direct me where to edit this in Advanced Design) for removing the embossed look around the Full Name and Email text boxes? I've added arrows to the screenshot to show what I'm asking about. Thank you!

    Jotform Thread 1031730 Screenshot
  • David JotForm Support
    Replied on January 11, 2017 at 12:54 PM

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

    How do I removed the embossed border around text boxes? Image 1 Screenshot 20

    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 our guide on how to add CSS to your form: How-to-Inject-Custom-CSS-Codes

    Here is how to form would look with the code added:

    https://form.jotform.com/70105247685961

    You can clone it to your own account if you would like:

    https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

  • clarkschool
    Replied on January 11, 2017 at 1:14 PM

    Thank you for the excellent customer service! That did the trick!

    Have a great day!