TheCripZone SMF Themes Site

All Things Public => Theme Support => Topic started by: Adamr on May 29, 11, 03:27:49 PM

Title: Link to a forum as logo
Post by: Adamr on May 29, 11, 03:27:49 PM
Hello mates  ;)
I'm using SMF2 RC5 with "blackorwhite" theme (amazing!, I love it  :smitten: )
I tried to add my custom logo to header. I found:
<div id="logo"> and added after this code my new logo:
<img src="logo.png">
It works, logo appearance, but i can't  click on it to return to index.
Anyone can help me? I think it's easy to fix.
Title: Re: Link to a forum as logo
Post by: Maxx on May 29, 11, 03:56:36 PM
I don't think you had to edit anything to add a loge , just overwrite the original by uploading the new one, If you save or backed up a copy of what you have edited it would be best to, put it back the way it was!

regards,
Maxx
Title: Re: Link to a forum as logo
Post by: Crip on May 29, 11, 04:05:33 PM
hi,
best way is Attach your index.template.php .. the one your using now?
Title: Re: Link to a forum as logo
Post by: Adamr on May 29, 11, 04:09:48 PM
Sure!

[attachment deleted by admin]
Title: Re: Link to a forum as logo
Post by: Crip on May 29, 11, 04:14:37 PM
or .....
<div id="logo">
<a href="', $scripturl, ' title=""></a>
  </div>
Title: Re: Link to a forum as logo
Post by: Crip on May 29, 11, 04:23:37 PM
BACKUP 1ST :


[attachment deleted by admin]
Title: Re: Link to a forum as logo
Post by: Crip on May 29, 11, 04:24:50 PM
Quote from: Maxx on May 29, 11, 03:56:36 PM
I don't think you had to edit anything to add a loge , just overwrite the original by uploading the new one, If you save or backed up a copy of what you have edited it would be best to, put it back the way it was!

regards,
Maxx
Exactly Maxx!!!!!  :up:
Title: Re: Link to a forum as logo
Post by: Adamr on May 29, 11, 04:28:44 PM
Yes, I know, backup is very important!
I have added new code:
<div id="logo"><a href="', $scripturl, ' title="">
         <img src="logo.png" alt="Security Reviews"/></a>

     </div>

but it looks strange (on Opera 11, Firefox 4 and IE 8)

[attachment deleted by admin]
Title: Re: Link to a forum as logo
Post by: Crip on May 29, 11, 04:33:02 PM
Quote from: Adamr on May 29, 11, 04:28:44 PM
Yes, I know, backup is very important!
I have added new code:
<div id="logo"><a href="', $scripturl, ' title="">
         <img src="logo.png" alt="Security Reviews"/></a>

     </div>

but it looks strange (on Opera 11, Firefox 4 and IE 8)


bro,
the code IS WRONG------
<div id="logo"><a href="', $scripturl, ' title="">
         <img src="logo.png" alt="Security Reviews"/></a>

     </div>

WRONG:


<div id="logo">
     <a href="', $scripturl, ' title=""></a>
     </div>';


RIGHT: ------------------ :up:
Title: Re: Link to a forum as logo
Post by: Adamr on May 29, 11, 04:37:46 PM
It works  :D!
Thank you very much!