Geejee Posted January 15, 2007 Share Posted January 15, 2007 I have the boxes on the right column suddenly very wide, maybe 1000 pixels or so, no idea why, does anyone have an idea ? Thanks in advance !!! i tried this but didn't help: INSTRUCTIONS 1. Open catalog/includes/application_top.php 2. Find the line (around line 47) that reads // customization for the design layout define('BOX_WIDTH', 145); // how wide the boxes should be in pixels (default: 125) 3. after this, add the following lines .... // customization for the design layout left column define('BOX_WIDTH_LEFT', 165); // how wide the boxes should be in pixels (default: 125) // customization for the design layout right column define('BOX_WIDTH_RIGHT', 125); // how wide the boxes should be in pixels (default: 125) 6. (set your own width preferences (I have used 165 pixels for the left column and 125 pixels for the right) Save file 7. Now open the second file to edit: catalog/index.php 8. Find the first line to change at (around line 51) that reads <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> 9. REPLACE this line, with the following line .... <td width="<?php echo BOX_WIDTH_LEFT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="2"> 10. Find the second line to change at (around line 325) that reads <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> 11.REPLACE this line with the following line.... <td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="2"> 5. save the file and upload your 2 changed files to your active installation. Link to comment Share on other sites More sharing options...
dwalters Posted January 15, 2007 Share Posted January 15, 2007 Hi, I am not sure that there is something wrong with your coding as I am not very good with such things, but I was wondering if you might have changed your image settings in admin to a larger size. I know they can effect how large your columns display. Just a thought as you did not mention your site so we can not see what you are describing. Link to comment Share on other sites More sharing options...
usernamenone Posted January 15, 2007 Share Posted January 15, 2007 Your site URL so we can check your code and images, please. What mods have you done to your site when you noticed the width change? Link to comment Share on other sites More sharing options...
Geejee Posted January 16, 2007 Author Share Posted January 16, 2007 installed mods: NL_Taalpakket_v1.4.8 (dutch language) Remove Default Images tpgpost 2.4 zonesworld_v2 Infobox Skin Manager 2 buckaroo_v2 I hope you are not offended by the nature of the shop, it is a erotic toys shop: http://www.redrosesexshop.com/catalog/ :blush: Thanks a lot for wanting to help ! Link to comment Share on other sites More sharing options...
Guest Posted January 16, 2007 Share Posted January 16, 2007 you have an extra table declaration at the start of your left column - without a closing tag. Looks like a coding error - possibly in the skins module ? Link to comment Share on other sites More sharing options...
usernamenone Posted January 16, 2007 Share Posted January 16, 2007 I think you mean right? Link to comment Share on other sites More sharing options...
Geejee Posted January 17, 2007 Author Share Posted January 17, 2007 mmmm, it has been working fine with the skins module and still is on my local version. where should i look and what do i look for ? Link to comment Share on other sites More sharing options...
usernamenone Posted January 17, 2007 Share Posted January 17, 2007 You should replace all the right hand side boxes with the originals, then one by one replace them with you modified boxes until you find the one that is causing your issues. When you find the box check the code to make sure there are no errors. Link to comment Share on other sites More sharing options...
Geejee Posted January 22, 2007 Author Share Posted January 22, 2007 Found it ! (with the help of a fellow traveler) it must be a mistake that came with the mod infobox skins. it was the file catalog/includes/boxes_content/best_sellers.php it said somewhere $bestsellers_list = '<table border="0" width="1000" cellspacing="0" cellpadding="1" align="center">'; while ($best_sellers = tep_db_fetch_array($best_sellers_query)) { and i changed it to $bestsellers_list = '<table border="0" width="100%" cellspacing="0" cellpadding="1" align="center">'; while ($best_sellers = tep_db_fetch_array($best_sellers_query)) { the error was only getting active after there are some bestsellers to list. Hope someone else is happy finding this info at some point... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.