Orca Forum Alternate Row Color

I am running Dolphin 7 with the Orca Forum. Does anyone know how to make the rows inside the topics alternate in color, so that they are easier to read? The Orca Forum here alternates row color, however out of the box it does not. Any ideas?

Quote · 8 Feb 2010

The Orca forum here does not alternate background colors.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 8 Feb 2010

I am seeing that it is a white background. And then another reply gets a Yellow background.  I cant see how it would look different on your computer???..

Quote · 8 Feb 2010

hehehe.. I knew that was coming. Ours is different because we have a higher membership level.

Nothing to see here
Quote · 8 Feb 2010

OK That makes sense. Thanks.  Now to rephrase the question. Can anyone point me in the right direction to achieve this?  Im more of a PHP guy and the Orca part seems to be more of an XSL script.

Quote · 8 Feb 2010

Try adding this to /modules/boonex/forum/layout/base_en/css/main.css

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: transparent}



I haven't tested this thoroughly... you may need more specific css rules.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 8 Feb 2010

Thanks for the help. The CSS you provided effected all of the table rows on the page.  I was able to add on the CSS id of the actual table we are looking to shade to isolate this CSS change only to that table.

Code that works for this application is below, Simply change CCC to the color you want your shade to be.

.forum_table_list tr:nth-child(even) {background: #transparent}
.forum_table_list tr:nth-child(odd) {background: #CCC}

Quote · 8 Feb 2010

Yeah..  figured that would happen.  To refine it a little more, the borders for the darker shaded row should be changed to a darker color than the white rows.

.forum_table_list tr:nth-child(even) {background: #transparent}
.forum_table_list tr:nth-child(odd) {background: #CCCCCC}


.forum_table_list tr:nth-child(odd)
.forum_table_cell_user  {
border-right:1px solid #BBBBBB;
padding:5px;
}

.forum_table_list tr:nth-child(odd)
.forum_post_text {
border-top:1px solid #BBBBBB;
padding:5px;
}

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 8 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.