Community Forums › Forums › Archived Forums › Design Tips and Tricks › Adding a clickable image in the header
Tagged: header link, outreach, widget next to slider
- This topic has 10 replies, 3 voices, and was last updated 11 years, 11 months ago by
pdguyonus.
-
AuthorPosts
-
February 28, 2013 at 6:50 pm #23411
kathiemt
ParticipantI want to know if it's possible to put a clickable image in the header please?
I've been building a site in the Outreach theme at http://vtio.org.au/. They have got 5 sponsors, one is top level and the other four then next level. I was thinking of putting the four in the footer like has been done at http://fdsa.org/dev_site/ but that would mean I need to give the top level sponsor much higher profile and was thinking it would be good to put it in the header and linked.
Alternate would be to put it next to the slider - I imagine that would mean resizing the slider. But again, I'd need to know what has to be done re putting a widget beside the slider to do that.
Thanks in advance for your help and suggestions.
Kathie Thomas
February 28, 2013 at 7:55 pm #23424NewSeasonDesign
MemberI use the Genesis Simple Hooks plugin and then add the image (with link) to the header hook. Then use CSS to position it.
February 28, 2013 at 8:56 pm #23428kathiemt
ParticipantOk, thanks, will give that a try.
Kathie Thomas
March 12, 2013 at 8:05 am #25641pdguyonus
MemberCan you please give an example of how this is done using Genesis Simple Hooks? I want to have visitors taken to an order page when they click on the header (there is a call to action to "Get Tickets Now")
Thanks.
March 12, 2013 at 9:36 am #25652NewSeasonDesign
MemberYou can add the image to the header hook (the Get Tickets Now image that is) and make it clickable:<div id="clicknow"><a href="your URL here"><img src="your image URL"></a></div>Then you could use CSS to position that image where you want it to be in the header.If your Get Tickets Now image is part of your header image already, you could map the header using http://image-maps.com. They'll give you code to put into that header hook.
March 12, 2013 at 9:36 am #25653NewSeasonDesign
MemberYou can add the image to the header hook (the Get Tickets Now image that is) and make it clickable:
<div id="clicknow"><a href="your URL here"><img src="your image URL"></a></div>
Then you could use CSS to position that image where you want it to be in the header.
If your Get Tickets Now image is part of your header image already, you could map the header using http://image-maps.com. They'll give you code to put into that header hook.
March 12, 2013 at 1:44 pm #25694pdguyonus
MemberThanks I used http://image-maps.com and got map because the Get Tickets Now is part of the header. Only problem is the header appears above the header. Here is the image map code.
<div id="header" style="text-align:center; width:920px; margin-left:auto; margin-right:auto;">
<img id="Image-Maps_1201303121501059" src="http://thinkandgrowrichsummit.com/wp-content/themes/lifestyle/images/header.png" usemap="#Image-Maps_1201303121501059" border="0" width="920" height="214" alt="" />
<map id="_Image-Maps_1201303121501059" name="Image-Maps_1201303121501059">
<area shape="rect" coords="1,0,915,209" href="http://thinkandgrowrichsummit.com/specials" alt="Think and Grow Rich Get your Tickets Now" title="Think and Grow Rich Get your Tickets Now" />
</map>
</div>I have it disabled now because the site is live. I am not a css guru by any means. Any help would be appreciated.
March 12, 2013 at 1:47 pm #25695NewSeasonDesign
MemberYou probably have to click the box next to "Unhook
genesis_do_header()
function from this hook?" in the genesis_header hook. Sorry I forgot that step before. That should remove the old header and just put yours in there.March 12, 2013 at 1:48 pm #25697NewSeasonDesign
MemberOops. That read my post as code. Let me try that again with some spaces. 🙂
You probably have to click the box next to “Unhook genesis do header function from this hook?” in the genesis_header hook. Sorry I forgot that step before. That should remove the old header and just put yours in there.
March 12, 2013 at 2:11 pm #25704pdguyonus
MemberThat helped! But I still have an alignment problem or there seems to be two images there. Here is my site.
http://thinkandgrowrichsummit.com
Thanks for your help.
March 12, 2013 at 2:39 pm #25712pdguyonus
MemberI see the problem. There are two images and the image map image is narrower than the one in the header. Not sure how that happened. I left justified it and it looks a little better but the right edge looks a little strange. I will see if I can track down what is going on.
That Genesis Hooks seem pretty handy, as does the image mapper. I was thinking an image map would be the solution but did not know how to implement it.
Thanks so much for your help!
Paul Guyon
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.