X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Links look funky... take a peek, please. (https://forum.x-cart.com/showthread.php?t=38485)

ScrapProfessor 03-20-2008 09:35 PM

Links look funky... take a peek, please.
 
Hi all!

I'm having a weird thing happen to the links in the 'location' navigational system. If you look at the following page on my website, and put your mouse over the 'location' area you'll see what the links do. It's weird. I don't know why it's doing it but I don't like it. Can anyone tell me how to fix it?

http://www.scrapprofessor.com/store/product.php?productid=1001&cat=0&page=1

When I run in 'webmaster mode' I can see that the template for this is the location.tpl.

Here is the code that's in my "location.tpl" file. Is something wrong with it? I've restored to the original version and the problem is still there.

Code:


{* $Id: location.tpl,v 1.14.2.2 2007/06/18 11:42:03 max Exp $ *}
{if $location}
<font class="NavigationPath">
{strip}
{section name=position loop=$location}
{if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if}
{$location[position].0}
{if $location[position].1 ne "" }</a>{/if}
{if not %position.last%}&nbsp;::&nbsp;{/if}
{/section}
{/strip}
</font>
<br /><br />
{/if}


Yurij 03-21-2008 12:45 AM

Re: Links look funky... take a peek, please.
 
Quote:

Originally Posted by ScrapProfessor
Hi all!

I'm having a weird thing happen to the links in the 'location' navigational system. If you look at the following page on my website, and put your mouse over the 'location' area you'll see what the links do. It's weird. I don't know why it's doing it but I don't like it. Can anyone tell me how to fix it?

http://www.scrapprofessor.com/store/product.php?productid=1001&cat=0&page=1

When I run in 'webmaster mode' I can see that the template for this is the location.tpl.



First, I do not know how you get on, but it's not good (multiple tags <HTML>, <BODY> ...):
PHP Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html>
<
head>
<
title>
............
<
html>
<
head>
    <
title></title>
<
meta content="Microsoft FrontPage 4.0" name="GENERATOR">
</
head>
<
body>
<
table cellspacing="0" cellpadding="0" width="100%">
.................
        </
tbody>
    </
table>
</
body>
</
html>
............. 

I think that you are not properly set the description of the categories / products.

Fix it And all work.

PS. Problem in a left banner block delete the following lines and everything will be all right:
PHP Code:

<html>
<
head>
 <
title></title>
<
meta content="Microsoft FrontPage 4.0" name="GENERATOR">
</
head>
<
body>

.....and.....

</
body>
</
html


ScrapProfessor 03-21-2008 08:56 AM

Re: Links look funky... take a peek, please.
 
Quote:

Originally Posted by Yurij

I think that you are not properly set the description of the categories / products.

Fix it And all work.


Yurij, thanks for your reply, as usual!

What do you mean by "Not properly set teh descriptoin of the categories/products"? How do I fix it?

I removed the additional tags like you instructed. (Told you I was tired in another post! LOL)

Again, thank you for your help! O:)

ScrapProfessor 03-22-2008 12:56 PM

Re: Links look funky... take a peek, please.
 
Yurij,

Can you please tell me what you meant by "I think that you are not properly set the description of the categories / products. Fix it And all work."

Thank you for your time! :)

kube 03-22-2008 01:22 PM

Re: Links look funky... take a peek, please.
 
If you're referring to your breadcrumb's location line...

Just comment out the lines...
<font class="NavigationPath">

and also it's closing tag too...
</font>

the CSS is referring to your NavigationPath class twice, both from within the <FONT> and inside the <A> tags... causing a conflict (it's actually working as requested).

Best to rid FONT tags as they're deprecated.

Hope this helps.
Doms

ScrapProfessor 03-22-2008 01:34 PM

Re: Links look funky... take a peek, please.
 
Quote:

Originally Posted by kube
If you're referring to your breadcrumb's location line...

Just comment out the lines...
<font class="NavigationPath">

and also it's closing tag too...
</font>

the CSS is referring to your NavigationPath class twice, both from within the <FONT> and inside the <A> tags... causing a conflict (it's actually working as requested).

Best to rid FONT tags as they're deprecated.

Hope this helps.
Doms


THANK YOU! That did the trick! I'm going to work on the FONT tags now because I think you're right about them.

I REALLY appreciate your time!!!


All times are GMT -8. The time now is 02:12 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.