move image below bar

Hi,

How do I move the horizontal bar which is below the image  to above the image on top of screen with 2014 theme in wordpress


http://mymrt.net/wordpress/
jagguyAsked:
Who is Participating?
 
eemitConnect With a Mentor Commented:
You should move this code block in header.php in your theme:
	<?php if ( get_header_image() ) : ?>
	<div id="site-header">
		<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
			<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="">
		</a>
	</div>
	<?php endif; ?>

Open in new window


above the line:
<div id="main" class="site-main">

Open in new window


Make changes in child theme, so first copy header.php into your child theme's folder.
0
 
Marco GasiFreelancerCommented:
In your html you have to put header before of site-header but I've not idea if this can break your lauout: just give it a try.
0
 
jagguyAuthor Commented:
I understand this in regular html but this is wordpress so where do I do this?
0
 
Tej Pratap Shukla ~DexterServer AdministratorCommented:
Hey there

Well you can mention the header div i.e div class="header-main " before the div site header  and add div clear class to make sure that they get aligned properly and donot restrict each other's alignment.

Feel free to revert back for further queries.

Thanks
~Dex
0
 
jagguyAuthor Commented:
where do you do this though as wordpress isnt a simply html file.

I know you can swap the divs around but what file as I believe the html files are assembled by php files
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.