Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #5371


    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?




    I’d add the image code in header.php after following code:

    * display the main navigation menu
    * modify the output in your wordpress admin backend at appearance->menus
    $args = array('fallback_cb' => 'avia_fallback_menu');

    You can position the image by wrapping it in a div –

    <div class="banner">
    <img src="my-image.jpg" alt="" title="" />

    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 :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Add image to header’ is closed to new replies.