How to Stop Text Widgets from Adding “TextWidget” Class?
-
I have a theme that displays just fine out of the box. It defaults to showing archives and categories in a vertical list in the left sidebar by default.
However, when I add a Text Widget to the mix, it destroys everything. After messing with Firebug I found that it’s because the text widget wraps the contents of the widget in a special class called “textwidget”.
If this “textwidget” class style is REMOVED the site shows just fine.
How do I get text widgets to stop adding this extra div? I did a search in my widgets.php file in wp-includes and I didn’t find the term “textwidget” anywhere…so I dunno how it’s assigning that class to the contents of every text widget.
Very annoying >:0<
- The topic ‘How to Stop Text Widgets from Adding “TextWidget” Class?’ is closed to new replies.