Title: Styling alternate elements
Last modified: August 21, 2016

---

# Styling alternate elements

 *  Resolved [GaryKay](https://wordpress.org/support/users/garykay/)
 * (@garykay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/styling-alternate-elements/)
 * Hi,
 * I am trying to apply a alternate style to every alternate post, i.e. even number
   post apply one style and odd number post apply alternate style. The post layout
   will be 2 column, so left hand side will look different to right hand side.
 * Is there a function that can apply this? Javascript or php?
 * Thank you

Viewing 1 replies (of 1 total)

 *  Thread Starter [GaryKay](https://wordpress.org/support/users/garykay/)
 * (@garykay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/styling-alternate-elements/#post-4893293)
 * Never mind, found the answer here
 * [http://wordpress.org/support/topic/apply-css-style-to-alternate-post-titles?replies=4](http://wordpress.org/support/topic/apply-css-style-to-alternate-post-titles?replies=4)

Viewing 1 replies (of 1 total)

The topic ‘Styling alternate elements’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [GaryKay](https://wordpress.org/support/users/garykay/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/styling-alternate-elements/#post-4893293)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
