Hi,
How do I add an image to the header - using code, so I can manually adjust the location, e.g., right-adjusted, left-adjusted, centered?
Jack
Hi,
How do I add an image to the header - using code, so I can manually adjust the location, e.g., right-adjusted, left-adjusted, centered?
Jack
Hey,
I'd add the image code in header.php after following code:
<?php
/*
* display the main navigation menu
* modify the output in your wordpress admin backend at appearance->menus
*/
$args = array('fallback_cb' => 'avia_fallback_menu');
wp_nav_menu($args);
?>
You can position the image by wrapping it in a div - i.e.like:
<div class="banner">
<img src="my-image.jpg" alt="" title="" />
</div>
At least add following css to css/custom.css:
.banner {
position: absolute;
right: 0px;
top: 90px;
}this saved my day. thanks!
Glad that I could help you :)
You must log in to post.