WordPress.org

Ready to get started?Download WordPress

Forums

Image as background for one page only (5 posts)

  1. cm1967
    Member
    Posted 3 years ago #

    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.

  2. webmaster in texas
    Member
    Posted 3 years ago #

    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

  3. cm1967
    Member
    Posted 3 years ago #

    Perfect! Thanks for the help!

  4. cm1967
    Member
    Posted 3 years ago #

    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.

  5. cm1967
    Member
    Posted 3 years ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Topic