• I have searched around and tried multiple codes, such as

    body{
    background-image: url(‘i.imgur.com/qZY5vdM.jpg’)
    }

    body {
    background: url(‘image url here .jpg’) repeat fixed 0 0 #FAFAFA !important ; .round-div {
    border: 104
    }

    body.background {
    background-image: url(“image url here.jpg”);
    }

    But none of these work, background is just white. What is there that i could do? These are all tried in the custom CSS panel, and the site URL is techset.fi

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you sure your image url is correct? My code would be:

    body {
    /* Adjust the Image location '/wp-content/uploads/NAMEOFFILE.png' */
    background:url(/wp-content/uploads/NAMEOFFILE.png) repeat fixed 0 0  ;
    }
    #main-wrapper {
    background-color: #E0FFC1;
    margin-top: 	0px ;
    }

    Currently, the site is using none so image will not show.

    Thread Starter Wetop

    (@wetop)

    This code worked. Would there be a way to make different pages have different backgrounds?

    body.page-id-nn {etc} should work. You can identify the page-id for each Page by looking at the <body> tag on each page – RtClick/View Source for example.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Background image not working’ is closed to new replies.