Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to make the box bigger on bath side ?


herby

Recommended Posts

Posted

I installed the latest verison of oscommerce . wondering how to make the boxs on bath side wider ? thanks

Posted

I installed the latest verison of oscommerce . wondering how to make the boxs on bath side wider ? thanks

 

Herby....Oscommerce uses a 24 grid system so make sure the total of the content and the two columns is equal to 24......the content size is by itself but when you change column it is actually x2 for adding purposes because of the left and right column.....it does not matter if you are using one, both, or none of the side columns.

Posted

Open your includes/classes/osc_template.php and find

 

class oscTemplate {

var $_title;

var $_blocks = array();

var $_grid_container_width = 24;

var $_grid_content_width = 16;

var $_grid_column_width = 4;

 

Try changing it to

 

class oscTemplate {

var $_title;

var $_blocks = array();

var $_grid_container_width = 24;

var $_grid_content_width = 14;

var $_grid_column_width = 5;

 

That should widen both left and right columns slightly. You must keep things adding up to 24. In the above example the centre width is 14 and the column widths are 2 x 5 as there are two columns. So 14+5+5=24. If you get this wrong the whole 960 grid will go all haywire. There are posts somewhere on these forums and also online on how to make each column a different width and I am sure they could be found with a quick search.

REMEMBER BACKUP, BACKUP AND BACKUP

Archived

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

×
×
  • Create New...