[SOLVED]howto link the g2-banner/image to home?

Coucerbaum
Coucerbaum's picture

Joined: 2005-01-16
Posts: 13
Posted: Tue, 2005-01-18 11:18

hi,

i want to link the main picture of the gallery (in german called banner); its the pic in the top; to my homepage. i could not find any possibility and i am not the big programmer.

but this would be very nice. could somebody help me? thx.

couci

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-01-18 17:13

templates/global.tpl

 
Coucerbaum
Coucerbaum's picture

Joined: 2005-01-16
Posts: 13
Posted: Tue, 2005-01-18 20:54

hi,

thx for your fast answer, but i am not a programmer, so i don't know, what i have to add, or define so that this pic link to my homepage, if i click on it.

please help me and give me a code example for a entry. sorry and thanks.

couci

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-01-18 21:19

<a href="..."> .. </a>
you can put any html you want in your local copy of global.tpl

 
Coucerbaum
Coucerbaum's picture

Joined: 2005-01-16
Posts: 13
Posted: Tue, 2005-01-18 23:55

hi mindless,

thanks, i did this and it works fine. thank you very much.

i have only one question: i have a white pic and after my edits now around this pic, there comes a blue corner, so you can see here: http://www.daniel-meissner.de/gallery2

can i delete this corner, or edit it into white? that would be more than fantastic. please excuse these many questions. thx.

 
loyukfai

Joined: 2004-11-29
Posts: 58
Posted: Wed, 2005-01-19 00:19

Coucerbaum: I suppose you mean the blue border around the link, if so, please add:

style="border-style: none"

To your <img ...> line and it should remove the border.

P.S. Your currnet <img ...> line is as follow:

<img src="http://www.daniel-meissner.de/gallery2/images/galleryLogo_sm.gif? alt="" />

So you should change it to:

<img src="http://www.daniel-meissner.de/gallery2/images/galleryLogo_sm.gif? alt="" style="border-style: none" />

Hope this helps.

 
Coucerbaum
Coucerbaum's picture

Joined: 2005-01-16
Posts: 13
Posted: Wed, 2005-01-19 02:00

loyukfai,

thanks a lot, i did this, and it looks fine, the perfect answer for an non-programming-german-user. i think i have to learn html/xhtml. thank you very much.

couci

 
jdesanti

Joined: 2007-05-08
Posts: 2
Posted: Thu, 2007-05-17 17:00

i would also like to link my banner back to my website, but cannot find the file to modify. any help would be greatly appreciated.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2007-05-19 15:11

themes/{yourtheme}/templates/theme.tpl