Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Box Width


rocketman3291

Recommended Posts

Posted

Hello Everyone :-)

 

I've been searching for like a week now and still have had no luck in finding a way to increase the width of the Category Box as displayed at the root page of the catalog. I've been using Adobe Dreamweaver and I can see that it's got something to do with

 

    <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

I edited the index.php file found @ /catalog/index.php, but I had to revert to the backup several times.

 

Also, Changes I have made to this page seem to only affect the output when shown after a category has been clicked

(http://www.blahblah.com/catalog/index.php?cPath=73)

 

Basically what my problem is: My category names are too long and are being wrapped around the box. I'm thinking if I can widen this box up a bit then this confusing display will be cleared up.

 

any suggestion would be appreciated, Thanks !

Posted

The column right and column left box widths can be change on this page:

catalog/includes/application_top.php Line 58

 

// customization for the design layout

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

Lloyd

Posted

Thank you SOOO much ! Now I can stop pulling out my hair. I'm a bit rusty on my programming, and I never did learn PHP. I've been wondering when I would take up a new language. I guess application_top.php is a good place to start examing code. Any good reference materials I should download or purchase?

Posted
Thank you SOOO much ! Now I can stop pulling out my hair. I'm a bit rusty on my programming, and I never did learn PHP. I've been wondering when I would take up a new language. I guess application_top.php is a good place to start examing code. Any good reference materials I should download or purchase?

Just look in the Tips and Tricks forum.

Archived

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

×
×
  • Create New...