James Ecker Posted September 24, 2007 Posted September 24, 2007 I am wondering how to adjust the width of the left and right columns. I would like to do this without using html on each individual page. It looks like right now the values are being pulled in with php coding...but I've been unable to locate the definition for this. Thanks!
spax Posted September 24, 2007 Posted September 24, 2007 includes/application_top.php define('BOX_WIDTH', 125); Change 125 to what you require.
James Ecker Posted September 24, 2007 Author Posted September 24, 2007 Thank you so much!!! includes/application_top.php define('BOX_WIDTH', 125); Change 125 to what you require.
dessa Posted September 25, 2007 Posted September 25, 2007 if u want to have difrent Width to left/right column: (backup: application_top.php and index.php!) open: /includes/application_top.php find: // customization for the design layout define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) add afther it: // customization for the design layout left column define('BOX_WIDTH_LEFT', 'xxx'); // how wide the boxes should be in pixels (default: 125) // customization for the design layout right column define('BOX_WIDTH_RIGHT', 'xxx'); // how wide the boxes should be in pixels (default: 125) wher xxx = your custome width next go to index.php and find: <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> Replace whit: <td width="<?php echo BOX_WIDTH_LEFT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="2"> find: <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> replace whit: <td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="2"> credit: Dimitri's, HelleM, JoeyM http://www.oscommerce.com/community/contri...h,column+widths
Recommended Posts
Archived
This topic is now archived and is closed to further replies.