Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14468

    Can someone please tell me how to add an image to the background of my site, behind the body content? If there is a code that I can use in the Quick CSS box, that would be amazing.

    Thank you,

    Jennifer

    #83584

    Hi Jennifer,

    Go to Media > Add New. Upload the image and get the “File URL”. (I’ll set this as an example of the file URL: http://your_website.com/the_background.jpg).

    Then, go to Quick CSS and add this code:

    body {
    background: url('http://your_website.com/the_background.jpg') fixed;
    }

    Try to use a large background image. Just replace: http://your_website.com/the_background.jpg with the File URL generated by WordPress. Hope this helps. :)

    Regards,

    Ismael

    #83585

    Hi Ismael,

    Thanks for your response, but I tried everything you said and it just won’t work :( I don’t understand it. I’ve been trying for days. Oh well.

    #83586

    Hi Jennifer,

    Try to use this code instead:

    body {
    background: url('http://your_website.com/the_background.jpg') fixed !important;
    }

    Hope this helps.

    Regards,

    Ismael

    #83587

    Hello I added this code to the CSS and I can’t see the image.

    I’m using this option for my homepage http://www.kriesi.at/themes/flagship/aviapoly-slider-example/

    I want to add an image that covers the background, behind the slider and rest of the boxes but no luck.

    Any other advise is welcome.

    #83588

    Hello,

    Are you sure the URL of the image source is correct? Can you paste it here so that we can check it?

    Regards,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Adding background image behind content boxes’ is closed to new replies.