Guest Posted October 29, 2006 Posted October 29, 2006 I cannot find the .css styles for these two boxes. They are not connected with my regular infoboxes, and i couldn't find anything with product listing. Where should I be looking? what i mean can be seen here: http://idolsandemissaries.com/goodbaduglyn...;products_id=34
njtermite Posted October 29, 2006 Posted October 29, 2006 Hello, Are you talking about were it says ?This product was added to our catalog on Tuesday 17 October, 2006.? If so TD.smallText, SPAN.smallText, P.smallText (line 193) in the stylesheet.css controls that color, also to change the background color you?ll need to add the background code to the css example.. TD.smallText, SPAN.smallText, P.smallText { background: #000000; font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #496576; Cheers, Mark
Guest Posted October 29, 2006 Posted October 29, 2006 Hello,Are you talking about were it says ?This product was added to our catalog on Tuesday 17 October, 2006.? If so TD.smallText, SPAN.smallText, P.smallText (line 193) in the stylesheet.css controls that color, also to change the background color you?ll need to add the background code to the css example.. TD.smallText, SPAN.smallText, P.smallText { background: #000000; font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #496576; Cheers, Mark Hey, I was talking about the 'New Products for October' box, that displays three products new for the month. (usually on the main page) it has a 1px border with a color that I would have selected somewhere in my style shit, plus info box corners, but doesnt appear to be a regular infobox, as it doesnt share the same background color as my other infoboxes. It also happened to my cross sell box. I looked to see what class applies to them, but I couldnt find it.
Guest Posted October 30, 2006 Posted October 30, 2006 Hey, I was talking about the 'New Products for October' box, that displays three products new for the month. (usually on the main page) it has a 1px border with a color that I would have selected somewhere in my style shit, plus info box corners, but doesnt appear to be a regular infobox, as it doesnt share the same background color as my other infoboxes. It also happened to my cross sell box. I looked to see what class applies to them, but I couldnt find it. i meant style sheet!, not style shit.. but all the same, any ideas on how to help?!?!
desidil4ever Posted October 30, 2006 Posted October 30, 2006 Liked ur site...its pretty nice...one thing I would recommend is taking the search box right underneath the logo image. As for your problem: You can define your productsnew or any other boxes in the following way...3 step thingy...but comes in handy for individual alternations 1st in includes/classes/boxes.php Add the following code....you can add few minor custom changes here. class ProductsNewBox extends tableBox{ function ProductsNewBox($contents) { $this->table_parameters = 'class="ProductsNewBox"'; $this->tableBox($contents, true); } } class ProductsNewBoxHeading extends tableBox { function ProductsNewBoxHeading($contents) { $this->table_width = '100%'; $this->table_cellpadding = '3'; $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="14" class="ProductsNewBoxHeading"', 'text' => $contents[0]['text'])); $this->tableBox($info_box_contents, true); } } 2nd in includes/modules/new_products.php in ur case....can use for individual box files as well change new infoBoxHeading($info_box_contents, false, true); to new ProductsNewBoxHeading($info_box_contents, false, true); and new infoBox($info_box_contents); to new ProductsNewBox($info_box_contents); 3rd and last would be adding individual styles in stylesheets.css .ProductsNewBox { background: #ec9812; text: #ffffff; font-family: Verdana, Arial, sans-serif; font-size: 10px; } a.ProductsNew, a.ProductsNew:hover { color: white; font-family: Verdana, Arial, sans-serif; font-size: 10px; } .ProductsNewBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 12px; background: #70a316; color: #FFFFFF; font-weight: bold; padding-bottom: 10px; text-align:center; } If you noticed...I added individual style for <A> tag as well. Hopefully it helps:) 1 kool thing I have realized is going through the code through "View Source" you learn quickly and see what the various boxes or other things do in the end...just a tip:) Simple Add-ons Please add simple plain tips here for others.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.