Title: CSS Styles Question, Help Needed ! ! ! !
Last modified: August 20, 2016

---

# CSS Styles Question, Help Needed ! ! ! !

 *  [mooapo](https://wordpress.org/support/users/mooapo/)
 * (@mooapo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/css-styles-question-help-needed/)
 * Hello!
 * Although I know HTML and CSS, I am still having an issue with trying to figure
   out the best way to style the following:
 *     ```
       <article id="post-1" class="post-1 post type-post status-publish format-standard hentry category-uncategorized">
   
       Content Here !
   
       </article>
       ```
   
 * May I add, this is a WordPress theme, The HTML5 Reset Theme to be exact.
 * I would normally style using the ‘ ID Tag ‘ –> ‘ post-1, but I don’t think I 
   can in this case. Then I thought maybe using a ‘ Class Tag ‘ –> ‘ post ‘.
 * I just don’t know what step to take. Help !
 * Thank you….

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/css-styles-question-help-needed/#post-3030816)
 * to generally style the post, using the `.hentry` class is quite common;
    to style
   individual posts differently, use the `.post-{id}` class.
 *  Thread Starter [mooapo](https://wordpress.org/support/users/mooapo/)
 * (@mooapo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/css-styles-question-help-needed/#post-3030934)
 * So if I want to float this to the left, and add width, I use .hentry?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/css-styles-question-help-needed/#post-3030935)
 * `.hentry` would be ok – but you could use any of the css classes;
 * this might depend on if you want the same formatting for posts or pages.
 * `.hentry` is faily standard and would be output in posts and pages.
 * your posted example output is most likely done with `post_class()` – [http://codex.wordpress.org/Function_Reference/post_class](http://codex.wordpress.org/Function_Reference/post_class)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/css-styles-question-help-needed/#post-3030946)
 * simply try it;
    for example:
 * `.hentry { width: 200px; float: left; background: grey; }`
 * background color is only temporary so you can see the size and position of the
   <article>
 * details depend on the context, i.e. on the other html and css around the <article
   >.
 * for more suggestions, please post a link to the post with the formatting ‘problem’.

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

The topic ‘CSS Styles Question, Help Needed ! ! ! !’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/css-styles-question-help-needed/#post-3030946)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
