Title: Inconsistent widget styling
Last modified: August 20, 2016

---

# Inconsistent widget styling

 *  Resolved [Thorworx](https://wordpress.org/support/users/thorworx-1/)
 * (@thorworx-1)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/inconsistent-widget-styling/)
 * On some pages, the widget includes .post in the class (for example on the testimonials
   display page itself, and on pages that are post type archive pages), and on other
   pages it does not.
 * Testimonials (or custom post type/archive page) page:
    `class="post-NNN testimonials-
   widget type-testimonials-widget status-publish hentry testimonialswidget_testimonial
   testimonialswidget_whitespace post-seq-5 post-parity-odd meta-position-corners
   post fix`
 * Every other page of the site:
    `class="post-NNN testimonials-widget type-testimonials-
   widget status-publish hentry testimonialswidget_testimonial testimonialswidget_whitespace
   meta-position-corners fix`
 * This makes it difficult to display the widget consistently between pages (or 
   page types). Presumably this has to do with the css generation being done by 
   the plugin? How can I include the .post class in the widget on ALL pages so that
   the widget displays consistently? I shouldn’t think I’d need to use CSS overides
   to do this.
 * [http://wordpress.org/extend/plugins/testimonials-widget/](http://wordpress.org/extend/plugins/testimonials-widget/)

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

 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/inconsistent-widget-styling/#post-3578961)
 * Testimonials Widget is following the proper means for assigning post class information
   via the WordPress function `get_post_class` in `testimonials-widget.php` at line
   680. Only the CSS classes `testimonialswidget_testimonial testimonialswidget_whitespace`
   are added via the Testimonials Widget plugin.
 * I suspect that you have a plugin or theme that’s working filter `post_class` 
   to add the extras of `post-seq-5 post-parity-odd meta-position-corners post fix`
   onto each testimonial.
 * You might try disabling your plugins one at a time or changing your theme to 
   determine where the change is coming from.
 *  Thread Starter [Thorworx](https://wordpress.org/support/users/thorworx-1/)
 * (@thorworx-1)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/inconsistent-widget-styling/#post-3578990)
 * Michael, thanx for your reply… I really appreciate it.
 * Since I’m not using any plugins, yes, it must be the theme.
 * I use Suffusion as a framework for most of the sites that I develop for clients(
   using custom child-themes), and I’d really like to be able to incorporate TW 
   on some of them… so I guess I’ll dig into the code/css and come up with a solution.
 * fwiw, according to what I’m seeing, it is specifically the .post class that is
   the issue, not the other classes that Suffusion adds.
    I should be able come 
   up with a global css fix, now that I have a better idea of what’s going on.
 * Cheers!

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

The topic ‘Inconsistent widget styling’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Thorworx](https://wordpress.org/support/users/thorworx-1/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/inconsistent-widget-styling/#post-3578990)
 * Status: resolved