[Support request] Using different background image in content area for specific page

Home Forums Support [Support request] Using different background image in content area for specific page

Home Forums Support Using different background image in content area for specific page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1028291
    Mira

    Hello,
    I’d like to use a different container/content background image for one specific page. I have Simple CSS and know how to do it for BODY background-image, but not for the main container. What is the CSS to target container (content) background image?
    Thank you.
    Tien-Yi

    #1028316
    David
    Staff
    Customer Support

    Hi there,

    you would target this selector: .separate-containers .inside-article – so for a specific page your CSS would look like:

    .page-id-XX.separate-containers .inside-article {
        background-image: url('image_url/image.jpg');
    }

    Switch XX for the actual ID number

    #1028538
    Mira

    thank you!

    #1028541
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.