Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Link on header/logo

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-05-2010, 11:07 PM
 
gezzam gezzam is offline
 

Advanced Member
  
Join Date: Jun 2010
Posts: 65
 

Default Link on header/logo

Hi All,

I seem to have lost the link on the logo of my site.

Have a look at http://216.144.234.43/shop/

I have made the logo go accross the whole site as a header, however I want to user to go back to home page if they click in any area of the header.

I have changed the code in the head.tpl file to

<div class="line1">
<div class="logo">
<a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/top_image.jpg" alt="" /></a>
</div>

And if you use the CSS inspector in forebug, the correct href link is there (see attached)

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	119
Size:	13.7 KB
ID:	2160  
__________________
XCart Gold
4.5.x and starting to deploy 4.6
Reply With Quote
  #2  
Old 11-05-2010, 11:50 PM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Link on header/logo

in my firebug the whole anchor tag is greyed out, and my view source doesn't seem to like the end tag of the image, have yu tried removing this? (the / at the end of the image) I know this isn't right but might just identify the issue,
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #3  
Old 11-06-2010, 12:54 AM
 
gezzam gezzam is offline
 

Advanced Member
  
Join Date: Jun 2010
Posts: 65
 

Default Re: Link on header/logo

Nope...no go

If this is any help, Ive changed the code on altskin.css to this

#header .line1 .logo {
background: url(images/top_image.jpg) no-repeat right top;
position: absolute;
left: 0px;
top: 20px;
height: 120px;
width: 780px;
margin: 0px;
padding: 0px;
}
__________________
XCart Gold
4.5.x and starting to deploy 4.6
Reply With Quote
  #4  
Old 11-06-2010, 11:26 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Link on header/logo

The image is grayed out in firebug because it is set to not display in your css:
altskin.css (line 794)

#header .line1 .logo img {
display:none;
}
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #5  
Old 11-06-2010, 12:58 PM
 
gezzam gezzam is offline
 

Advanced Member
  
Join Date: Jun 2010
Posts: 65
 

Default Re: Link on header/logo

Thanks for that....

All fixed...

Gerald
__________________
XCart Gold
4.5.x and starting to deploy 4.6
Reply With Quote
  #6  
Old 11-06-2010, 01:26 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Link on header/logo

You are welcome - but watch out for IE. You link will not extend over the entire image, which I believe was your original requirement. In IE - it is limited because of this:

#header .line1 .logo a img {
height:120px;
width:250px;
}

--
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:53 AM.

   

 
X-Cart forums © 2001-2020