Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

i've been trying to change this color for a few weeks but...


Guest

Recommended Posts

i still can't find it :(

 

it's the color in the catalog in, for instance "Categories" and you hover over the Image, and the text underneath changes from a black to a light blue....

 

also in the product listing, in the tables it changes to the same color, same with the headings of the columns

 

the names of the files (in live-view) are default.php and i can't seem to find them in any other files?

 

any help?

Link to comment
Share on other sites

minimerc,  

 

Go into stylesheet.css and edit the A:hover line to what you want the color to be. :)

 

-j

 

jason, thanks and that works great! but, the background color of my table heading is the same color as that link, so i think i need to go into the PHP file and edit it somehow.

Link to comment
Share on other sites

I see. I think it might be a stylesheet issue still. And I think you're right about having to go into the php code. I think the table's getting drawn from product_listings.php which is in the modules folder. I'm trying to find the correct spot for you, but it might take a bit.

 

Have you gotten this far already, or am I actually telling you something new? :)

 

-j

Link to comment
Share on other sites

I see.  I think it might be a stylesheet issue still.  And I think you're right about having to go into the php code.  I think the table's getting drawn from product_listings.php which is in the modules folder.  I'm trying to find the correct spot for you, but it might take a bit.

 

Have you gotten this far already, or am I actually telling you something new? :)

 

-j

 

i've been in the product_listings.php already, but i can't find where to change the A class :o

Link to comment
Share on other sites

ok, i've got it to here:

 

  $list_box_contents = array();

 $list_box_contents[] = array('params' => 'class="headerNavigation"');

 $cur_row = sizeof($list_box_contents) - 1;



 $cl_size = sizeof($column_list);

 for ($col=0; $col<$cl_size; $col++) {

   switch ($column_list[$col]) {

     case 'PRODUCT_LIST_MODEL':

       $lc_text = TABLE_HEADING_MODEL;

       $lc_align = 'left';

       break;

     case 'PRODUCT_LIST_NAME':

       $lc_text = TABLE_HEADING_PRODUCTS;

       $lc_align = 'left';

       break;

     case 'PRODUCT_LIST_MANUFACTURER':

       $lc_text = TABLE_HEADING_MANUFACTURER;

       $lc_align = 'left';

       break;

     case 'PRODUCT_LIST_PRICE':

       $lc_text = TABLE_HEADING_PRICE;

       $lc_align = 'right';

       break;

     case 'PRODUCT_LIST_QUANTITY':

       $lc_text = TABLE_HEADING_QUANTITY;

       $lc_align = 'right';

       break;

     case 'PRODUCT_LIST_WEIGHT':

       $lc_text = TABLE_HEADING_WEIGHT;

       $lc_align = 'right';

       break;

     case 'PRODUCT_LIST_IMAGE':

       $lc_text = TABLE_HEADING_IMAGE;

       $lc_align = 'center';

       break;

     case 'PRODUCT_LIST_BUY_NOW':

       $lc_text = TABLE_HEADING_BUY_NOW;

       $lc_align = 'center';

       break;

   }

 

but it's still perplexing me :(

Link to comment
Share on other sites

stylesheet.css

 

change the class for; productListing-heading

 

this is my stylesheet for productListing-heading

 

TR.productListing-heading {

background: #b6b7cb;

}

 

TD.productListing-heading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #9D0C0C;

font-color: #FFFFFF;

font-weight: bold;

font-variant: small-caps;

}

 

A.productListing-heading {

color: #FFFFFF;

}

 

A.productListing-heading:hover {

color: #FFFFFF;

}

 

and it still does not work

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...