WebDev22 Posted July 11, 2010 Share Posted July 11, 2010 I need to change the left column width to 140 but don't want the right column changed. I did a search on this and can only find solutions for changing both columns. I searched Google as well. Link to comment Share on other sites More sharing options...
WebDev22 Posted July 11, 2010 Author Share Posted July 11, 2010 To add to my post above, one option would be to make the change in application_top.php, changing both columns widths, and then removing the right column altogether. This would require putting the shopping cart box in the right side of the header. Link to comment Share on other sites More sharing options...
jhande Posted July 11, 2010 Share Posted July 11, 2010 Hey Brett, I remember seeing either here in the forums or in the knowledge base something discussing just what you want to do (left & right columns different widths). I think it dealt with making the change in the application_top.php From this: // customization for the design layout define('BOX_WIDTH', 228); // how wide the boxes should be in pixels (default: 125) To something like this: // customization for the design layout define('LEFT_BOX_WIDTH', 228; 'RIGHT_BOX_WIDTH', 100); // how wide the boxes should be in pixels (default: 125) Don't quote me on it though, my memory isn't that good. What did I eat for lunch again? - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2010 Share Posted July 11, 2010 Brett, Jim was partially correct with the edit to application_top.php.....but you also need change index.php and every other root file that calls the column_right.php If you want the left column to be 140px then change this line in application_top.php from: // customization for the design layout define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) to this: // customization for the design layout define('BOX_WIDTH', 140); // how wide the boxes should be in pixels (default: 125) and also add this line directly under it // customization for the design layout define('BOX_WIDTH_RIGHT', 125); // how wide the boxes should be in pixels (default: 125) then, in index.php and every other root file that calls the column_right.php change this: <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> to this: <td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> that's it. Chris Link to comment Share on other sites More sharing options...
zegar911 Posted July 12, 2010 Share Posted July 12, 2010 hi, how do i know that how many files i have to change, as i asked this question before and fix only in applic top, and in index.php, thanks,. Link to comment Share on other sites More sharing options...
jhande Posted July 13, 2010 Share Posted July 13, 2010 Thanks Chris for clearing that up! I thought I was missing something... - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
Guest Posted July 13, 2010 Share Posted July 13, 2010 Zegar, MOST of the files in the root directory contain this: <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> so you will have to change all of the files with the above code in them to: <td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> Chris Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2010 Share Posted July 29, 2010 Quick question here guys as I kind of have the same problem. Our categories were wrapping over to 2 lines so I made the change mentioned above to adjust the size of the left column, now they appear on one line. However the right column is now moving over off of the page. Any ideas on how I can fix this? You can see what I mean at http://reddevildistributing.com Thanks in advance! Todd Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2010 Share Posted July 29, 2010 Got it....just adjusted the left column down a little bit..... :-" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.