CSS: How to add a border to my form

  • Metodo D'Accordo
    Asked on March 21, 2025 at 6:43 AM

    i would like to have a specific css code to get border on the form, how can i do it ?

  • Lara JotForm Support
    Replied on March 21, 2025 at 9:15 AM

    Hi Metodo, 

    Thanks for reaching out to Jotform support. You can easily add a border to your form by Injecting CSS Codes into your form. Let me walk you through it:

    1. First, copy this code:

    /*Adds a border to the form - 25454551*/
    .form-all {
      border: 4px solid red; 
    }
    /*Code ends here*/

    2. In Form Builder, click on the Paint Roller icon on the right side of the page to open Form Designer.

    3. Now, in the Form Designer menu, click on the Styles tab, scroll down and paste the code into the Inject CSS Code box. That’s it. The code is automatically saved.

    CSS: How to add a border to my form Image 1 Screenshot 20 You can change the color and pixel value based on your preference.

    Give it a try and let us know how it goes.

Your Answer