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)
-   -   TD Tag and Classes (https://forum.x-cart.com/showthread.php?t=27078)

neaisha 12-03-2006 09:42 AM

TD Tag and Classes
 
Howdy,

I couldn't readily find an answer to this so....

I'm trying to follow the Template Editing Guide and use <td class=> vs the font tag.

Problem is, it never works for me :( For example in skin1.css, all I did was copy the Navigation Path section and change the name and color so it should work right.

When I call for the tag, I'm still getting the underline and purple font when a link has been visited.

<td class="SearchingPath"><a href="../home.php">Home</a></td>

<td class="SearchingPath">&nbsp;&nbsp;&nbsp;&nbsp;<a href="../help.php?section=FAQ">FAQ</a></td>

<td class="SearchingPath">&nbsp;&nbsp;&nbsp;<a href="../help.php?section=about">About Us</a></td>

Any ideeas?

neaisha 12-03-2006 09:52 AM

Re: TD Tag and Classes
 
And the skin1.css is



.SearchingPath {
COLOR: #ffffff;
FONT-WEIGHT: bold;
TEXT-DECORATION: none;
}.SearchingPath:link {


COLOR: #ffffff;
FONT-WEIGHT: bold;
TEXT-DECORATION: none;
}
.SearchingPath:visited {
COLOR: #ffffff;


FONT-WEIGHT: bold;
TEXT-DECORATION: none;
}
.SearchingPath:hover {
COLOR: #ffffff;
FONT-WEIGHT: bold;


TEXT-DECORATION: none;
}
.SearchingPath:active {
COLOR: #ffffff;
FONT-WEIGHT: bold;
TEXT-DECORATION:

none;
}

balinor 12-04-2006 03:09 AM

Re: TD Tag and Classes
 
You need to add the class to the link, not the TD. Like this:

<a href=xx.com" class="classname">link</a>

neaisha 12-04-2006 04:55 AM

Re: TD Tag and Classes
 
ohhhhh...it worked!

balinor u r truly the answerman. i can't wait till 4.1 becomes stable ;-)

thanks


All times are GMT -8. The time now is 07:24 PM.

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