-
AuthorPosts
-
tangram Friend
tangram
- Join date:
- January 2013
- Posts:
- 7
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
March 4, 2013 at 2:12 pm #185500Hello people.
I’m having this problem:
I have to make the logo in the header with two different link areas, wich point to different pages within the site. For doing this i supose one way would be to insert an image with the tag <map name=”Map” id=”Map”>, but the thing is that i wouldn’t like to do it as a module but by editing directly the file that determines the modules positions and that sort of things.
Using Firebug i can see that the logo is determined as a background image by css in the tag <h1 class=”logo”>.
My question would be: in what file should i insert my logo within <h1 class=”logo”>here i would like to put my logo</h1>? is it posible to do it?I’ll apreciate any help.
Greetings.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 5, 2013 at 8:42 am #485389You can do that but can you send me url with put <map name=”Map” id=”Map”> and <h1 class=”logo”> on your site. I shall check it and give back to you the solution.
tangram Friendtangram
- Join date:
- January 2013
- Posts:
- 7
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
March 5, 2013 at 6:33 pm #485454Hi. Here’s the url of the site http://www.familia.org.uy
Is that what you need? i’m not sure if i understood.
Thanks.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 6, 2013 at 10:01 am #485560<em>@tangram 363026 wrote:</em><blockquote>Hi. Here’s the url of the site http://www.familia.org.uy
Is that what you need? i’m not sure if i understood.
Thanks.</blockquote>From link on your site but i could not find <map name=”Map” id=”Map”> on the header page.
You can send me the screenshot where place was you add it on your site?
Right now its difficult to guess the issue and solution without actually being able to see it.
tangram Friendtangram
- Join date:
- January 2013
- Posts:
- 7
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
March 7, 2013 at 12:39 pm #485702I haven’t put the <map name=”Map” id=”Map”> tag yet because i don’t know in what file i should put it. The code wold be something like this and it sould go inside the <h1 class=”logo”> tag:
<a href=”http://www.familia.org.uy”><img src=”logo.png” width=”490″ height=”75″ border=”0″ usemap=”#Map” /></a>
<map name=”Map” id=”Map”>
<area shape=”rect” coords=”73,49,331,65″ href=”http://www.familia.org.uy/padrerichards” />
</map>I’ve attached a print screen so you get a better idea.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 8, 2013 at 7:22 am #485763You can try this way
Open templates/ja_portfolio/blocks/header.php file
from
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
change to
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
<map name="Map" id="Map">
<area shape="rect" coords="73,49,331,65" href="http://www.familia.org.uy/padrerichards" />
</map>
</h1>Remember to clear cache from Admin area
1 user says Thank You to Ninja Lead for this useful post
tangram Friendtangram
- Join date:
- January 2013
- Posts:
- 7
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
March 11, 2013 at 5:28 pm #486051Finally i didn’t put exactly that, this is what got it to work:
<h1 class=”logo”>
<a href=”http://www.familia.org.uy/”><img src=”http://www.familia.org.uy/templates/ja_portfolio/images/logo-final.jpg” border=”0″ usemap=”#Map” />
<map name=”Map” id=”Map”>
<area shape=”rect” coords=”73,62,281,73″ href=”http://www.familia.org.uy/index.php/introduccion” />
</map>
</a>
</h1>Thank you very much for your help!
1 user says Thank You to tangram for this useful post
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by tangram 11 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Header logo with two link areas
Viewing 7 posts - 1 through 7 (of 7 total)