How to set image as page background and color as form background?

  • Profile Image
    ddtware
    Asked on September 22, 2015 at 12:09 PM

    Is it possible to use a Page Background image but just a color declaration for the Form Background? In the Designer, when Background Image is chosen, both the Page and Form require an image file. 

  • Profile Image
    ashwin_d
    Answered on September 22, 2015 at 01:29 PM

    Hello ddtware,

    Yes it is possible to achieve your requirement by adding custom css code in your form. Please inject the following custom css codes:

    /* To set the page background image. You can also set this from designer as well */

    .supernova {

        background-image: url("YOUR_IMAGE_URL");

    }

     

    /* To set the form background color */

    .form-all {

        background-color: beige; /*Change to any desired color*/

    }

     

    The following guide should help you how to inject custom css code in form:  http://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!