• piterstany

    (@piterstany)


    Hi! I have a question about the background of the page, how to set a photo as the background so that the content scrolls and the photo remains still, only on the sides of the page. In the center, the content of the page should have a white background. Is it possible to set different backgrounds on individual subpages? An example is the website https://www.busemprzezswiat.pl – a photo with a forest. Maybe banal, but I can’t find it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Abhishek

    (@abhikr781)

    Hello,

    Please go to Appearance > Customize > General Options > General Styling, from here you can add a background image for the size and set the attachment as fixed.

    In addition, add the below CSS code from the Appearance > Customize > Custom CSS, and check.

    #main #content-wrap {
        background-color: #fff;
        background-attachment: fixed;
    }
    Thread Starter piterstany

    (@piterstany)

    thank you, it works! However, I have a little difficulty. After inserting an image as a background, it is visible (image) under the footer of the page, how to fix this problem?

    Abhishek

    (@abhikr781)

    You are most welcome and glad to hear that solution worked well.

    Sorry but didn’t get the background image in the footer section, kindly share a snapshot of the issue and website URL.

    • This reply was modified 3 years ago by Abhishek.
    Thread Starter piterstany

    (@piterstany)

    problem solved, I had to lower the footer.

    Abhishek

    (@abhikr781)

    Glad to has that issue has been resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘background image’ is closed to new replies.