salnick Posted December 7, 2008 Share Posted December 7, 2008 I would like to make my info boxes on the left only and delete the right column. How do I change the width of the right column to 0 and extend the center column to float to the right? In other words I would like a 2 column page that is not a fixed center width. Salnick Link to comment Share on other sites More sharing options...
germ Posted December 7, 2008 Share Posted December 7, 2008 The width is set in /catalog/includes/applicaton_top.php // customization for the design layout define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) To remove the right column change this code: <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> Change it to: <?php if ( false ) { ?> <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> <?php } ?> If you ever want it back all you have to do is change false to true. You have to do this change on each page you wish to remove the right column from. Make a backup before editing anything. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
germ Posted December 7, 2008 Share Posted December 7, 2008 There is a contribution to do this: Right and Left Column Control If you'd rather go that route. I haven't tried it, but the author is "worth his salt" with regards to programming, IMHO. ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.