Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Column Width


LoganY

Recommended Posts

Posted

My catagory names are too long and are being truncated to the next line.

 

I've tried making the left navigation column wider by adding width: 200px; to the inforBoxContents css class, but that messed up the boxes in the pages for the order process. I figure I could just change the value for the BOX_WIDTH variable in the pages where it's used but I don't know which pages these are.

 

Is there an easier way of dealing with this? The sooner I can get it finished, the better as my client wants to go live with the store on friday.

Posted
My catagory names are too long and are being truncated to the next line.

 

I've tried making the left navigation column wider by adding width: 200px; to the inforBoxContents css class, but that messed up the boxes in the pages for the order process. I figure I could just change the value for the BOX_WIDTH variable in the pages where it's used but I don't know which pages these are.

 

Is there an easier way of dealing with this? The sooner I can get it finished, the better as my client wants to go live with the store on friday.

 

 

hi logan.. first to change only the left or right column you will need to do a bit of work.

 

1st go in /catalog/include/application_top.php

 

find... define('BOX_WIDTH .......

 

you will copy the complete line below it.

 

after rename both of them like i do.

 

 

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

 

 

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

 

 

put the width you need in bith case.

 

AFTER that you have to go in ALL your files located in /catalog/*.php

 

find and replace every 'BOX_WIDTH' for 'BOX_WIDTH_l' for the left column and 'BOX_WIDTH_R' for the right cloumn. usually located somewhere at the top for the left one and at the bottom of file for the right one.

 

and that's it. now you can customize both collumn as you wish.

 

hope this help

 

sebastien

Archived

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

×
×
  • Create New...