Hi,
First and foremost, thanks for the themes you're doing. They're awesome.
Secondly, I have a quick question and I hope there's a quick answer to it.ÃÆ'ââ,¬Å¡Ãƒâ€šÃ, ;D I'm using the theme TechHead on my forum and I would love to put a static banner where the title is, e.g. a jpg-image. How do I do that?
If you wanna see it, you can find it here: http://www.cathys-basement.dk/SMF
Again, thanks for the great themes. They're gorgeous.
Cathy
Anybody? I just need to know what code to replace to replace the title of the site with an image. Please?
Sorry, I haven't seen this...
Try to open up index.template.php and find this code bit:
echo '
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" class="mytop">
<tr>
<td valign="top" style="padding-top: 10px;"><span style="color: #000; font-family: Impact, tahoma, sans-serif; font-size: 24px;">', strtoupper($context['forum_name']), '</span>';
Now just replace that last bit <span style.......</span> with an <img> tag and you should have an image instead of the forum name.
Hi!
Thanks for the reply. I tried it, but unfortunately it created an error. Any idea what might have caused that? I replaced everything between the <span></span> tags and replaced them with an <img></img> tag where the path for the image (which I have stored in the folder Images in the TechHead theme) is called CathysBasementForum.gif.
I'm sure I've done something wrong here. I just can't figure out what. :D
Thanks for your help. I appreciate it. I'm a total clutz when it comes to programming.
Okay, I figured some of it out. No </img> at the end. But ... now it only shows a small box and then the path of the picture. Obviously, I'm missing something.
Maybe you can take a look? www.cathys-basement.dk/SMF
This is what I have in that line now:
<td valign="top" style="padding-top: 10px;"><img>CathysBasementForum.gif';
Just use <img src="CathysBasementForum.gif" />';
:)
Okay, great. Now it's in the right place, but it still doesn't show the picture, just that annoying little red x in a box. Could that be because the picture is too big or something?
Thanks again. I really, really appreciate this. ;D
I got it! The path had to be typed out for the picture! Thanks again for your help. Much, much appreciated. Now I just have to reduce the size. ;D
Thanks again.