Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1536690
Box image background on/off post
Closed

Comments

  • NeilB4TheKing started the conversation

    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.

  •  2,699
    PenciDesign replied

    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