chessman Posted February 12, 2009 Share Posted February 12, 2009 I need to completely remove the right hand colum and increase the width of the center (thats the welcome page, new products etc) 100% to the right so takes up all the space where the right hand column used to be, but the left hand column remains untouched. Another thing I need to change is the spacing between category titles on left hand column, currently they look very squashed together. If possible would also like to add in horizontal lines between each category title as a seperator. Thanks in advance Link to comment Share on other sites More sharing options...
dickysolo Posted February 12, 2009 Share Posted February 12, 2009 I need to completely remove the right hand colum and increase the width of the center (thats the welcome page, new products etc) 100% to the right so takes up all the space where the right hand column used to be, but the left hand column remains untouched. In catalog/index.php find for the code <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> comment all. That will solve your first problem. Another thing I need to change is the spacing between category titles on left hand column, currently they look very squashed together. In catalog/includes/classes/boxes.php in around line 120 $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="20" valign=top class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="20" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="20" valign=top class="infoBoxHeading" nowrap', 'text' => $right_corner)); change to $info_box_contents = array(); $info_box_contents[] = array(array('params' => 'height="20" valign=top class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="20" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="20" valign=top class="infoBoxHeading" nowrap', 'text' => $right_corner)); If possible would also like to add in horizontal lines between each category title as a seperator. In catalog/includes/boxes/categories.php around line 74/75 find while ($categories = tep_db_fetch_array($categories_query)) { $tree[$categories['categories_id']] = array('name' => $categories['categories_name'], 'parent' => $categories['parent_id'], change it as while ($categories = tep_db_fetch_array($categories_query)) { $tree[$categories['categories_id']] = array('name' => '<hr>'.$categories['categories_name'], 'parent' => $categories['parent_id'], that's it :rolleyes: Link to comment Share on other sites More sharing options...
chessman Posted February 12, 2009 Author Share Posted February 12, 2009 thanks for that, i'll give it a go :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.