Title: css styling
Last modified: August 21, 2016

---

# css styling

 *  Resolved [eqjosh](https://wordpress.org/support/users/eqjosh/)
 * (@eqjosh)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/css-styling-4/)
 * I’m wondering if there are built-in css elements that I can style. I see on the
   main docs there is .display-posts-listing .listing-item — can I add a css to 
   style the title? Date? excerpt?
 * I saw on your blog you had a post on how to edit the plugin to include css, but
   that seems “scary” — and I couldn’t tell after doing that what the classes or
   ids would be called in the css stylesheet.
 * Thanks!!
 * [http://wordpress.org/plugins/display-posts-shortcode/](http://wordpress.org/plugins/display-posts-shortcode/)

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

 *  [maiki](https://wordpress.org/support/users/maiki/)
 * (@maiki)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/css-styling-4/#post-4129170)
 * You can see which classes are added by looking at the output. Create the shortcode
   with all the content you want (title, date and excerpt), and then look at the
   code it generates. From there you should be able to choose your CSS selectors.
 *  [SusanLow](https://wordpress.org/support/users/susanlow/)
 * (@susanlow)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/css-styling-4/#post-4129193)
 * I want to have the display posts content styled exactly the same way that normal
   category archives are styled. How would you suggest this be accomplished?
 * My issue is that I want to include two categories in an archive page that’s called
   from a menu link. Display Posts Shortcode seems to be the only way I can accomplish
   this, but the styling is a headache. Alternative approaches are most welcome.
 * [http://fern.communitycouncil.ca](http://fern.communitycouncil.ca) — I’m trying
   to do the ‘News’ page.
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/css-styling-4/#post-4129206)
 * AS maiki said, you’ll need to look at the outputted HTML, identify the items 
   you want to modify, and use their wrapping classes to change them with CSS. There’s
   no easier way to match your current site – you’re just going to have to style
   it to match.

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

The topic ‘css styling’ is closed to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 3 replies
 * 4 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/css-styling-4/#post-4129206)
 * Status: resolved