Moving background image

  • WheelsOfThrill
    Asked on December 27, 2020 at 12:14 PM

    Dear Sir/Madam,

    I noticed that in one of my forms, the background image is moving with the form, while in the other, it is static (as I like it). The links to both forms are below:

    https://form.jotformeu.com/200186573837360

    Moving background


    https://form.jotformeu.com/91667183381363

    Static background


    Also, I was wondering whether I can include the text from the form in the PDF that is usually create from a submission (inbox > download > print version). Although the PDF version option includes all text, it looks very weird to me and does not include the input information that was provided.

    Looking forward to your help.

    Best wishes,

    Rob Holtackers

  • Mike_G JotForm Support
    Replied on December 27, 2020 at 1:07 PM

    I see that the forms you linked have the same style/format and I also find it odd why the other one has a fixed background and the other has not. Nevertheless, the following custom CSS codes when injected into your form will solve the issue you are having.

    .supernova {

      height: 100%;

      background-repeat: no-repeat;

      background-position: center top;

      background-attachment: fixed;

      background-size: cover;

    }

    Reference Guide: How-to-Inject-Custom-CSS-Codes

    Please give it a try and let us know if you need any further assistance.

  • Rob
    Replied on December 27, 2020 at 5:42 PM

    That worked perfectly, thank you so much!