Title: Adding css class
Last modified: August 21, 2016

---

# Adding css class

 *  Resolved [Staxed](https://wordpress.org/support/users/staxed/)
 * (@staxed)
 * [13 years ago](https://wordpress.org/support/topic/adding-css-class/)
 * How would I go about changing the css class of the widget? I’m guessing it would
   be within the php file itself, but I’ve tried two places and it keeps messing
   everything up.
 * What I’m trying to do is get the initial div class to look like: <class=”postswidget
   widget widget_text”>
 * rather than
    <class=”widget simple_tweet_widget”>
 * I need to remove the simple_tweet_widget class and add postswidget and widget_text
 * [http://wordpress.org/extend/plugins/twitget/](http://wordpress.org/extend/plugins/twitget/)

Viewing 1 replies (of 1 total)

 *  Anonymous User 9905372
 * (@anonymized-9905372)
 * [13 years ago](https://wordpress.org/support/topic/adding-css-class/#post-3675412)
 * If you mean the whole widget, that is predefined in the WordPress theme you are
   using. You can wrap the text in the custom html section into anything though.

Viewing 1 replies (of 1 total)

The topic ‘Adding css class’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: Anonymous User 9905372
 * Last activity: [13 years ago](https://wordpress.org/support/topic/adding-css-class/#post-3675412)
 * Status: resolved