This is a discussion on how do I increase the width of the info boxes ? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; which page do I edit ? At the moment my catagory links are too big to fit on 1 line, ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| which page do I edit ? At the moment my catagory links are too big to fit on 1 line, so i want to increase the width. thanx in advance |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Pls pls back up before you try anything The width of the boxes is defined by BOX_WIDTH variable in catalog/includes/application_top.php. Default is 125. Add this line below: define('BOX_WIDTH_LEFT', 150); Use whatever width you need in place of 150. Then go to main_page.tpl.php of the template that you are using: Search for : <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> Just above that there should be a line : <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> Replace both the BOX_WIDTH with BOX_WIDTH_LEFT It worked for me..... Hope this helps! |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Customization of info boxes | islander | osCMax v2 Customization/Mods | 6 | 03-05-2006 12:46 PM |
| how do i alter the width of the info boxes??? | tafkap | osCMax v2 Customization/Mods | 2 | 02-21-2006 01:26 AM |
| add extra image settings width height etc, any info? | fridgemags | osCMax v1.7 General Mods Discussion | 1 | 11-20-2004 08:03 PM |
| Changing Info Box width | DebbieG | osCMax v1.7 Discussion | 1 | 10-05-2003 06:21 PM |
| Adding outside links to info boxes | chardae | osCommerce 2.2 Modification Help | 2 | 11-15-2002 09:46 AM |