Changing $before_widget for certain widgets
There are 2 ways to allow separate styles on each widget. The first is to add separate classes to the widgets like this: First Method register_sidebar(array(‘name’=>’sidebar1’, ‘before_widget’ => ‘<ul class=”black-bg”><li>’, ‘after_widget’ => “</li></ul>”, ‘before_title’ => ‘<h2 class=”widgettitle”>’, ‘after_title’ => “</h2>” )); You can then use the .back-bg class to style the widget like this: #sidebar … Read more