Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Column right width


madyson3

Recommended Posts

Posted

I've searched everywhere, but can't figure it out. Thanks.

See you on the dark side,

Kristy

 

I'm just a girl living in captivity

Your rules of thumb makes me worrisome

Posted

the way that needs to be done is in the php files in the "catalog" top-level folder, such as index.php. When the script calls "column_left" and "column_right", it makes a new cell and a table within that cell, both with the width that has been set previously. start with index.php and change the width of the column you want from the infobox variable width to a static width that you define. You'll have to copy this change from index.php into all the other php files in the top-level catalog folder.

Posted

I don't see an infobox width variable.

See you on the dark side,

Kristy

 

I'm just a girl living in captivity

Your rules of thumb makes me worrisome

Posted

Open includes/application_top.php and find this on line 58:

 

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

 

Change the 120 to the pixel width you want your side boxes to be. No need to go into any other files to change the widths.

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ

Posted

However, changing the BOX_WIDTH will effect both left and right boxes. You'll either need to do what hobbyhen said above or maybe set up a seperate DEFINE for the right side boxes.

 

HTH

Tom

Archived

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

×
×
  • Create New...