How to Change the Column Widths
In case you would like to adjust the widths of the column, it might be required to edit values for specific variables. For this reason, you will need to open osCommerce template file and edit specific variables to meet our requirements.
Open file “includes/classes/osc_template.php” for editing and locate the following lines.
1 2 3
var $_grid_container_width = 24; var $_grid_content_width = 16; var $_grid_column_width = 4;
By default it will have such values set as shown above. In order to change the column widths, you should simply increase or decrease values for the provided variables. As shown in the variables, you are able to change widths for the container, content, and column. By playing with those variables, we can adjust column widths and new settings will be applied for the website.