Home › Forums › CSS › WordPress Sidebar Classes › Re: WordPress Sidebar Classes
May 27, 2011 at 8:08 am
#75183
Brightonmike
Member
Here is mine.
PHP Functions.php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'sidebar',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '
',
));
CSS Theme Stylesheet
.rightBox {
margin-bottom:17px;
}
.rightBox h2 {
padding:10px 0;
color:#f0f0f0;
text-shadow:1px 1px #222;
}
.rightBox ul li{
padding:6px 0;
border-bottom:1px solid #444;
}
.rightBox ul {
border-top:1px solid #777;
}