WordPress.org

Support

Support » Themes and Templates » Image as background for one page only

Image as background for one page only

  • Hello,

    I have a client that would like to use an image as the background for one page of their 11 page site. I’ve been researching this for the past couple of days and followed some posts that I found here in the forum but, unfortunately, I haven’t been able to get it to work. Is this even possible to do within WordPress?

    Thanks for any help that you can give.

Viewing 4 replies - 1 through 4 (of 4 total)
  • All you have to do is create a template, and use that template when you create the page.
    Check out
    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    Perfect! Thanks for the help!

    Creating the template page works perfectly, except that the page now looks like a state HTML page, if that makes sense. None of the theme that we’re using is present (sidebar, header, etc). I tried placing the following code in the page itself (not the template that I created) and the background shows but it’s just in the border area of the page. Is it possible to have it show in the page itself? Or, alternatively, is it possible to get the template to look like the rest of the website?

    Thanks, again, for the link to the template creation. It’s starting to look like that will be the route that I will have to take.

    Sorry, here’s the code that I used:

    <head>
    <style type=”text/css”>
    body {background-image:url(‘/wp-content/uploads/images/background/Transparency3a.jpg’);}
    </style>
    </head>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image as background for one page only’ is closed to new replies.