Comments NeilB4TheKing started the conversationApril 11, 2018 at 3:54amI know I can set the background image in the "customise theme" section.but i was wondering if you could give me the CSS Class or ID reference of the background image specifically for a post so i can turn it on and off via CSS instead. 2,700PenciDesign repliedApril 11, 2018 at 4:00amHi,Do you mean background image for all site?If right, please use this code for example: body.postid-221 .wrapper-boxed{ background-image: url('your-background-image-url-put-here') ;background-position: center center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; }Note:1/ You need to replace number 221 on the above code to your posts ID. Check this image to know how to find ID of a post.2/ Replace 'your-background-image-url-put-here' to your background image url.Best Regards,PenciDesign Sign in to reply ...
I know I can set the background image in the "customise theme" section.
but i was wondering if you could give me the CSS Class or ID reference of the background image specifically for a post so i can turn it on and off via CSS instead.
Hi,
Do you mean background image for all site?
If right, please use this code for example:
Note:
1/ You need to replace number 221 on the above code to your posts ID. Check this image to know how to find ID of a post.
2/ Replace 'your-background-image-url-put-here' to your background image url.
Best Regards,
PenciDesign