{"id":3675146,"date":"2013-04-19T15:19:38","date_gmt":"2013-04-19T15:19:38","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-css-class\/"},"modified":"2016-08-21T00:19:12","modified_gmt":"2016-08-21T00:19:12","slug":"adding-css-class","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-css-class\/","title":{"rendered":"Adding css class"},"content":{"rendered":"<p>How would I go about changing the css class of the widget?  I&#8217;m guessing it would be within the php file itself, but I&#8217;ve tried two places and it keeps messing everything up.<\/p>\n<p>What I&#8217;m trying to do is get the initial div class to look like: &lt;class=&#8221;postswidget widget widget_text&#8221;&gt;<\/p>\n<p>rather than<br \/>\n&lt;class=&#8221;widget simple_tweet_widget&#8221;&gt;<\/p>\n<p>I need to remove the simple_tweet_widget class and add postswidget and widget_text<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/twitget\/<\/p>\n","protected":false},"template":"","class_list":["post-3675146","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3675146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3675146\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3675146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}