News:

Keeping Crip's dream alive is our mission! :)

 

Recent Topics

Members
Stats
  • Total Posts: 10,783
  • Total Topics: 1,380
  • Online today: 33
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 1
Guests: 33
Total: 34

Link to a forum as logo

Started by Adamr, May 29, 11, 03:27:49 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Adamr

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.

Maxx

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

Crip

hi,
best way is Attach your index.template.php .. the one your using now?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Adamr

Sure!

[attachment deleted by admin]

Crip

or .....
<div id="logo">
<a href="', $scripturl, ' title=""></a>
  </div>
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Crip

BACKUP 1ST :


[attachment deleted by admin]
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Crip

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:
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Adamr

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]

Crip

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:
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Adamr

It works  :D!
Thank you very much!