Need help? Check out our Support site, then

Add background image to one page using CSS upgrade

  1. libraryexample

    Hi, I'd like to create a page with a registration form (I'm using the contact form) but have it overlayed on top of an image. We have the CSS upgrade and are using DePo Masthead theme. (site
    thanks for your help!

    The blog I need help with is

  2. In many themes this can be done. We need the URL of the background image and what is the URL of the page you want to put it on?

  3. libraryexample

  4. This page, , has 8 different images on it.

  5. You need to download the one you want to use and then it has to be prepared and optimized for the web so that it doesn't take forever to load on the page. The image when edited and optimized should be no more than 200k in file size, and 150k would be even better. A width of 1500px would be the maximum I would suggest.

    You then upload that image to the media library on your site, get the URL of that image and put it where it says, URL OF IMAGE between the double quote marks. {
    background: url("URL OF IMAGE") no-repeat scroll 0 0 transparent;
  6. libraryexample

    Sorry about the delay- thanks for your help with this. I can't figure out how to edit the page's CSS. It's not under the CSS tab under Custom design and I don't see it anywhere on the specific page editor.

  7. You just go to Appearance > Custom Design and paste the above code in the CSS Stylesheet Editor (replacing URL OF IMAGE with the actual URL of the image).

  8. libraryexample

  9. That's because your image isn't wide enough and it's left-aligned. Try a wider image, and use this variant:

    body {
    background: url("IMAGE URL HERE") no-repeat fixed transparent center top;
  10. libraryexample

    It doesn't really look any different.- the image is still shifted over to the left.

  11. Strange - in my tests blog it's centered. (I also forgot you wanted it on one page only, and wrote only "body" above).
    Try this: {
    background: url("IMAGE URL HERE") no-repeat fixed transparent center top !important;
  12. libraryexample

    Still left-aligned- and also, I'm not seeing any transparent effect. I checked it in Firefox and Explorer. What could I be doing wrong?

  13. Sorry, I don't know (as I said, this code does make the image centered in my tests blog). You'll have to wait for Rich (thesacredpath) or staff.

Topic Closed

This topic has been closed to new replies.

About this Topic