JasonParkerMusic
Member
Posted 1 year 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?
Thanks!
Jason
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>
JasonParkerMusic
Member
Posted 1 year 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.
thanks!
Jason
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.
JasonParkerMusic
Member
Posted 1 year 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]
gafftherisible
Member
Posted 10 months ago #
I'm curious about the same thing actually, so help from anyone on this subject would be spectacular.
craig1985
Member
Posted 9 months 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