I added a widget area to my sidebar using the following code. The area shows up fine, and I can add widgets which also show up and work fine. The problem I am having is if I add a title to the Widget, it shows up under the widget for some reason. I attached an image to show what is happening.
register_sidebar(
array(
'name' => 'Widget Area 2 - Right Sidebar',
'id' => 'widget_area_2_right_sidebar',
'before_widget' => '<aside>',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>',
)
);