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 can I decrease the width of the background color

    Asked by meetmybcn on May 07, 2014 at 03:12 PM

    Hello,

    Thank you for providing these beautiful forms!

    I created a reservation form and added a background color. When I embed the form in my Wordpress site, the background color takes the whole width of the page, I would like to have the background color only to match the width of the form. How could I do this?

    Thank you for your help.

    Best regards

    Screenshot
    reservation form site hello and
  • Profile Image
    JotForm Support

    Answered by TitusN on May 07, 2014 at 05:23 PM

    Hello,

    To accomplish that, please do the following:

    1. Make the form transparent by typing 'transparent' in the form background settings as shown:

    Next, Use this guide to add the following CSS to your form:

    .form-all{
    background: #F3F2F7;
    }

    The CSS will make the background settings to apply only as far as the width of the form.

    Please let us know if this helps.

  • Profile Image

    Answered by meetmybcn on May 08, 2014 at 03:11 AM

    Hello, this works fine! Thanks a lot for your help.

    Have a nice day!