kelly236 Posted June 10, 2010 Posted June 10, 2010 does anyone know how to remove the space and image holders between the header and the main body of the index, I would like to move my text and image up closer to the top of the page here in blue I have highlighted what I'd like to remove and bring my image and text up closer to the top Thanks for any help Kelly
knifeman Posted June 10, 2010 Posted June 10, 2010 does anyone know how to remove the space and image holders between the header and the main body of the index, I would like to move my text and image up closer to the top of the page here in blue I have highlighted what I'd like to remove and bring my image and text up closer to the top Thanks for any help Kelly If you right click the image and choose properties, it should say the name of the image. Most likely = table_background_default.gif In your index.php file, find that image and comment it out. The line looks like a HR In the same file somewhere right after the image you found will be a call for the line. It too can be deleted or commented out. If the line is not in index.php, it might be in the define of text_main in your includes/languages/english/index.php Tim
kelly236 Posted June 10, 2010 Author Posted June 10, 2010 If you right click the image and choose properties, it should say the name of the image. Most likely = table_background_default.gif In your index.php file, find that image and comment it out. The line looks like a HR In the same file somewhere right after the image you found will be a call for the line. It too can be deleted or commented out. If the line is not in index.php, it might be in the define of text_main in your includes/languages/english/index.php Tim Thank you but that really didn't help much, I'm still look anyone else have any suggestions, again thanks to all for your kind responses Kelly
NodsDorf Posted June 10, 2010 Posted June 10, 2010 The corner image in catalog/index.php find this <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> Change to this <!-- Remove Stupid Corner Image <td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> End Removal --> You can do the same for all other pages like, contact_us.php, shipping & returns ect.. The break line, I'd need to see the page to give you an idea where the code is being generated from.
knifeman Posted June 10, 2010 Posted June 10, 2010 Thank you but that really didn't help much, I'm still look anyone else have any suggestions, again thanks to all for your kind responses Kelly Find around line 344 in index.php <td align="right"><h1><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> </h1></td> and comment out the image like this: <td align="right"><h1><?php //echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> </h1></td> Then post the next few lines here and we will see if we can find the horizontal line. It may be in the language file so post both if you want. Tim Don, I guess we said the same thing. My DSL is crapping out today and it took forever to get this posted.
NodsDorf Posted June 10, 2010 Posted June 10, 2010 Don, I guess we said the same thing. My DSL is crapping out today and it took forever to get this posted. No problem Tim. I gave up on DSL 3 years ago. Cable is wonderful if you can get it in your area.
knifeman Posted June 10, 2010 Posted June 10, 2010 No problem Tim. I gave up on DSL 3 years ago. Cable is wonderful if you can get it in your area. We are pretty rural. Lucky to have electricity!
kelly236 Posted June 11, 2010 Author Posted June 11, 2010 you guys are the best, Thanks so much for taking the time to answer my post here are the next few lines of my index page, I commented out the customer greeting below, should I have removed that and if I do will it break it? Thanks again you guys are the best!! Kelly here is my code: </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><?php //echo tep_customer_greeting(); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> </table></td> </tr> </table></td> <?php } ?> <!-- body_text_eof //-->
kelly236 Posted June 11, 2010 Author Posted June 11, 2010 Thank you again for all your help and taking the time. Here is my language/english/index file; define('TEXT_MAIN', ''); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', ''); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', ''); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.