how to place external link on the background image

Advanced newspaper or magazine Joomla template to build news website with unique and detailed design.
GK User
Thu Apr 24, 2014 11:47 am
Does anyone know how to place external link on the background image of the site
Thanks a lot:)
User avatar
Fresh Boarder

GK User
Thu Apr 24, 2014 11:50 am
Hi,
you want to make background image clickable ?
If yes, most people use big layer (div) which is link - but it request few customizations - so if you don't have css html/css skill leave it.
User avatar
Platinum Boarder

GK User
Thu Apr 24, 2014 12:05 pm
I know basic of it so could you tell me what to do? Thank you very much!
User avatar
Fresh Boarder

GK User
Thu Apr 24, 2014 7:27 pm
In theory you have two options:
1) use additional extension which offer such a feature
2) in gk_twn\layouts\default.php - you have to make small customization

a) After <body<?php echo $tpl_page_suffix; ?>>
add :
Code: Select all
<a href="http://gavick.com" title="link bg">
<div style="background:blue;display:block;height:780px;z-index:0;"></div>
</a>

of course instead blue color use bg image for whole area.

And change this line
Code: Select all
<div id="gkPage" class="gkMain gkWrap" style="margin-top:-780px;">


I think 780px of height should be okey.
User avatar
Platinum Boarder

GK User
Thu Apr 24, 2014 8:42 pm
Thank you sooooooooo much! I'm going to try this tonight:)
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.