Title: easy css help
Last modified: August 21, 2016

---

# easy css help

 *  [gerard](https://wordpress.org/support/users/charismaarts/)
 * (@charismaarts)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/easy-css-help/)
 * I am working on home page of a site and want some css to only apply to home page…
 * this works but for all pages:
 * #branding {padding-bottom: 1px;}
 * how do i make this specific for just one page?
 * I tried doing:
 * .post-88 #branding {padding-bottom: 1px;}
 * and it didnt work…
 * thanks,
 * Gerard

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/easy-css-help/#post-3730924)
 * Most themes generate page specific classes in the body tag – so for example you
   could use:
 *     ```
       body.home #branding { ... }
       ```
   
 * what you tried was close, but that’s not a page class or id. Look and see what
   classes are in the generated HTML for your body tag.
 *  Thread Starter [gerard](https://wordpress.org/support/users/charismaarts/)
 * (@charismaarts)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/easy-css-help/#post-3730935)
 * thanks so much that worked…

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

The topic ‘easy css help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [gerard](https://wordpress.org/support/users/charismaarts/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/easy-css-help/#post-3730935)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
