vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   change alternating colors (https://vborg.vbsupport.ru/showthread.php?t=91861)

Mythotical 07-09-2005 03:58 AM

change alternating colors
 
I want to take the alternating colors from the columns and have them effect the rows as shown on this site: http://com4.runboard.com/bintothematrix

Notice the light green, then below that, dark green, then down, light green, etc.

I wish to do that with a style I am working on but can't find where or what to change to get that same look.

Thanks in advance
Myth

Mythotical 07-09-2005 04:00 AM

Wrong forum, could a mod please move this to the Modifications Request forum?

Thanks
Myth

BillyFischbach 07-09-2005 04:23 AM

Edit the CSS with the hex codes that you want

Mythotical 07-09-2005 05:02 AM

I have the colors changed, I want the rows to alternate colors instead of the columns.

http://testvb.eternaltide.net that is my testing board, choose Traveller from the style chooser.

amykhar 07-09-2005 06:16 AM

I posted how to do this a long time ago at vbulletin.com in the templates forum.

It's a simple template edit, not a code change. Look for my posts in the templates forum at vbulletin.com and you should be able to find it.

yinyang 07-09-2005 06:28 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=78678&highlight=alternating+color s" target="_blank">https://vborg.vbsupport.ru/showt...rnating+colors</a>

amykhar 07-09-2005 01:08 PM

It doesn't have to be done with a file edit though. A template conditional can do the same thing.

Princeton 07-09-2005 01:38 PM

try
Code:

class="<if condition="$forum['displayorder'] % 2 == 0">alt2<else />alt1</if>"
make sure your forum display order is in ORDER eg. 1,2,3,4
NOTE: you will have to replace all the 'class' instances

Mythotical 07-10-2005 01:40 AM

Ok thanks everyone.

Amy, I will give it a look through, thanks.

prince, thanks for that, if I can't find Amy's then I will try that.


All times are GMT. The time now is 11:19 AM.

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.01455 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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