How to add a banner to the header, under the nav bar (7 posts)

  1. JasonParkerMusic
    Posted 5 years ago #

    Hi there,

    I have a banner I want to add to the header of my site at http://jazznowseattle.com. I thought it would be as easy as pasting the <img> code into the header.php file, but I've pasted it everywhere I can think of with no luck.

    Any suggestions?


  2. chavo
    Posted 5 years ago #

    Hi. How do you call the image? Something like this should work:

    <a href="YOUR LINK" title=""><img src="<?php bloginfo('template_url'); ?>/YOUR IMAGES THEME FOLDER/YOUR IMAGE" alt="" width="" height="" /></a>

  3. JasonParkerMusic
    Posted 5 years ago #

    Thanks for the reply, chavo.

    I call the image with:

    <a href="http://www.bellevuejazz.com"><img src="http://jazznowseattle.com/wp-content/uploads/2011/04/BDAJazz-ad-728x90.jpg"></a>

    I just can't figure out where to paste into the header.php file.


  4. chavo
    Posted 5 years ago #

    It depends based on your layout design. But all elements must be inside the html structure. Maybe below <div id="header">

    ps: sorry for my bad english.

  5. JasonParkerMusic
    Posted 5 years ago #

    Your English is great! Thanks for your help.

    I pasted it right before the </div><!-- #header --> and it didn't show up at all.

    Here's the code from my header.php file. Let me know if you have any suggestions on where to put it. I'd like it to show up under the navigation, before the main content.:

    [code moderated as per forum rules - please use the pastebin]

  6. gafftherisible
    Posted 5 years ago #

    I'm curious about the same thing actually, so help from anyone on this subject would be spectacular.

  7. craig1985
    Posted 4 years ago #

    I added below nav banner at my site http://maskedmagic.com

    I added the code
    <center><a href="TARGET-SITE" target="_blank"><img src="IMAGE-LOCATION" alt="Bedceived" border="0" /></a></center>

    Seems to have worked OK. I added the code just below <div id="header"> in header.php

    Hope this helps

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.