Zualtea and oth3rsid3 provided us a solution to make the entire WordPress Header Clickable. Thanks guys.
1) Inside the theme folder, open header.php
2) Inside <body> tag , look for <div id=”headerimg”>
3) Use HTML tag map to make the entire header background image clickable, as below:
<div id="headerimg">
<img src="<?php bloginfo('stylesheet_directory');
?/>/images/kubrickheader.png" border="0" usemap="#misual" />
<map name="misual" id="misual"><area shape="rect"
coords="218,72,644,129" href="/" /> </map>
<h1><a href="<?php echo get_settings('home');
?>">< ?php bloginfo ('name'); ?></a></h1>
<div class="description">< ?php bloginfo('description');
?></div></div>
4) I changed the co-ordinates “coords” so as to cover the entire background image (kubrickheader.png)
Read more about map tag here. I was never aware of this useful tag. I already implemented this more than a week ago. Thanks again guys.
Very impressive indeed, to get solutions from Mizo Computer Science students. I do agree you don’t need to go to an Engineering College to write a few lines of code. But I have seen several Engineering/Computer Students (both Mizo and others) who don’t seem to have even a bit of interest in Computers, forget coding.
Similar Posts:
- Mizo Computer Engineers form association
- Internship at Sun Microsystem, Bangalore
- Steffi’s new avatar
- Buaithlak
- Mizoram NIT a Branch an hawn tur te hi
December 30th, 2007 at 6:04 pm
nitin ka visit ziah thin tana ka contri ve theih chhun… a zillion wc…
Report this comment
December 31st, 2007 at 1:47 pm
@Ben: mi(sual).com lai chauh khi i link duh maw ka lo tia…chuvang nia mapping ah khan misual lai te kha kan map na chhan…image pumpui link chu tag hi tag hmang a link top pon theih tho a…mahse blue color lai te khi link duh chuan mapping khi tha mai…:)
Report this comment
December 31st, 2007 at 1:57 pm
sorry code tag hman theih na nge
correction:
image pumpui link chu ‘img’ tag hi ‘a’ tag hmang a link top pon a tih theih tho a…
Report this comment
December 31st, 2007 at 2:10 pm
I tried that. It did not work.
Report this comment
December 31st, 2007 at 2:26 pm
khey…i see…then mapping is the right choice
Report this comment
July 27th, 2011 at 3:21 pm
ÑËÎÌ ÇÄÀÍÈÉ…
minny…
Report this comment