Guest Posted July 13, 2005 Share Posted July 13, 2005 Does anyone know where in the stylesheet.css code to change the background of the infobox for "New Products" on the Main Page to white? (#FFFFFF) and also "Product Name" (which comes up after you click on any of the Categories in the infobox on the Main Page) to white also? I want to keep the left and right infoboxes on my main pages and all my other pages green, but I want any infoboxes in the middle to have a white background for easier reading (i.e. New products) I tried to edit the file and change different heading to #FFFFFF, but could not find the right code to change. This is the code: /* $Id: stylesheet.css,v 1.56 2003/06/30 20:04:02 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ .boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #ffb3b5; font-weight: bold; } .stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; } .productsNotifications { background: #f2fff7; } .orderEdit { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; } BODY { background: #ffffff; color: #000000; margin: 0px; } A { color: #000000; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; } FORM { display: inline; } TR.header { background: #ffffff; } TR.headerNavigation { background: #66CC66; } TD.headerNavigation { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #009900; color: #ffffff; font-weight : bold; } A.headerNavigation { color: #FFFFFF; } A.headerNavigation:hover { color: #ffffff; } TR.headerError { background: #ff0000; } TD.headerError { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #ff0000; color: #ffffff; font-weight : bold; text-align : center; } TR.headerInfo { background: #00ff00; } TD.headerInfo { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; background: #00ff00; color: #ffffff; font-weight: bold; text-align: center; } TR.footer { background: #66CC66; } TD.footer { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #009900; color: #ffffff; font-weight: bold; } .infoBox { background: #66CC66; } .infoBoxContents { background: #CCFFCC; font-family: Verdana, Arial, sans-serif; font-size: 10px; } .infoBoxNotice { background: #FF8E90; } .infoBoxNoticeContents { background: #FFE6E6; font-family: Verdana, Arial, sans-serif; font-size: 10px; } TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #66CC66; color: #ffffff; } TD.infoBox, SPAN.infoBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } TR.upcomingProducts-odd{ background: #CCFFCC; } TR.upcomingProducts-even{ background: #CCFFCC; } TABLE.productListing { border: 1px; border-style: solid; border-color: #66CC66; border-spacing: 1px; } .productListing-heading { font-family: Verdana, Arial, sans-serif; font-size: 10px; background: #66CC66; color: #FFFFFF; font-weight: bold; } TD.productListing-data { font-family: Verdana, Arial, sans-serif; font-size: 10px; } A.pageResults { color: #0000FF; } A.pageResults:hover { color: #0000FF; background: #FFFF33; } TD.pageHeading{ font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #336699; } TR.subBar { background: #CCFFCC; } TD.subBar { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; } TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } TD.accountCategory { font-family: Verdana, Arial, sans-serif; font-size: 13px; color: #aabbdd; } TD.fieldKey { font-family: Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } TD.fieldValue { font-family: Verdana, Arial, sans-serif; font-size: 12px; } TD.tableHeading { font-family: Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } SPAN.newItemInCart { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; } CHECKBOX, INPUT, RADIO, SELECT { font-family: Verdana, Arial, sans-serif; font-size: 11px; } TEXTAREA { width: 100%; font-family: Verdana, Arial, sans-serif; font-size: 11px; } SPAN.greetUser { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #f0a480; font-weight: bold; } TABLE.formArea { background: #CCFFCC; border-color: #7b9ebd; border-style: solid; border-width: 1px; } TD.formAreaTitle { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; } SPAN.markProductOutOfStock { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; color: #c76170; font-weight: bold; } SPAN.productSpecialPrice { font-family: Verdana, Arial, sans-serif; color: #ff0000; } SPAN.errorText { font-family: Verdana, Arial, sans-serif; color: #ff0000; } .moduleRow { } .moduleRowOver { background-color: #CCFFCC; cursor: pointer; cursor: hand; } .moduleRowSelected { background-color: #CCFFCC; } .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #336699; } .checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; } /* message box */ .messageBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #ffb3b5; } .messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; } /* input requirement */ .inputRequirement { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; } TR.accountHistory-even { background: #CCFFCC; } TR.accountHistory-odd { background: #CCFFCC; } TR.addressBook-even { background: #CCFFCC; } TR.addressBook-odd { background: #CCFFCC; } TR.alsoPurchased-even { background: #CCFFCC; } TR.alsoPurchased-odd { background: #CCFFCC; } TR.payment-even { background: #CCFFCC; } TR.payment-odd { background: #CCFFCC; } TR.productListing-even { background: #CCFFCC; } TR.productListing-odd { background: #CCFFCC; } TR.productReviews-even { background: #CCFFCC; } TR.productReviews-odd { background: #CCFFCC; } TR.shippingOptions-even { background: #CCFFCC; } TR.shippingOptions-odd { background: #CCFFCC; } .checkoutBarFrom { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #336699; } DIV.pageHeading { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #336699; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.