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 to set background color in form width and not in the whole page?

    Asked by katia_d on October 07, 2014 at 03:47 AM
    I have the same problem and I need help please. I think sachithperera means the same with me. I want the backgroung color to remain ony in the width limits and not in the whole page of the form. For example if the limit is 800 the blue color will be only within these 800 the rest will be white. How can it happen??
  • Profile Image
    JotForm Support

    Answered by ashwin_d on October 07, 2014 at 08:42 AM

    Hello katia_d,

    Okay I have understood your question correctly. Please remove the background color you have set in your form. Please check the screenshot below:


    Inject the following custom css code in your form to change the background color of the form width:

    .form-all {

    background: #C8F7F3 !important;


    The following guide should help you in injecting custom css code in your form:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!