Add background image to one page using CSS upgrade

  • Author
  • #806948

    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


    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?


    This page, , has 8 different images on it.


    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;

    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.


    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).


    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;


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


    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;


    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?


    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.

The topic ‘Add background image to one page using CSS upgrade’ is closed to new replies.