How to add a background image to a form?

  • Profile Image
    odofertas
    Asked on November 29, 2013 at 03:00 PM

    as I can I can add a background image?, eg a png file on a phone and on this image, a text field



    This is a re-post of a comment on How to Display Images on Secure Forms

  • Profile Image
    Mike_T
    Answered on November 29, 2013 at 03:47 PM

    Thank you for contacting us.

    We can style the form with custom CSS. In order to add the image background you can inject the following CSS to your form:

    .form-all {
    background: url('http://your-image.com/here.png')
    no-repeat top left;

    Where http://your-image.com/here.png  should be replaced with your image URL. Also, if you add the form to httpS site, please make sure to use httpS path to your image.

    Form example:

    http://form.jotformpro.com/form/33326512260949

    Please feel free to contact us if you need any further assistance.

  • Profile Image
    talents
    Answered on September 30, 2014 at 05:53 AM

    hello

    this process made the actual form turn into a background

    what I need is the page background (wallpaper) to be set , not the form background

    thank you

  • Profile Image
    omer
    Answered on September 30, 2014 at 07:24 AM

    Hi talents,

    Can you try to inject this CSS line?

    html {

    background: url('http://your-image.com/here.png') no-repeat top left;

    Have a good day.

  • Profile Image
    RightClickMedia
    Answered on October 14, 2014 at 09:08 AM

    i have an image, can i know how to convert it to CSS File to use as my form backgroud?

  • Profile Image
    ashwin_d
    Answered on October 14, 2014 at 10:39 AM

    Hello RightClickMedia,

    You want to use your image as form background. Is that correct?

    You need to first upload the image to any web server and then grab the URL. You can upload it in JotForm as well. Here are the steps you should follow:

    1. Add the "Image" field in your form:

    2.  Choose "Upload Image File" option in the Image Wizard and then click Next:

    3.  Browse to the image file in your computer which you want to upload and then click "Upload File":

    4.  Select the Image field of your form then click "Image Source" in the toolbar :

    You can then use this image URL in the custom css code to set it as the form back ground.

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    jhcarrjr
    Answered on March 23, 2015 at 12:39 PM

    I am having trouble getting the 2nd step to appear.  How do I get the Upload File Box to appear?  It just has red text in the lower right section of the 1st box saying "Please select a type first".  There is no where to select a type.
  • Profile Image
    Charlie
    Answered on March 23, 2015 at 01:33 PM

    Hi jhcarrjr,

    To better assist our users, we advise them to open a new thread for each question or concern that they have. I went ahead and opened one for you. Please refer to this link instead: http://www.jotform.com/answers/538768. We will address to it accordingly.

    Kind regards.