Title: Class problem on do_widget
Last modified: August 22, 2016

---

# Class problem on do_widget

 *  Resolved [firefly8](https://wordpress.org/support/users/firefly8/)
 * (@firefly8)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/class-problem-on-do_widget/)
 * Hy,
 * If I use [do_widget_area class=”category-index”] I got a nice thumbs grid of 
   recent posts. If I use [do_widget id=featured-post-60 title=false class=”category-
   index”] I have only one column with all my thumbs.
 * Eg. [http://tasteful.bucatareselevesele.ro/retete-culinare/retete-aperitive.html](http://tasteful.bucatareselevesele.ro/retete-culinare/retete-aperitive.html)
 * I want to have the grid thumbs like this:
    [http://tasteful.bucatareselevesele.ro/retete-culinare/aperitive](http://tasteful.bucatareselevesele.ro/retete-culinare/aperitive)
 * [https://wordpress.org/plugins/amr-shortcode-any-widget/](https://wordpress.org/plugins/amr-shortcode-any-widget/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/class-problem-on-do_widget/#post-5778579)
 * Really? It’s not a “class” problem – nothing to do with my plugin and all to 
   do with what css is applying where and to what html.
 * do_widget_area generates some different html (eg: sidebar html) surrounding the
   widget html whereas do_widget just generates widget html.
 * Inspect your html and css, see what css is applying or not applying where and
   why and/or add css to make the grid happen.
 * eg: your ‘desired’ page has css making the grid happen. See
    [http://i.imgur.com/yEQjxcv.jpg](http://i.imgur.com/yEQjxcv.jpg)
 * Similar css does not appear to be applying to your html on your other page.
 * Please also read **Styling, your theme, css, overriding** on the FAQ page [https://wordpress.org/plugins/amr-shortcode-any-widget/faq/](https://wordpress.org/plugins/amr-shortcode-any-widget/faq/)

Viewing 1 replies (of 1 total)

The topic ‘Class problem on do_widget’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-shortcode-any-widget_dde8e5.svg)
 * [amr shortcode any widget](https://wordpress.org/plugins/amr-shortcode-any-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amr-shortcode-any-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amr-shortcode-any-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-shortcode-any-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-shortcode-any-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-shortcode-any-widget/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [anmari](https://wordpress.org/support/users/anmari/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/class-problem-on-do_widget/#post-5778579)
 * Status: resolved