Title: [Plugin: Query Posts] CSS class option for widget block
Last modified: August 19, 2016

---

# [Plugin: Query Posts] CSS class option for widget block

 *  Resolved [ndrwld](https://wordpress.org/support/users/ndrwld/)
 * (@ndrwld)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-query-posts-css-class-option-for-widget-block/)
 * Big thank you Justin for this plugin. It’s so powerful and is exactly what I 
   need!
 * For future releases it would be awesome if there could be possibility to add 
   CSS class to a whole widget block.
    Right now there is an option to add classes
   to widget items (“post_class”).
 * For now I will just add CSS class by registering new widget area in functions.
   php.
    If someone need more info how to do it, take a look into readme.html file
   in plugins directory.
 * [http://wordpress.org/extend/plugins/query-posts/](http://wordpress.org/extend/plugins/query-posts/)

Viewing 1 replies (of 1 total)

 *  [Jamil Jonna](https://wordpress.org/support/users/jonna/)
 * (@jonna)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-query-posts-css-class-option-for-widget-block/#post-1897550)
 * agreed. this should be part of the plugin.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Query Posts] CSS class option for widget block’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/query-posts.svg)
 * [Query Posts](https://wordpress.org/plugins/query-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/query-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-posts/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Jamil Jonna](https://wordpress.org/support/users/jonna/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-query-posts-css-class-option-for-widget-block/#post-1897550)
 * Status: resolved