Query posts – numbers in class
-
I want to style specific posts in a list differently.
For example, in a list of ten, the second and third would look slightly different.
I would like to do this by applying number classes to the post like this:
<div class=”post1″>Post1</div>
<div class=”post2″>Post2</div>
<div class=”post3″>Post3</div>
<div class=”post4″>Post4</div>Is this possible?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Query posts – numbers in class’ is closed to new replies.