Title: Widget does not contain the WordPress CSS classes
Last modified: June 16, 2022

---

# Widget does not contain the WordPress CSS classes

 *  Resolved [nicoter](https://wordpress.org/support/users/nicoter/)
 * (@nicoter)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/widget-does-not-contain-the-wordpress-css-classes/)
 * Hi,
 * The widget is formatted differently and doesn’t fit into the website because:
 * – The whole widget container doesn’t include the .widget CSS class.
    – The widget
   title isn’t wrapped in a p tag with the .widget-title CSS class. – The widget
   title is placed outside the widget container and isn’t wrapped by any HTML tag
 * See screenshot: [https://i.imgur.com/kmhUaEu.png](https://i.imgur.com/kmhUaEu.png)
 * Those are WordPress default classes which make sure all widget have the same 
   formatting, e.g. same widget title font size and font weight etc.
 * Would be great if you can fix this.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Timo](https://wordpress.org/support/users/worschtebrot/)
 * (@worschtebrot)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/widget-does-not-contain-the-wordpress-css-classes/#post-15750187)
 * Hi [@nicoter](https://wordpress.org/support/users/nicoter/),
 * thank you for your request. The problem was that due to unnecessarily strict 
   checks for the output of the widget container and title, the CSS classes were
   filtered out.
 * This has been fixed with version 1.4.20.

Viewing 1 replies (of 1 total)

The topic ‘Widget does not contain the WordPress CSS classes’ is closed to new replies.

 * ![](https://ps.w.org/amazonsimpleadmin/assets/icon-256x256.png?rev=1788380)
 * [Affiliate Super Assistent](https://wordpress.org/plugins/amazonsimpleadmin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazonsimpleadmin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazonsimpleadmin/)
 * [Active Topics](https://wordpress.org/support/plugin/amazonsimpleadmin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazonsimpleadmin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazonsimpleadmin/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Timo](https://wordpress.org/support/users/worschtebrot/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/widget-does-not-contain-the-wordpress-css-classes/#post-15750187)
 * Status: resolved