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

Advanced Search text color CSS to change?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-22-2005, 03:02 PM
 
groovedis groovedis is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 52
 

Default Advanced Search text color CSS to change?

Hello. I'm having a horrible time finding the correct CSS to modify in order to change the color of the Advanced Search link. Anyone know where this is located?
__________________
X-Cart version 4.0.13 (unix)
Reply With Quote
  #2  
Old 08-22-2005, 05:21 PM
 
balinor balinor is offline
 

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

Default

Take a look at customer/search.tpl and that will show you how that text is formatted.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-07-2005, 03:03 PM
 
groovedis groovedis is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 52
 

Default

this doesn't work either.. please help me!

here's my search.tpl

Code:
{* $Id: search.tpl,v 1.6.2.2 2004/11/29 14:00:59 svowl Exp $ *} <TABLE border="0" cellpadding="0" cellspacing="0"> <FORM method="POST" action="search.php" name="productsearchform"> <INPUT type="hidden" name="simple_search" value="Y"> <INPUT type="hidden" name="mode" value="search"> <INPUT type="hidden" name="posted_data[by_title]" value="Y"> <INPUT type="hidden" name="posted_data[by_shortdescr]" value="Y"> <INPUT type="hidden" name="posted_data[by_fulldescr]" value="Y"> <TR> <TD width="20"></TD> <TD class="TopLabel">{$lng.lbl_search}:</TD> <TD valign="middle"> <INPUT type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}"> </TD> <TD valign="middle"> {include file="buttons/search_head.tpl"} </TD> <TD width="20"></TD> <TD class"AdvSearch"><U>{$lng.lbl_advanced_search}</U></TD> </TR> </FORM> </TABLE>

and corresponding skin1.css

Code:
.AdvSearch:link { COLOR: #fff; } .AdvSearch:visited { COLOR: #fff; } .AdvSearch:hover { COLOR: #fff; } .AdvSearch:active { COLOR: #fff; }

this css seems to do absolutely nothing. the advanced search link does not appear white like i want it to. it's still the default link color.
__________________
X-Cart version 4.0.13 (unix)
Reply With Quote
  #4  
Old 11-07-2005, 03:06 PM
 
balinor balinor is offline
 

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

Default

That's because you need to include the class in the link, not the table:

<TD><U>{$lng.lbl_advanced_search}</U></TD>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-07-2005, 03:14 PM
 
groovedis groovedis is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 52
 

Default

thanks balinor for the quick reply!! it works.
__________________
X-Cart version 4.0.13 (unix)
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 02:35 AM.

   

 
X-Cart forums © 2001-2020