vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Duplicate? (https://vborg.vbsupport.ru/showthread.php?t=174850)

5th-Level 04-01-2008 11:32 PM

Duplicate?
 
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.


All times are GMT. The time now is 03:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00959 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete