I have managed to add an image to the header but I need to align it to the center of the page. How do I do this?
This is the code in the header file:
<hgroup> <h1 id="site-title"><span><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="http://shaadiyan.com/wp-content/uploads/2012/12/Header1.jpg" alt="your site name" width="1000" height="260"></a></span></h1> <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> </hgroup>
[please mark any posted code – http://codex.wordpress.org/Forum_Welcome#Posting_Code – the above code got unfortunately corrupted by the forum parser]
- The topic ‘Aligning Header Image’ is closed to new replies.