link - Logo.png

axelkucher / 2013-03-14 18:09:29   

hey...

when i click on my Logo.png i'll get back to axelkucher.at.
how an i fix this?

Hope you know what i mean.

Thanks, Axel

lemathieu A / 2013-03-14 20:55:49   

Hello,
you can do it by inserting this code into your "pre-nav" (in your admin > Admin)

  1. < a href='{{baseurl}}'>< img src="adresse of your image" alt="my logo" width="XXX" height="XX" margin="0" padding="0" />< /a>

Without spaces after the opening brakets.
And you erase the one you have in your menu background ;)

axelkucher / 2013-03-14 22:05:49   

ok thanks for the code.
my plan was to make another logo.png (transparent) over the normal logo.
the transparent logo get the link to my baseurl.
BUT i cant move the new logo exactly over the other.

for this example i make the new logo red: axelkucher.at/

the code in the "pre nav":

axelkucher / 2013-03-14 22:06:18   


< a href='axelkucher.at/'>< img src="/image/img.png" alt="img.png" width="230" height="230"/>< /a>

arsondpi / 2013-03-15 07:46:16   

I guess you can do this with css more easily.
For example:

  1. <a href='/' id='logo'>Axel Kucher< /a>

and in your style.css

  1. #logo { background: url('URL_IMAGE_WHEN_NOT_HOVER); width: 200px; height: 200px; display: block; }
  2. #logo:hover { background: url('URL_IMAGE_WHEN_ON_HOVER); width: 200px; height: 200px; display: block; }

See if this works.

This thread has been closed, thank you.