zegar911 Posted July 8, 2010 Posted July 8, 2010 Hi all, Is there anyway to change only right column box width, please help me out, as i can change width for all boxes but unable to change for either right of left side box, Thanks alot
Guest Posted July 8, 2010 Posted July 8, 2010 Hi Zegar, Find includes/application_top.php Under this line: // customization for the design layout define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) Add this line: // customization for the design layout define('BOX_WIDTH_RIGHT', 125); // change this to the width you would like your right column boxes In index.php find this near the bottom of the file: <!-- body_text_eof //--> <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 this: <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTHRIGHT; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> Keep in mind that the default setting in application_top.php CAN change if you load large images into your website that might appear in specials.php or whats_new.php Chris
zegar911 Posted July 8, 2010 Author Posted July 8, 2010 Hi Zegar, Find includes/application_top.php Under this line: // customization for the design layout define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) Add this line: // customization for the design layout define('BOX_WIDTH_RIGHT', 125); // change this to the width you would like your right column boxes In index.php find this near the bottom of the file: <!-- body_text_eof //--> <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 this: <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTHRIGHT; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> Keep in mind that the default setting in application_top.php CAN change if you load large images into your website that might appear in specials.php or whats_new.php Chris THANKS A LOT!, worked perfect, now i have wider category column in left and small right side column, thanks Chris have a wonder full day! Zegar
Recommended Posts
Archived
This topic is now archived and is closed to further replies.