Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adjusting left/right column width


Guest

Recommended Posts

Posted

Is there a way to adjust the left and right column width?

 

I basically commented out the entire columns, but they are still taking up x amount of width, pushing the main body awkardly depending on the resolution of the screen.

Posted

edit includes/application_top.php and look for..

 

// customization for the design layout

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

Posted

Well on every page you will see that thre is a space alocated for the column_right and the column_Left

 

so you wil have to go to the targeted page. but the lines you are looking for are

 

<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>

 

 

and

 

<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 //-->

</table>

 

 

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

at the end of the day the code will be good

Posted
Well on every page you will see that thre is a space alocated for the column_right and the column_Left

 

so you wil have to go to the targeted page. but the lines you are looking for are

 

<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>

and

 

<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 //-->

</table>

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

 

 

Awsome, thank you guys, fixed it.

Archived

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

×
×
  • Create New...