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

    CSS override?

    Asked by avirga on May 23, 2014 at 02:45 PM

    Hi, I've created a registration form and have integrated it into an existing website along with its supporting CSS & JS (HTML & support downloaded JotForm interface: embed > source > "You can also download a compressed and refined version with separate .css and .js files from here.")

    I would like the container of the form to be white but the infinite background color to be something different.  I added to the internal stylesheet:


    body { background-color: #F7F4E1 !important;}


    It previews correctly in Dreamweaver, but when the page is viewed online, the body background color isn't taking effect. 

    Could you please advise how to make this happen?  The page would look a lot better with some dilineation between the form & the surrounding background color.



    Page URL:

  • Profile Image

    Answered by bob on May 23, 2014 at 04:21 PM

    Inject the custom code below to your form:

    body, html{ background-color:#F7F4E1; }

    I have cloned your form, tested with injecting the code and it worked just fine!

    Please follow the screenshots:


    After injecting the code:

    Read the guidelines on How to Inject Custom CSS Codes to your Form, if you don't know the process.

    Let us know if the problem still persists.

    Thank You.

  • Profile Image

    Answered by avirga on May 23, 2014 at 06:26 PM

    Works like a charm!  Thanks so much for your quick response!