Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Centering middle part of shop.....


Guest

Recommended Posts

Hiya

 

Thanks ppls for helping me with centering the entire site. Now I want to get rid of the column right and centre the pages where it displays the main part of the site, i.e products, new products for january etc....

 

take a look to see what i mean:

 

CompuTek2000

 

Can this be done? if so how??

 

Thanks

 

Jub

Link to comment
Share on other sites

Couldn't you just empty the proper contents of column_right?

no as this does not remove the table structure

comment out the following lines and it should fix your problem

<!-- body_text_eof //-->
   <td width="<?php echo BOX_WIDTH; ?>" valign="top" class="column"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php include(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
   </table></td>

 

try using the program Actual Search and Replace...it can replace multiline text which is really usefull in this scenerio

 

good luck

Link to comment
Share on other sites

no as this does not remove the table structure

comment out the following lines and it should fix your problem

<!-- body_text_eof //-->
? ?<td width="<?php echo BOX_WIDTH; ?>" valign="top" class="column"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php include(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
? ?</table></td>

 

try using the program Actual Search and Replace...it can replace multiline text which is really usefull in this scenerio

 

good luck

 

So will I have to get rid of the above code in ALL the files in my /catalog/ directory?

 

Cheers

 

Jub

Link to comment
Share on other sites

So will I have to get rid of the above code in ALL the files in my /catalog/ directory?

 

Cheers

 

Jub

 

yes but it would be much safer to comment out the lines by using

<?php
/*

at the begining of the text and

*/ 
?>

at the end just incase you ever want to add column_right again it would be much easier

Link to comment
Share on other sites

yes but it would be much safer to comment out the lines by using

<?php
/*

at the begining of the text and

*/ 
?>

at the end just incase you ever want to add column_right again it would be much easier

 

Cheers, but I just thought of something..... If I get rid of column right then I would have to edit the files where notify a friend, review this item etc go.... that seems like to much work for me, ive just about been able to do what ive done on the site now! lol

 

Can someone take a look at my site at see what they think of it at the mo??

 

Be very grateful on any comments/suggestions.

 

CompuTek2000

 

Thanks

 

Jub

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...