Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

move image below bar

Posted on 2014-04-21
6
Medium Priority
?
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 31

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 12

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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchiā€¦
The viewer will learn how to dynamically set the form action using jQuery.

688 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