Guest Posted June 11, 2005 Posted June 11, 2005 Hi Im trying to make the left side boxes wider than the right side boxes, can anyone suggest how to do this?
Jumping Rabbit Posted June 12, 2005 Posted June 12, 2005 Hi Im trying to make the left side boxes wider than the right side boxes, can anyone suggest how to do this? <{POST_SNAPBACK}> 1. Find this line in includes/application_top.php define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) Change it too: define('BOX_WIDTH_LEFT', 125); // how wide the left boxes should be in pixels (default: 125) define('BOX_WIDTH_RIGHT', 125); // how wide the right boxes should be in pixels (default: 125) 2. Now you will have to do the following changes in about each and every .php file in your main folder: First find the first instance of this: <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> Change it to: <td width="<?php echo BOX_WIDTH_LEFT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="2"> Then find the second instance of: <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> and change it to: <td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="2"> After you have done this you can controll the column widts from includes/application_top.php For instance, this would give you a left column of 125 px and a right column of 165 px: define('BOX_WIDTH_LEFT', 125); // how wide the left boxes should be in pixels (default: 125) define('BOX_WIDTH_RIGHT', 165); // how wide the right boxes should be in pixels (default: 125) Faster Checkout - osCommerce Knowledge Base - Anyone meet offline?, Has anyone of you cyberkids meet offline? For newbees do atleast read this 4 points: Basic info - Search tips and help - Posting tips and help - Basics for Design
Guest Posted June 21, 2005 Posted June 21, 2005 I was hoping it would be a little more simple but cheers for that, works like a charm :)
Guest Posted July 8, 2005 Posted July 8, 2005 It took a bit to go edit every page, but now that it's done life is good! Thanks for the programming tip. :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.