I’m trying to display posts from two different categories on the same page, and need to style the categories differently from one another.
The entries for the first category each have a thumbnail, a title (linked) and a description.
The entries for the second list each have a title (linked).
I saw in another post to use these in CSS to style the title, image, and listing:
That worked fine for the individual lists, but is there any way to handle the styling for two different lists (so they don’t both have to use the same CSS)?
Right now I have the first list set up, but then the second list is spaced out way too much (since there are no thumbnails).
Are there other classes to style as well? (Is there a reference for these somewhere?)
Thanks for the guidance/assistance.
- The topic ‘Styling posts with CSS’ is closed to new replies.