Setting a main backgroung image to replace the plain grey? Setting a main backgroung image to replace the plain grey?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Setting a main backgroung image to replace the plain grey?

Started by spotty, January 23, 2004, 10:44:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spotty

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 :)

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

spotty

Capser

That worked a treat! excellent.

Thanks for some good help :)

YourLocalNerd

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!