News:

We have *Free* SMF 2.0 & 2.1 Themes for Download and Support!

 

Recent Topics

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

Style400 - smf logo clickable

Started by piroman, May 12, 12, 10:34:19 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

piroman

Hi,

I need to add a link to a smf logo in Style400 theme. I want to use it as a banner.

Thanks

Crip

Okay,
I need to look / check n see..
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

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.

piroman

It's not a problem to change url as long as I know how to add it to that pic? Could you please show what you've changed/added to index.template.php?

Thanks a lot!

Crip

I didn;t change anything. Menu only!
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.

Maxx

Yes just go to admin > current theme > Scroll down the page to > "Logo image URL:
(leave blank to show forum name or default logo.) " and enter your logo url in the form field !

hope that's what you wanted to know!

Of course you need to upload the image to a given place or directory.
if you need to know what directory your current log is in. right click a view image or copy link location and paste to note pad!

regards,
Maxx

piroman

:( My bad.

Guys I was talking about SMF logo on the right side of forum, the one that is called by:

<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />

I want to add a link to it, so it can be clickable, since I want to use it as a banner for my other site.


Thanks Maxx & Crip!

Maxx

opens in new window so they don't leave your site!

index,template.php ( in you theme main folder!)

<a target="_blank" href="http://www.yoursite.com/">
<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" /></a>


regards,
Maxx

piroman

It works great. I thought it should be much complicated, but it's just that simple :)

Thanks a lot Maxx!

Maxx

I knew you could do it... your welcome!

regards,
Maxx