Add a Link to Header-Image?
-
Hi!!
I want to add a custom link (back to start) to my header-image, but my problem is, that this theme is generated by Divine Elemente Theme Creator…
To make it as simple as possible, i just want to add the link to the WHOLE header-image-file to link back to start.
I already crawled my header.php and i can add a URL with Text but i cant find the right code to insert a link to the whole image file…
Heres the code of my header.php:
This references to my whole header image i think: <div class=”header-no-stretch-block”>
Is there a simple Code like “<a href…” to add a link-overlay to the whole div class?? I already tried different code-forms but nothing works…<div class="header-no-stretch-block"><div class="header-grid"><!-- Header --> <div class="clear-both"> <div style="height: 17px; left: 454px; position: absolute; top: 6px; width: 100px;"> <a href="/wordpress"></a> <?php $div_ec- >Show('link-n5'); ?> </div> <div style="height: 17px; left: 614px; position: absolute; top: 6px; width: 32px;"> <? php $div_ec->Show('link-n10'); ?> </div> <div style="height: 17px; left: 694px; position: absolute; top: 6px; width: 110px;"> <?php $div_ec->Show('link-n11'); ?> </div> <div style="height: 21px; left: 855px; position: absolute; top: 6px; width: 54px;"> <?php $div_ec->Show('link-n12'); ?> </div> <div style="height: 19px; left: 340px; position: absolute; top: 69px; width: 84px;"> <?php $div_ec->Show('link'); ?> </div> <div style="height: 16px; left: 453px; position: absolute; top: 72px; width: 96px;"> <?php $div_ec->Show('link-n1'); ?> </div> <div style="height: 16px; left: 581px; position: absolute; top: 72px; width: 64px;"> <?php $div_ec->Show('link-n2'); ?> </div> <div style="height: 16px; left: 679px; position: absolute; top: 72px; width: 81px;"> <?php $div_ec->Show('link-n3'); ?> </div> <div style="height: 16px; left: 796px; position: absolute; top: 72px; width: 79px;"> <?php $div_ec->Show ('link-n4'); ?> </div> <a href="/wordpress" class="logo"> <img src="<?php echo get_template_directory_uri() . '/'; ?>images/logo.gif" /> </a> </div> </div> </div> <!-- end Header --> <!-- start Content --> <div class="content- stretch-warp"> <div class="content-stretch-bottom"> <div class="content-stretch-top">I hope you know what iΒ΄m trying to do… i am not an native english speaker ,sorry π
Any help gladly appreciated!
The topic ‘Add a Link to Header-Image?’ is closed to new replies.