First of all I think you do a nice job adding one pretty and useful Dupal theme to the ever growing pool of Drupal goodness. Thank you for that.

Now I'm building a webshop and I would like to have an alternating background color for the nodes on the front page. Like you seen in tables. So the first one is i.e. blue, the second grey (or no color so it uses the background), the third is blue again, etc.
My coding skils and understanding of PHP are pretty much, eh, not there so I wonder if you or someone ele could shine some light on this.

Cheers.

Comments

matt v.’s picture

Title: Alternating node colors? » Try the Views module
Status: Active » Closed (works as designed)

I'm sure it can be done with some theme overriding, but I don't know the specifics off-hand. One option might be the Views module, which I believe adds even/odd classes for its List views.

Since your question isn't specific to Drupify, you'd probably get a better answer by posting to the Theme development forum.