Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-12 20:58:43

Nalrac
New Member
Registered: 2006-04-12
Posts: 2

Alternating Comment Colors?

Hi, I’ve been using Textpattern for a couple of months and I’ve ran across something that has stumped me. I’m trying to figure out a way to have TP alternate background colors of my comments. The BG color is controlled by CSS and it’s very simple. You can see it here: http://bright-idea-online.com/index.php?id=3

You see how all comments have the same shade of grey? I would prefer something like this: http://www.syserror.net/article/55/text-pattern-interface

I searched for a conditional tag hoping that I could find a way to tell it to apply different CSS by odd-vs.-even parameters. No luck.

HELP!

Offline

#2 2006-04-12 21:00:30

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Alternating Comment Colors?

Offline

#3 2006-04-13 00:28:33

Nalrac
New Member
Registered: 2006-04-12
Posts: 2

Re: Alternating Comment Colors?

AWESOME! You’re a life saver. Worked like a charm.

Offline

Board footer

Powered by FluxBB