If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Tagged: background image
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.
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:
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. :)
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.
Try to use this code instead:
background: url('http://your_website.com/the_background.jpg') fixed !important;
Hope this helps.
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.
The topic ‘Adding background image behind content boxes’ is closed to new replies.