Title: Styling the shortcode output
Last modified: September 1, 2016

---

# Styling the shortcode output

 *  Resolved [udidol](https://wordpress.org/support/users/udidol/)
 * (@udidol)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/styling-the-shortcode-output/)
 * Hi,
    First of all thanks for the plugin it is great. I wanted to know, is there
   an easy way to style (css) all the elements in the shortcode output? I want to
   style the post image, the post title, date, author, and excerpt.
 * Thanks!
 * [https://wordpress.org/plugins/display-posts-shortcode/](https://wordpress.org/plugins/display-posts-shortcode/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/styling-the-shortcode-output/#post-7587696)
 * Yes, the shortcode wrapper uses a class of `.display-posts-listing` (unless you
   use the `wrapper_class` parameter to change the class name).
 * For the image link: `.display-posts-listing .image`
    For the image itself: `.
   display-posts-listing .image img` Post title: `.display-posts-listing .title`
   Date: `.display-posts-listing .date` Author: `.display-posts-listing .author`
   Excerpt: `.display-posts-listing .excerpt`

Viewing 1 replies (of 1 total)

The topic ‘Styling the shortcode output’ 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/)
 * [output](https://wordpress.org/support/topic-tag/output/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [styling](https://wordpress.org/support/topic-tag/styling/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/styling-the-shortcode-output/#post-7587696)
 * Status: resolved