Ok so i added a second sidebar to my site, only problem is styling the widgets.
here is the code i am using in my functions.php file
// Widgets plugin: intializes the plugin after the widgets above have passed snuff
function wpbx_widgets_init() {
if ( !function_exists('register_sidebars') ) {
return;
}
// Formats the theme widgets, adding readability-improving whitespace
$p = array(
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => "</li>\n",
'before_title' => '<h3 class="widget-title">',
'after_title' => "</h3>\n"
);
register_sidebars( 2, $p );
}
I just don't know how to style the second sidebar widget, how do i do this?
I want to use the same code but different class titles