ThemeShaper Forums » Thematic

Difference between hentry and p[n] selectors

(4 posts)
  • Started 11 years ago by DataGnostics
  • Latest reply from Ian Stewart
  • This topic is resolved


  1. In the Thematic styles.css, .hentry and .p1 have different margins and padding settings. What is the difference between these selectors -- that is, when will I get one without the other?

    I'm trying to fiddle the layout of post on the home/search/archive pages, and I'm trying to figure out which selector to use. Is there any reason not to go for .post?

    Posted 11 years ago #
  2. .p1 is the first post on any page—even if there is only 1 post. .hentry is any post.

    Posted 11 years ago #
  3. What is the difference between .post and .hentry, then? I assume .publish is only for posts that have actually been published.

    Posted 11 years ago #
  4. … and the "post" class is replaced with the "page" class when you're on a page.

    Posted 11 years ago #

RSS feed for this topic


You must log in to post.