Shape 5

Joomla Templates => Your Store - July 2007 - Club => : sandyboone November 14, 2007, 04:47:49 PM



: how to create link for logo
: sandyboone November 14, 2007, 04:47:49 PM
I would like to make my logo link to another url. I can't figure out how to do that - I'm supposing in the index.php. Can you tell me where I would add the link reference? And is there special php code for that?

Thanks,
Sandy



: Re: how to create link for logo
: jonahh November 14, 2007, 07:06:35 PM
Sandy,

Look for the following lines of code in your index.php file:

      <div class="logo">
         <a href="#">YourStore[/url]
      </div>


Change the href="your link here" to whatever you would like

Regards,


: Re: how to create link for logo
: sandyboone November 14, 2007, 08:35:33 PM
Thanks Jonahh - found it. Is there a way to include an alt tag? It would be nice when the hand cursor appears for them to know where they'll be going.

thanks again,
Sandy


: Re: how to create link for logo
: jonahh November 14, 2007, 09:58:41 PM
Not a problem, just add the title tag to the link.  It would appear as follows:

<div class="logo">
         <a href="#" title="Where they are going">YourStore[/url]
      </div>

Regards,


: Re: how to create link for logo
: sandyboone November 14, 2007, 11:27:44 PM
Thanks Jonah. Worked like a charm!
 :D

Sandy