Log in

View Full Version : Adding an Alternating Colour?


GDA
01-04-2009, 07:42 PM
Hi,

I am doing some coding and have seen the alternative first and second colour options in the style manager for each template.

How can I make more alternative colour options?

Thanks

Bellardia
01-04-2009, 08:06 PM
vBulletin only uses alt1 and alt2 by default.

You can specify another class, such as alt3 in the "Additional CSS" section of a style by clicking "All Style Options".

You would have to hardcode the class into the templates where you want them to appear, or use a mod to inject the classes into tables in a specific order.

GDA
01-04-2009, 08:20 PM
vBulletin only uses alt1 and alt2 by default.

You can specify another class, such as alt3 in the "Additional CSS" section of a style by clicking "All Style Options".

You would have to hardcode the class into the templates where you want them to appear, or use a mod to inject the classes into tables in a specific order.

Thanks for your help.

How do I hardcore the class into my home page for example?

Bellardia
01-04-2009, 09:58 PM
Go to your style manager, and find 'FORUMHOME' in the list for the style you want to edit.

When it opens up, both of the templates 'forumhome_forumbit_level1_post' and 'forumhome_forumbit_level2_post' contain the styling for your list of forums. If you look in them and find 'class="alt1"' or 'class="alt2"' these are the vbulletin default styles. Change one of them to 'class="alt3"' ensuring that you have CSS definition for that style already defined.

If you look at your forum home now a specific column will have the style of alt3.

GDA
01-05-2009, 03:41 PM
Thank-You!