Prevent background image from scrolling

  • Profile Image
    Pace_Martyn
    Asked on July 10, 2021 at 01:33 AM

    When I'm on the editing part of the site, my background image stays still and it's the questions tat scroll up and down.


    But when I go to test the form and fill it in, the image scrolls with the questions.


    Is there a way to keep the background image still (like in the editing format) at all times?


    Thanks.

  • Profile Image
    Billy_G
    Answered on July 10, 2021 at 09:02 AM

    Hi there!

    I hope you're doing well and thanks for reaching out.

    Yes, there is a way to prevent the background image from scrolling by injecting a CSS code.

    Please follow this guide on how to inject CSS code and inject the code found below:

    .supernova {
    background-attachment: fixed !important;
    }


    Let us know if you need further assistance.

  • Profile Image
    Patrick_R
    Answered on July 10, 2021 at 01:11 PM

    Hi! Don't remove anything. You need to place the code provided by my colleague at the end of your existing CSS code.

    Thank you!