Title: target a post with css
Last modified: August 21, 2016

---

# target a post with css

 *  Resolved [Mark Shirley](https://wordpress.org/support/users/ravalde/)
 * (@ravalde)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/target-a-post-with-css/)
 * Hi – I need to be able to style posts on my website not the blog page but the
   actual post I need a id or css can any one help me.
 * [http://www.iquoteconveyancing.com/new-test/](http://www.iquoteconveyancing.com/new-test/)

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/target-a-post-with-css/#post-4033602)
 * your theme seems to be using `post_class()` and `body_class()` so there should
   be post specific css IDs in the html.
 * please use a browser inspection tool to find the specific css ids or classes;
 *  Thread Starter [Mark Shirley](https://wordpress.org/support/users/ravalde/)
 * (@ravalde)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/target-a-post-with-css/#post-4033699)
 * Thanks alchymyth i need to style all the posts not a specific post anything I
   try effects the blog page or the site as a whole.
 * PS not the blog page but the posts 🙂
 *  Thread Starter [Mark Shirley](https://wordpress.org/support/users/ravalde/)
 * (@ravalde)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/target-a-post-with-css/#post-4033701)
 * Im trying to apply these 3 pieces off css to to posts generally but not the “
   blog page” or my latest news page.
 *     ```
       .one-column #page {
           background-color: white;
   
       }
   
       #access {
           display: none;
   
       }
   
       .footer-1 {
           display: none;
   
       }
       ```
   
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/target-a-post-with-css/#post-4033723)
 * try using a browser inspection tool, or look into the html code ouptut in the
   browser, to find the common CSS class in the body tag for all posts;
    could be`.
   single` (?)
 *  Thread Starter [Mark Shirley](https://wordpress.org/support/users/ravalde/)
 * (@ravalde)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/target-a-post-with-css/#post-4033839)
 * Thanks alchymyth that done it 🙂

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

The topic ‘target a post with css’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Mark Shirley](https://wordpress.org/support/users/ravalde/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/target-a-post-with-css/#post-4033839)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
