Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Sushil,

    You can use this CSS code to add a background image for the site content

    .page-id-2940 .site {
        background-image: url(https://koshaa.org/wp-content/uploads/2021/07/Contribute-2.jpg);
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: 100%
    }
    Thread Starter sushil.katre

    (@sushilkatre)

    Dear Long,

    Thank you. This worked. I have updated the code.

    • This reply was modified 3 years, 8 months ago by sushil.katre.
    Thread Starter sushil.katre

    (@sushilkatre)

    Hi Long, you think anything could be done to better its mobile view. I like how its looking currently on the desktop.

    Thread Starter sushil.katre

    (@sushilkatre)

    Okay, please ignore the previous comment.

    Thanks for all the help.

    Thread Starter sushil.katre

    (@sushilkatre)

    Closing this thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Background Image to a page’ is closed to new replies.