Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Color settings


Manoil

Recommended Posts

Hi there! I cannot change the color for the categories names. It is black by default and I want it something else. I played with the css file for about two days but... no progress. I know it is something obvious but i need help here! I have installed Graphical Borders contribution. Thanks for the help :)

 

 

========

Manoil

Link to comment
Share on other sites

1) Open /includes/boxes/categories.php and change this line:

 

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';

 

to this:

 

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '" class="categories">';

 

2) Open your stylesheet.css file and add a 'categories' link class:

 

a.categories {font...color....size etc etc}

a.categories:hover {font...some other color color....size etc etc}

Link to comment
Share on other sites

I know it sounds easier than it is but why can't you simply change your "boxes" color straight from the stylesheet already?

I mean you added the class in the categories.php but in fact, where do they set the color by default?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...