Title: isolating last post
Last modified: August 18, 2016

---

# isolating last post

 *  [iraq](https://wordpress.org/support/users/iraq/)
 * (@iraq)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/isolating-last-post/)
 * guys i am new to css and php and i have one question
 * I want to isolate my last post from the old posts (background color, size and
   fonts) can anybody explain what technique be used in php and css to achieve this?.
 * thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/isolating-last-post/#post-151042)
 * This help?
 * [http://wordpress.org/support/topic.php?id=21168](http://wordpress.org/support/topic.php?id=21168)
 * Just modify the first php line I have there to something like:
 * `<?php $postcount++; if($postcount == 1) { ?>`
 * EDIT: Another way:
 * [http://wordpress.org/support/topic.php?id=22505#post-129898](http://wordpress.org/support/topic.php?id=22505#post-129898)
 *  Thread Starter [iraq](https://wordpress.org/support/users/iraq/)
 * (@iraq)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/isolating-last-post/#post-151052)
 * Kafkaesqui
 * Thank you, I will try it……

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘isolating last post’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [iraq](https://wordpress.org/support/users/iraq/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/isolating-last-post/#post-151052)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
