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

TD Tag and Classes

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-03-2006, 09:42 AM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default 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?
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #2  
Old 12-03-2006, 09:52 AM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default 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;
}
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #3  
Old 12-04-2006, 03:09 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 12-04-2006, 04:55 AM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Re: TD Tag and Classes

ohhhhh...it worked!

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

thanks
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:27 PM.

   

 
X-Cart forums © 2001-2020