WordPress.org

Support

Support » Themes and Templates » multiple background images

multiple background images

  • Hey guys, I am very new with wordpress, and would appreciate some help with this. I am trying to put a background image in the upper right, as well as the upper left. How hard is this? I haven’t even settled on a theme yet because I’m not sure which one will be best for what I’m trying to do.

    Thanks 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Optimus,

    Some themes do this by default. I’m thinking if you can locate one you can check the stylesheet to see how they did it.

    I’m not the best one to tell you the code myself; so that’s my advice for now!

    Thank you 🙂

    Would you know of these themes, or how I might find one?

    If your theme doesn’t have a fixed width, you can assign one background for html and another one for body. If you also have a wrapper, you can assign one more background to it.

    Something like this:

    html { padding: 0; background: #fff url(topright.png) top right no-repeat; }
    body { margin: 0; padding: 8px; background: url(topleft.png) top left no-repeat; }

    Thanks so much, I’ll try this. As of now I’m having trouble getting a header background image 🙁

    This is all really helpful guys, thanks again

    Hmm, I tried this, and I couldn’t get it to work 🙁

    I got the right image by using a custom background image theme. I’m having trouble getting the same image on the left.

    Here’s the blog, tell me what you guys think.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘multiple background images’ is closed to new replies.
Skip to toolbar