Support » Fixing WordPress » Background Image in Page or Post

  • This may be a simple problem, but I am looking to achieve a special look in a post/pages taht I designing for my blog. What I want is have on certain select pages or posts a unique background image. How would I do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can do a simple conditional statement to see if it is a certain page, and if so, add extra css, etc..

    <?php if (is_page(1) || is_page(2) || is_page(3)) {
    // add extra css here

    That will be triggered if the page ID being viewed is 1 2 or 3


    I will give this a try on my test Blog and play with it. I knew there had to be a way to do it.

    I spotted this thread and hope that someone is still watching. My non-profit blog is . I’m trying to duplicate the framed photo look from my sidebar, only drop it into a certain page. I think this is very similar to ScubaQ’s query. I also want to embed a video file over the frame, rather than a photo file. Can you help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Background Image in Page or Post’ is closed to new replies.