Ready to get started?Download WordPress


[resolved] Adding css class (2 posts)

  1. Staxed
    Posted 1 year ago #

    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


  2. Boštjan Cigan
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.