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
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
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
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.
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
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.
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
You must log in to post.