[email protected] Posted May 29, 2003 Posted May 29, 2003 but.... wouldn't it be nice if there were a gui template that identified all of the edits in the stylesheet, not to mention the rest of the php files; a web page that showed each line of code and which file it was in. Sure, we can all figure this out through trial and error, but, for example, I am not able to find the text color that makes this page show black text on a dark blue backgtound: https://secure.progesterone.com/web_store/d...lt.php?cPath=39 and if you look at the stylesheet, you have clues, but what a time saver a template or even a list would be: ========================== TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd { background: #F0F0FF;<!--ddddff--> } TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even { background: #ffffff; } TR.productListing-heading { background: #0000CC;<!--d2e9fb--> } TD.productListing-heading { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #FFFFFF; background: #0000CC; font-weight: bold; font-variant: small-caps; } TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FFFFFF; } A.pageResults { color: #FFFFFF; } A.pageResults:hover { color: #EC00EC; background: #FFFF33; } TD.pageHeading, DIV.pageHeading { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #8079FF; } TR.subBar { background: #f4f7fd; } TD.subBar { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FFFFFF; ============================ David
♥olby Posted May 29, 2003 Posted May 29, 2003 Hi david. Looking at your source-code in the browser, gives you this line: <td align="right" class="productListing-heading"> <a href="https://secure.progesterone.com/web_store/default.php?cPath=39&page=1&sort=1a&osCsid=7652032e79ea1da15057411a29c82be6" title="Sort products ascendingly by Weight">Weight</a> </td> saying that you have to make changes in stylesheet.css in the productListing-heading class. HTH Best Regards olby
[email protected] Posted May 30, 2003 Author Posted May 30, 2003 Hi Olby, Thanks for the suggestion, which I implemented. All it changed was the "Buy Now" text. https://secure.progesterone.com/web_store/d...lt.php?cPath=21 David
♥olby Posted May 30, 2003 Posted May 30, 2003 Hi david. Tricky isn't it ;) It's using the link-color, but instead of changing the link-colors site-wide, you could open: catalog/includes/modules/product_listing.php Here you'll find these lines: switch ($column_list[$col]) { case 'PRODUCT_LIST_MODEL': $lc_text = TABLE_HEADING_MODEL; $lc_align = ''; break; One case for each selectable field. Change the above to this: switch ($column_list[$col]) { case 'PRODUCT_LIST_MODEL': $lc_text = '<font color=white>' . TABLE_HEADING_MODEL; $lc_align = ''; break; HTH Best Regards olby
Recommended Posts
Archived
This topic is now archived and is closed to further replies.