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)
-   -   Advanced Search text color CSS to change? (https://forum.x-cart.com/showthread.php?t=16090)

groovedis 08-22-2005 03:02 PM

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?

balinor 08-22-2005 05:21 PM

Take a look at customer/search.tpl and that will show you how that text is formatted.

groovedis 11-07-2005 03:03 PM

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.

balinor 11-07-2005 03:06 PM

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

<TD><U>{$lng.lbl_advanced_search}</U></TD>

groovedis 11-07-2005 03:14 PM

thanks balinor for the quick reply!! it works. :D


All times are GMT -8. The time now is 07:05 AM.

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