coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: spotty on January 23, 2004, 10:44:18 PM

Title: Setting a main backgroung image to replace the plain grey?
Post by: spotty on January 23, 2004, 10:44:18 PM
All i want to do is set a main backgroung image to replace the plain grey?

Do i do this in the standard default theme style sheet? if so, how?

Thanks :)
Title: Setting a main backgroung image to replace the plain grey?
Post by: Casper on January 23, 2004, 11:13:54 PM
Basically, yes, but also the template.html.

First, upload the image to the themes/default/images folder.

In template.html, find the table that starts immediately after the <body> tag, and replace the background colour code (bgcolor="#CCCCCC") with background="themes/default/images/yourimagename".
Do this also in the <td..... tag.

Now do the same in style.css to the body and maintable.

You may also want to do it for some of the other tables. Try it and see.
Title: Setting a main backgroung image to replace the plain grey?
Post by: spotty on January 23, 2004, 11:56:35 PM
Capser

That worked a treat! excellent.

Thanks for some good help :)
Title: Setting a main backgroung image to replace the plain grey?
Post by: YourLocalNerd on January 27, 2004, 02:04:51 AM
Just wanted to say thanks as well Casper :)  This was what I was looking for.  Support here has always been great, but also an awesome teaching tool.  GJ Coppermine!