Title: Customify entry-content css question
Last modified: June 3, 2019

---

# Customify entry-content css question

 *  [tgedge1](https://wordpress.org/support/users/tgedge1/)
 * (@tgedge1)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/customify-entry-content-css-question/)
 * Hi,
 * I need to add padding-top to the div.entry-content area of my pages.
    To all 
   my INSIDE pages – not the home page.
 *     ```
       div.entry-content {
       	padding-top:30px;
       }
       ```
   
 * The above example adds padding to ALL pages.
 * How do I exclude the home page?
 * Thanks!

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

 *  [Jarret](https://wordpress.org/support/users/jarretc/)
 * (@jarretc)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/customify-entry-content-css-question/#post-11602143)
 * Check your available CSS classes in the <body> tag, you’ll see you can target
   pages specifically using .page and then the rest of your CSS classes/IDs to target
   content. So your CSS should turn into
 *     ```
       .page div.entry-content {
       	padding-top:30px;
       }
       ```
   
 * Most themes use the body_class() function ( [https://developer.wordpress.org/reference/functions/body_class/](https://developer.wordpress.org/reference/functions/body_class/))
   where WordPress will add in several different CSS classes into the body tag for
   similar purposes.
 *  Theme Author [PressMaximum](https://wordpress.org/support/users/pressmaximum/)
 * (@pressmaximum)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/customify-entry-content-css-question/#post-11602236)
 * Hi [@tgedge1](https://wordpress.org/support/users/tgedge1/)
 * Please try this:
 *     ```
       body.page:not(.home) div.entry-content {
       	padding-top:30px;
       }
       ```
   
 * Let me know how it goes!

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

The topic ‘Customify entry-content css question’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customify/0.4.18/screenshot.png)
 * Customify
 * [Support Threads](https://wordpress.org/support/theme/customify/)
 * [Active Topics](https://wordpress.org/support/theme/customify/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customify/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customify/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [PressMaximum](https://wordpress.org/support/users/pressmaximum/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/customify-entry-content-css-question/#post-11602236)
 * Status: not resolved