View Full Version : Duplicate?
5th-Level
04-01-2008, 11:32 PM
How do i duplicate the alternating colors?
Lynne
04-02-2008, 02:40 AM
What do you mean by duplicate them? Do you mean make another class that is exactly the same as them only with a different name? You can view the class in your source code, look for .alt1 and .alt2 and copy/paste it into the bottom part of your CSS page for your style. Is that what you are asking?
Boofo
04-02-2008, 02:46 AM
I'm lost, too, Lynne but maybe he is just needs the code for them? class="alt1" and class="alt2" ?
SEOvB
04-02-2008, 03:13 AM
Just copy .alt1 and .alt2 from the css for whatever reason.
why not just call alt1 and alt2 in your css rather then duplicating it which is bad practice
5th-Level
04-02-2008, 10:24 PM
Let me clarify. I wanted to see the hard CSS code of the alternating colors. I didnt know where to find them.
Lynne
04-02-2008, 11:03 PM
To see the actual code, you would view the source code on your page and find it listed something like this:
.alt1, .alt1Active
{
background: #F5F5FF;
color: #000000;
}
Or, if it isn't in the source, look for a line like this:
<!-- CSS Stylesheet -->
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style-xxxxxx-yyyyy.css" id="vbulletin_css" />
and look in the file "style-xxxxxx-yyyyy.css" for the lines like above.
To actually edit it, go to Styles & Templates > Style Manager > find your style in the list > select Main CSS and find it under First Alternating Color
5th-Level
04-02-2008, 11:11 PM
Thanks exactly what I was looking for.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.