Ok, I can’t seem to express what I really want in the subject.
But here’s the outcome that I really want:
(there are like 5 classes based on bg color)
1st post – insert .red class
2nd – insert .orange class
3rd – insert .yellow classes
4rd – insert .green class
5th – insert .blue classes
then after the classes will rotate starting to .red again.
6th – .red
7th – .orange
and so on….
is this possible?
- The topic ‘Insert 5 different classes to first 5 posts (then rotate classes)’ is closed to new replies.