Grow your CSS skills. Land your dream job.

2nd class for sidebar widget

  • # January 28, 2010 at 3:12 pm

    Hello,
    I’ve been searching the forums and google but can’t seem how to tell WordPress to assign a widget with a different class. By default all the widgets have a class of ‘widget widget_nameofwidget’ My question is how to i say tell the search widget to be the class of ‘widget2 widget_nameofwidget’?

    Thanks for the help.
    Jake

    # January 31, 2010 at 3:42 pm

    I can’t say for sure if this will work, but it looks promising. Not sure how old it is though: http://codex.wordpress.org/Widgets_API#Register_Single_Sidebar

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".