Technical Support Forums

Technical Support Forums » Web Album Generator

adding gif image for back ground (8 posts)


About this Topic

Tags

  1. b
    Member
    Posted 3 years ago

    Hi,
    I have changing the background before and had no success. I am trying again.
    Here is the text for the album that I am trying to change the background color to an image
    Will you please show me what I am doing wrong.I have never worked with style sheets and do not quite understand them. The gif image is on the background for my web site http://www.choiceofchampionsofusa.com. I think that your albums are the best things. I use them on my site http://www.section2w.org for putting up pictures of the Royal Ranger trips. Also on the http://www.parkerhorseequipment.com site for the new items the manufacturing plant comes up with.

    /* Main Selectors */
    body {
    	body { background-image: url(coccomposit.gif); }
    }

    [Moderator Edit: Truncated pasted file]

  2. Mark
    Administrator
    Posted 3 years ago

    Hello, try changing the "body" section from this:

    body {
             body { background-image: url(coccomposit.gif); }
    }

    Into this:

    body { background-image: url(coccomposit.gif); }

    That is, remove the surrounding superfluous "body" bit. I think that'll do the trick. Also, remember to copy coccomposit.gif into your album's folder. Hope this helps.

  3. b
    Member
    Posted 3 years ago

    I tried it....but still not getting it to come up. Do I need to regenerate the album for the back ground to come up? Do I need to put the gif just in the folder with the other pictures?

  4. Mark
    Administrator
    Posted 3 years ago

    If you're modifying the Stylesheet Template within Web Album Generator (by clicking on File then Edit Stylesheet Template), then you'll need to re-generate your album. If you're modying the main.css file directly, then you won't need to re-generate.

    Finally, yes, the gif should be put in the folder alongside the other pictures.

    I hope this helps!

  5. b
    Member
    Posted 3 years ago

    Since I use web album for the different sites do I have a seperate css file for each site? (when I finally figure out how to change the background)

  6. b
    Member
    Posted 3 years ago

    I got it figured out...thank you!
    Each time I generate an album for which ever site I need to change the picture in the style sheet or can I download a new generator for each site that I have?

  7. b
    Member
    Posted 3 years ago

    Morning again,
    I got it to work on a trial album. When I got the full album done and generated it didn't work
    Here is the script that is on the css

    /* Main Selectors */
    body { background-image: url(coccomposite.gif);
    background-repeat: repeat;
    }

    I am just not sure what I am doing wrong...it has to be a little thing.

    B

  8. Mark
    Administrator
    Posted 3 years ago

    The code looks fine, so perhaps it's not working because the image file isn't being loaded. Remember to copy the coccomposite.gif file into each album's folder. You'll need to do this each time you generate the album.

    I hope to make background images easier to specify in a future version of WAG.


Reply

(required)