Home › Forums › Pro Support › Alternate post background colors This topic has 3 replies, 2 voices, and was last updated 6 years, 3 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts June 9, 2017 at 12:35 pm #2121 JamalParticipant Hi Tom Struggling to get something like this working, any suggestions? Thanks ! .wp-show-posts-inner:nth-child(odd) { background: #e0e0e0; } The above shows same background-color for all posts. June 10, 2017 at 12:48 am #2124 TomKeymaster Try this: .wp-show-posts-single:nth-child(odd) .wp-show-posts-inner { background: #e0e0e0; } June 10, 2017 at 6:41 am #2126 JamalParticipant Works, thanks very much ! June 11, 2017 at 12:51 am #2131 TomKeymaster You’re welcome 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In