TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 19, 2024, 01:39:35 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 101
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 84
  • Total: 84

Help with TechHead theme needed!!!

Started by cathy1967, May 07, 2005, 11:55:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cathy1967

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

cathy1967

Anybody? I just need to know what code to replace to replace the title of the site with an image. Please?

Bjørn

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.

cathy1967

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.

cathy1967

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';

Bjørn

Just use <img src="CathysBasementForum.gif" />';

:)

cathy1967

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

cathy1967

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.