EZPA55 Posted October 9, 2007 Share Posted October 9, 2007 The link: http://www.jigsawrugs.com/catalog/index.php?cPath=22 You will see the design name of each product is a link and in white, like the lists to the left. I need to change it to black. I can think of a few solutions. One would be to specify the link within the stylesheet.css, problem here is i'm not sure it's path. The other would be to just change the text to static rather than a link in turn taking on the default color (black). Again problem being I'm not sure where that specific code is located. Some direction/guidance would be very helpful. Thanks for the help Link to comment Share on other sites More sharing options...
Guest Posted October 9, 2007 Share Posted October 9, 2007 In your stylesheet you will need to add a NEW a class such as .newclass a { color: black; } Then add the "newclass" class to the link that you want to change the color for. Link to comment Share on other sites More sharing options...
EZPA55 Posted October 9, 2007 Author Share Posted October 9, 2007 In your stylesheet you will need to add a NEW a class such as .newclass a { color: black; } Then add the "newclass" class to the link that you want to change the color for. Yea I understand the css class, the problem is the product list is generated with the php. I'm not sure where to add the new class. Link to comment Share on other sites More sharing options...
Guest Posted October 9, 2007 Share Posted October 9, 2007 My site is modified a long time ago so I think it is in catalog/includes/product_listing.php. Look for case 'PRODUCT_LIST_MANUFACTURER': $lc_align = ''; $lc_text = ' <a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing[$x]['manufacturers_id']) . '">' . $listing[$x]['manufacturers_name'] . '</a> '; break; If I am right you will want to add the class just after the <a. <a class="newclass" Link to comment Share on other sites More sharing options...
usernamenone Posted October 9, 2007 Share Posted October 9, 2007 In your style sheet find .infoBox { background:none; padding:0; margin:0; /*border:1px solid black;*/ } and below that add this .infoBox a { color: #000; } Link to comment Share on other sites More sharing options...
EZPA55 Posted October 9, 2007 Author Share Posted October 9, 2007 My site is modified a long time ago so I think it is in catalog/includes/product_listing.php. Look for case 'PRODUCT_LIST_MANUFACTURER': $lc_align = ''; $lc_text = ' <a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing[$x]['manufacturers_id']) . '">' . $listing[$x]['manufacturers_name'] . '</a> '; break; If I am right you will want to add the class just after the <a. <a class="newclass" THANKS Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.