Displaying image to left of text in header
I am trying to display an image and text in my header. The default seems to be that the image appears above the text, but I would like it to appear to the left of the text.
I'm using a child theme, and I tried hooking in a custom "catchbox_headerdetails_child" function, which is a modified copy of catchbox_headerdetails. So far I've succeeded in getting the image to the RIGHT of the text! lol - not what I expected.
At this point I think I need help! Here is my custom function. Any help vastly appreciated!!!
function catchbox_headerdetails_child() { ?>
<?php
// Check to see if the header image has been removed
$header_image = get_header_image();
if ( ! empty( $header_image ) ) : ?>
<span id="site-logo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" />
</a></span>
<?php endif; // end check for removed header image ?>
<div class="logo-wrap clearfix">
<hgroup id="site-details">
<h1 id="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
</hgroup>
</div><!-- .logo-wrap -->
<?php }