How to add a background image

Hi all,

I've just started with Zenphoto and I'm using the default theme. Is it possible to upload a background image to the front page - or indeed to any page? If I can't do this with the default theme are there any themes that allow it?

thanks
Steve

Comments

  • Open your theme files and change the <body> tag

    For exmaple:
    http://www.echoecho.com/htmlbackgrounds02.htm
  • Thanks - where do I find the theme files?
  • acrylian Administrator, Developer
    Within the themes folder within your installation.
  • Thanks - I'm still having some problems though. I'm working with this bit of script:

    /* Main Layout
    ------------------------------ */
    body {
    background: #F5F5F3;
    margin: 0px;
    padding: 0px 0px 50px;
    text-align: center;
    }
    #main {
    text-align: left;
    margin: 20px auto;
    width: 685px;
    background: #fff;
    padding: 20px 30px 70px;
    border-top: 1px solid #E6E6DF;
    border-right: 1px solid #E6E6DF;
    border-bottom: 5px solid #E6E6DF;
    border-left: 1px solid #E6E6DF;
    }

    I find that if I change the two different "background" settings above to different colours, it works - so I know I'm modifying the right script. But when I set the background to an image file, e.g. "Picture 021.jpg" my page background does not change. I assumed I had to upload the "Picture 021.jpg" file to "images" folder in my themes directory, which I did.

    Any ideas? Thanks.
Sign In or Register to comment.