Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

styling category links... where?


pHaL

Recommended Posts

Posted

hi there...

 

my cathegory links and images are getting underlined because of the global link 'text-decoration: underline' in css...

now I want to add a class to those links and remove the underline stuff with css... but I can't find where the links are generated :(

 

can someone help me with this ?

 

 

thanx

pHaL

Posted

The file you require is /catalog/includes/boxes/categories.php. Find this line of code:

 

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

 

and replace with this:

 

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

 

change 'someClass' to whatever CSS style you like, then create that class in your stylesheet.

Posted

tried it and the file you suggested didn't do the trick... my fault though because I didn't say I meant the links on the main page and not the side boxes...

 

BUT... thanx to yer reply I did find the right stuff to change... was in the index.php... so it's all working fine now!

 

thanx !

 

 

pHaL

Archived

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

×
×
  • Create New...