pHaL Posted March 23, 2006 Posted March 23, 2006 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
jasonabc Posted March 24, 2006 Posted March 24, 2006 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. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
pHaL Posted March 24, 2006 Author Posted March 24, 2006 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.