It is not that simple. you have to add css elements for the list and the divs, and then check the code to see which div is inside which. I believe it is not correct to modify the header.php file. Maybe we should check this first and then perform any changes. I have made some progress and managed to add a sidebar but I haven't aligned the divs properly. Right now it is just a matter of css. I wrote a new sidebar.php with the following contents:
if ( is_active_sidebar( 'main-sidebar' ) ) :?>
<ul id="sidebar-main" class="xoxo widget-area" role="complementary">
<?php dynamic_sidebar( 'main-sidebar' ); ?>
</ul>
You also have to add it to the functions.php
// This is the main sidebar, next to the posts column.
register_sidebar( array(
'name' => __('Main Sidebar', 'candid'),
'id' => 'main-sidebar',
'description' => __( 'The sidebar next to the main content', 'candid' ),
) );
You also have to register the css attributes and then I included it in the footer.php (which sucks, it is surely wrong coding style). I haven't figured out the css yet. Hope that helps.