Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-02-13 17:13:20
- Zodiac
- Member
- Registered: 2005-04-22
- Posts: 26
Alternating DIV tags...
Okay… as you can see from this page:
http://www.nicholasbattaglia.com/index.html
I originally had alteranting grey and white backgrounds to my posts…
This was controlled by a DIV tag called either “block” or “blockdistinct”.
Now however, using textpattern, I can’t seem to get this to work… example here:
http://www.nicholasbattaglia.com/
Here is my current code:
<div id=“body”>
<div class=“block”>
<txp:article form=“default” limit=“10” />
</div>
</div>
So my question is… How do I get the DIV tags to alternate with each entry??? Thanks! :)!!
Special Order 937: “Nostromo Rerouted To New Coordinates. Investigate Life Form. Gather Specimen. Priority One. Insure Return Of Organism For Analysis. All Other Considerations Secondary. Crew Expendable.”
Offline
#2 2006-02-13 17:41:54
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Alternating DIV tags...
Try the zem_nth plugin.
Offline
#3 2006-02-13 18:02:22
- Zodiac
- Member
- Registered: 2005-04-22
- Posts: 26
Re: Alternating DIV tags...
Nevermind!
That worked perfectly!!
Danke sehr!!!!!!!!! :)
Last edited by Zodiac (2006-02-13 18:25:15)
Special Order 937: “Nostromo Rerouted To New Coordinates. Investigate Life Form. Gather Specimen. Priority One. Insure Return Of Organism For Analysis. All Other Considerations Secondary. Crew Expendable.”
Offline
Pages: 1