View Full Version : Change the background of modules
G3MM4
04-29-2006, 10:58 AM
I noticed that the background colours on my modules seem to alternate between alt1 and alt2, I'd like to change it so that the backgrounds of all modules stay at alt1. I'm not sure where to do this, so could someone please tell me which template do I find this in?
See the screenshot... the first module background is a different colour from the second one... and so on. I want all of them to have the same background as the first one.
G3MM4
05-02-2006, 08:33 AM
BUMP
Please can someone help me out here?
G3MM4
05-21-2006, 12:07 PM
Bumping this thread because I'd really like to get some support here please.
cherylferraro
05-22-2006, 01:37 PM
I'm certainly no expert but the way that I accomplished this was to edit the style that I used for vbadvanced in the styles & templates section of the control panel. Choose all style options setting and then click go. When you scroll down you will see the alt1 and alt2 settings. Set them so that they are both the same color. You can also edit the template used for a module if you want to change just one of the modules and not the entire page. I edited a couple of templates yesterday and after a bit of kerfrumpling and stumbling around to get familiar with the process it was actually pretty straight forward.
There is probabably some other more sophisticated way to do the job. If anyone else can enlighten us I'd be interested to learn a more elegant solution.
Messiah2
12-11-2006, 06:59 AM
Open includes/vba_cmps_include_bottom.php
find (line 365):
$bgclass = exec_switch_bg();
above add:
$bgclass = "alt1";
burntire
01-12-2007, 03:25 PM
Thanks for the code :)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.