Jill and Mark at FleetThought are life savers! As a small, rural
library director where I *am* the IT staff, I was at a loss as to how to
customize my library's website template. Jill and Mark made my small
site feel like such a priority, and I got first class service! They
listened to my needs and made many changes I requested to make my site
beautiful and to make me a happy customer. I am so grateful for their
expertise and I cannot recommend them enough!
Ever wanted to add alternating background colors (a.k.a. "zebra stripes") to your webform fields? I had a need to do this a couple of days ago and struggled to find a method for this. Little did I know that the webform module actually has a few template files included with it that you can use to override what's going on in the theme layer.
The particular thing I wanted to do was to add some CSS to the webform fields so that I could do some easy CSS zebra striping. I know this is super easy to do with the output of the Views module because of the "row-even" and "row-odd" CSS classes that are provided out of the box. I wanted to be able to do some similar CSS classes on my webform fields. Getting the job done requires taking the "webform-form.tpl.php" default template file in the Webform module directory and copying it to own your custom theme directory.
Here's the code I ended up using:



