[Support request] Separate background image for specific posts?

Home Forums Support [Support request] Separate background image for specific posts?

Home Forums Support Separate background image for specific posts?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #234257
    Sharrel

    Hi,

    Is it possible to have a separate background image for a specific post? (FYI – Paid advertisement and I want the post to stand out, so I would like to have a separate background image for that particular post)

    #234417
    Tom
    Lead Developer
    Lead Developer

    If you right click the post using Chrome and click “Inspect”, you’ll see the article element: http://screencast.com/t/xDaruKUXaeJ

    That element has a specific ID. In the example, it’s post-231205.

    So you could add this CSS:

    #post-231205 .inside-article {
        background-image: url( 'BACKGROUND URL FOR THIS POST' );
    }

    Hope this helps 🙂

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