How to set an image as a background

  • OVPFA
    Asked on February 13, 2018 at 2:16 PM

    Hi JotForm,

    I am wanting to have a fixed image as the background of my form, but when I select "fixed" in the advanced designer, it is blowing up the image and zooming way in.

    Is there a way that I can have it show the image like it does before I select "fixed" so it is the right size for me to have on my background? 

    I attached screenshots of what it is doing. I would like for it to appear like the top screenshot.

    Thank you!

    Jotform Thread 1383290 Screenshot
  • aubreybourke
    Replied on February 13, 2018 at 2:48 PM

    You can accomplish this with CSS.

    For example:

    .supernova {

    background-image:url('http://www.site.com/image.jpg');

    background-repeat: no-repeat;

    background-position: center top;

    background-attachment: fixed;

    background-size: cover;

    }

    How-to-Inject-Custom-CSS-Codes