Closed (fixed)
Project:
Header image
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2008 at 18:11 UTC
Updated:
3 Oct 2008 at 17:08 UTC
Thanks for this module,
I'm wondering if you know of a hack or way I can make the image clickable to a specific url. I want to use this module to place a banner in the header section but would like to make the top left part clickable to the home page.
any ideas?
thanks,
guppy
Comments
Comment #1
sutharsan commentedWith theming you can add any html/css you want to the header image.
See: http://drupal.org/theme-guide
(we call this a support request)
(you assign an issue to yourselves if you are the one who is going to work on it)
Comment #2
sutharsan commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
hargobindHere's a simple way to accomplish this...
In your template (or possibly your headerimage.tpl.php theme file), place a transparent GIF or PNG
<img>just AFTER the region that the header image block is being displayed -- the<img>tag should go AFTER the header image so that when you use CSS to position it, it will display on top of the header image. Surround the transparent image with a<a href="">tag and point it to the URL you want to send the user to. Then add some CSS to place the image where you want it.Example
Template:
CSS:
This will create a 200x50 transparent image that links to the homepage of the site (
$base_path). When they mouse over your transparent image, they will get a help-text-popup with the name of your site, in this case "Oodles of Noodles".