I have been trying to modify our Locator to present different backgrounds based on the assigned rank for each result. Early attempts yielded no change, and more recent attempts yield no background. Here are the changes I've made so far:

in front_end_layout.css:
CODE
/* ranked locations background color */

table.results tr.rank_bg {background-color:#cccccc;}
table.results tr.rank4_bg {background-color:#cccccc;}
table.results tr.rank3_bg {background-color:#dddddd;}
table.results tr.rank2_bg {background-color:#eeeeee;}
table.results tr.rank1_bg {background-color:#ffffff;}


left the regular "rank_bg" class intact with the intention of making the change first, then going back and adding the different colors. At this point I suppose it can just go away.

in results_list_format.tpl:
CODE
<table class="results" width="{$RESULT_COLS}%" cellpadding="0" cellspacing="0" border="0" height="110px">
    <tr
    {if $location.pref eq '1'} class="rank1_bg"{/if}
    {if $location.pref eq '2'} class="rank2_bg"{/if}
    {if $location.pref eq '3'} class="rank3_bg"{/if}
    {if $location.pref eq '4'} class="rank4_bg"{/if}
    >
    <td valign="top" width="4%"><strong>{$location.display_number}</strong></td>


Is there something I am doing wrong, or additional step(s) I am missing?

Stephen M. Schaefer
Besa Lighting