TinyPortal

General => Chit chat => Topic started by: cathy1967 on May 07, 2005, 11:55:51 AM

Title: Help with TechHead theme needed!!!
Post by: cathy1967 on May 07, 2005, 11:55:51 AM
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
Title: Re: Regarding TechHead
Post by: cathy1967 on May 10, 2005, 10:16:25 PM
Anybody? I just need to know what code to replace to replace the title of the site with an image. Please?
Title: Re: Help with TechHead theme needed!!!
Post by: Bjørn on May 10, 2005, 10:36:21 PM
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.
Title: Re: Help with TechHead theme needed!!!
Post by: cathy1967 on May 10, 2005, 10:51:35 PM
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.
Title: Re: Help with TechHead theme needed!!!
Post by: cathy1967 on May 10, 2005, 11:12:21 PM
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';
Title: Re: Help with TechHead theme needed!!!
Post by: Bjørn on May 10, 2005, 11:23:34 PM
Just use <img src="CathysBasementForum.gif" />';

:)
Title: Re: Help with TechHead theme needed!!!
Post by: cathy1967 on May 10, 2005, 11:30:28 PM
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
Title: Re: Help with TechHead theme needed!!!
Post by: cathy1967 on May 10, 2005, 11:35:33 PM
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.