PHP_Newb Posted December 11, 2005 Posted December 11, 2005 Ok I have a question where and what is handling the "catagories" because when I click on catagories that have products within them I get a messy Large font and also its trying to place images in and I want to comment that out but can't find where its being called from See below. I want to reduce the size of the text and get rid of it trying to put an image in the top right Thanks in advance Chris
Guest Posted December 12, 2005 Posted December 12, 2005 I believe the font is handled on the stylesheet.css by the TD.pageHeading section. If there isn't a font-size: #px; line in that section, add one and play around with it until you get it right. The image is being passed into the cart via the page as it is listed in the root directory (catalog, store, httpdocs, etc.). If you do a search on the catalog/product_info.php page for example, you should be able to find something that looks like... <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> Comment that out and it should go away.
PHP_Newb Posted December 12, 2005 Author Posted December 12, 2005 I believe the font is handled on the stylesheet.css by the TD.pageHeading section. If there isn't a font-size: #px; line in that section, add one and play around with it until you get it right. The image is being passed into the cart via the page as it is listed in the root directory (catalog, store, httpdocs, etc.). If you do a search on the catalog/product_info.php page for example, you should be able to find something that looks like... <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> Comment that out and it should go away. Ahh ok Product Info page. I will look there. I did some work on it long ago and for the life of me couldnt work it out. I have sorted the Header font size by changing H1 styled to like 15px to get the size I need. Thanks for your help Chris
PHP_Newb Posted December 12, 2005 Author Posted December 12, 2005 Still can't get rid of the Image and also the annoying "Recent additions to Small Wonder Catalogue" which is the header of the "Latest Additions" info box but it wont go away even though in the homepage and subdirectories it isn't there. Any ideas anyone? I thought perhaps it was the catagories.php but I can't find what i'm looking for.
PHP_Newb Posted December 14, 2005 Author Posted December 14, 2005 I would but its on a local drive on my PC. :(
PHP_Newb Posted December 15, 2005 Author Posted December 15, 2005 Problem solved. new_products.php Commented out these lines and it stopped the New Products test and heading box from showing. <?php $info_box_contents = array(); //$info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B'))); //new contentBoxHeading($info_box_contents);
Recommended Posts
Archived
This topic is now archived and is closed to further replies.