Hi Florent, do you want the same image on every post, or a different one for each post?
This custom CSS would put an image behind every post and page:
body {
background-image: url(http://i2.wp.com/www.melting-productions.fr/wp-content/uploads/2015/11/Melting-e1448659109772.png);
}
You can target a more specific element if you want to restrict it to a specific page or type of page.
Hi Kathryn,
If it is possible i’d like a different image for each post.
Thank you !
In that case you’ll need to add a different CSS statement for each post, each linking to the image. For example:
.postid-XX {
background-image: url(http://i2.wp.com/www.melting-productions.fr/wp-content/uploads/2015/11/your-image.png);
}
.postid-XX {
background-image: url(http://i2.wp.com/www.melting-productions.fr/wp-content/uploads/2015/11/your-image.png);
}
.postid-XX {
background-image: url(http://i2.wp.com/www.melting-productions.fr/wp-content/uploads/2015/11/your-image.png);
}
Replace XX with the real post ID, which you can find by:
– looking in the browser address bar when editing the post
– looking at the body tag when viewing source in a browser
– using a browser inspector on the body tag.
Thank you very very much Kathryn !!!