Skip to content
Public Ticket #2308

Box image background on/off post

Conversation thread

PenciDesign replied

Staff Reply

Hi,

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

NeilB4TheKing started the conversation

Conversation Start

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.

Want to join this conversation or access attachments? Sign in first.