Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

making left column wider


Knife

Recommended Posts

Hi Guys,

 

I've been strugling for some hours to get the left column wider, so there is now wrapping in my long category names, until now... noc succces :(

 

Anyone a tip ?

 

thanks in advance, greetz,

Link to comment
Share on other sites

One way would be to open catalog/includes/application top and look for

// customization for the design layout
 define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125

change that to

// customization for the design layout
 define('BOX_WIDTH', 150); // how wide the boxes should be in pixels (default: 125
 define('BOX_WIDTH_LEFT', 125); // how wide the boxes should be in pixels (default: 125

Change the 125 to whatever you want for the left column

 

Then open all of the main files in your catalog folder and look for

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->

and change it to

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
   <td width="<?php echo BOX_WIDTH_LEFT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...