At the top of functions.php replace
PHP Code:
if ( function_exists('register_sidebar') ) {
register_sidebar(array(
'name'=>'Left Sidebar',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div></div>',
'before_title' => '<div class="widget-title"><h3>',
'after_title' => '</h3></div><div class="widget-content">',
));
register_sidebar(array(
'name'=>'Right Sidebar',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div></div>',
'before_title' => '<div class="widget-title"><h3>',
'after_title' => '</h3></div><div class="widget-content">',
));
}
with
PHP Code:
if ( function_exists('register_sidebar') ) {
register_sidebar(array(
'name'=>'Left Sidebar',
'before_widget' => '<div class="top"></div><div id="%1$s" class="widget %2$s">',
'after_widget' => '</div></div><div class="bottom"></div>',
'before_title' => '<div class="widget-title"><h3>',
'after_title' => '</h3></div><div class="widget-content">',
));
register_sidebar(array(
'name'=>'Right Sidebar',
'before_widget' => '<div class="top"></div><div id="%1$s" class="widget %2$s">',
'after_widget' => '</div></div><div class="bottom"></div>',
'before_title' => '<div class="widget-title"><h3>',
'after_title' => '</h3></div><div class="widget-content">',
));
}
Add a HTML/CSS Insert -> CSS Insert
HTML Code:
div.top { background: transparent url(/wp-content/themes/atahualpa/images/top.png);
display: block;
height: 6px;
margin-bottom: 0;
padding: 0;
width: 300px;
}
div.bottom {
background: transparent url(/wp-content/themes/atahualpa/images/bottom.png);
display: block;
height: 13px;
margin-bottom: 15px; /* distance to the next widget */
padding: 0;
width: 300px;
}
At A. Theme Options -> Widgets -> Widget Container, change
HTML Code:
margin: 0 0 15px 0;
to
and upload your
top.png and
bottom.png to /wp-content/themes/atahualpa/images/...