forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: IrI on May 20, 2006, 02:40:47 am

Title: How can I paste image as background?
Post by: IrI on May 20, 2006, 02:40:47 am
My background of the gallery is white and I want paste an image as background like that: (https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg406.imageshack.us%2Fimg406%2F8866%2Fbg7ko.jpg&hash=6229d3d03911cb61677e577a9315cba130a1b159)
How can I do that?  ( http://www.jessica-simpson-fan.net/gallery/index.php )
Title: Re: How can I paste image as background?
Post by: Joachim Müller on May 20, 2006, 05:49:10 am
you're using cpg1.3.4, so I'm moving your thread from the support board for cpg1.4.x to the board where it should have been posted in the first place.
To solve your issue, edit http://www.jessica-simpson-fan.net/gallery/themes/classic/style.css, find
Code: [Select]
body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        background : #CCCCFF ;
        color : Black;
        margin: 0px;

}
and replace with
Code: [Select]
body {
        font-family : Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        background : #CCCCFF ;
        color : Black;
        margin: 0px;
        background-image:url(path/to/your/image.gif);
        background-repeat:repeat;
}
The image you're going to use is unnecessarily large, just tile it and use the reduced version (see attachment).
Title: Re: How can I paste image as background?
Post by: IrI on May 20, 2006, 03:29:56 pm
Thank you so much!  ;)