Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Boxes width


brahms2

Recommended Posts

Hello everyone....

 

Maybe anyone knows how to modify (to enlarge) the width of the left (categories box) and right boxes (Shopping cart) present on the main page?

 

Many thanks in advance

Theo

Link to comment
Share on other sites

Hello everyone....

 

Maybe anyone knows how to modify (to enlarge) the width of the left (categories box) and right boxes (Shopping cart) present on the main page?

 

Many thanks in advance

Theo

 

try going into your css and find a tag that looks something like this...

 

.infoBoxContents

 

to the information that is already there underneath it add in

 

width : yourwidthpx;

 

that should work for you

Link to comment
Share on other sites

That's not the only thing. In application_top.php, note the following line:

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

 

Change this value. If you want to have different widths for your left and right sides, try something like this:

  define('BOX_WIDTH_LEFT', 250); // how wide the boxes should be in pixels (default: 125)
 define('BOX_WIDTH_RIGHT', 150); // how wide the boxes should be in pixels (default: 125)

You'd then want to go through most of the .php files in the your "catalog" directory and change the BOX_WIDTH calls in the left and right columns to be BOX_WIDTH_LEFT and BOX_WIDTH_RIGHT, respectively.

 

-jared

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...