how to create custom background image for individual post
-
HELP! I can’t get this to work!
My Website
How do I create a background image for just the body of an individual post. The page I’m trying to do this to is this one. and here is the image I want to make into the post background : imageThe blog I need help with is: (visible only to logged in users)
-
Hi @eeblaze, it looks like you are using WordPress but you are not hosted here at WordPress.com. For self-hosted WordPress sites such as yours, I would suggest asking for help from the theme author directly or ask in the volunteer-based WordPress.org Themes and Templates forum.
For general questions on self-hosted WordPress.org installations, visit http://wordpress.org/support/.
-
Since you linked to a draft post on your site, I cannot see it on self-hosted WordPress sites.
In general though, you need to use the unique post id class in the opening body HTML tag something like this. I’ve used your Conor McGregor post as an example.
.postid-115 #content { background-image: url("http://eeblaze.com/wp-content/uploads/2016/01/auPMhsQ.jpg"); background-size: contain; background-repeat: repeat-y; }That should get you started.
- The topic ‘how to create custom background image for individual post’ is closed to new replies.