CSS Styles Question, Help Needed!


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 !


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…

#post-1 {}

Yes, you can use any of

#post-1 {}
.post-1 {}
.post {}
.type-post {}
.status-publish {}
.format-standard {}
.hentry {}

and you could even use others like

.post-1.post {}
.type-post.status-publish {}

… and so on … but the first one that Mark gave is probably the best.

If you find it not working, then it could mean that other styles are overriding it.