PDA

View Full Version : [Simple Request] Background behind individual forumbits.


Reeve of shinra
10-31-2006, 07:25 PM
Hello, if someone could tell me how to fit unique backgrounds into behind each forumbit I'd appriciate it.

You know on the forumhome, where it shows the name of the forum and the flavortext? behind that, as a backround unique to each forum.

Reeve of shinra
11-03-2006, 10:49 PM
bump.

ForumDog
11-04-2006, 12:41 PM
Give your background image the same name as the forumid for the forum with which you want it associated, then in forumhome_forumbit_levelx_post find:


<td align="left" id="f$forum[forumid]">


and either add a CSS class to it or otherwise inside the tag add:


style="background:#fff url($stylevar[imgdir_misc]/$forum[forumid].jpg) right center no-repeat;


Which is roughly what you want to do I assume, that's what I used inside the forum section with a large image for the background and a smaller one as an icon since I think you can use the same conditional in most of the major locations, i.e. http://doghouse.forumdog.com/forumdisplay.php?f=54