Solved

move image below bar

Posted on 2014-04-21
6
212 Views
Last Modified: 2014-05-03
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/
0
Comment
Question by:jagguy
6 Comments
 
LVL 30

Expert Comment

by:Marco Gasi
ID: 40012305
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
 

Author Comment

by:jagguy
ID: 40012315
I understand this in regular html but this is wordpress so where do I do this?
0
 
LVL 11

Expert Comment

by:Tej Pratap Shukla ~Dexter
ID: 40012370
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
 

Author Comment

by:jagguy
ID: 40012414
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
 
LVL 15

Accepted Solution

by:
eemit earned 500 total points
ID: 40020008
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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now