Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Width of Right Column


Guest

Recommended Posts

I need to change the width of the right column to make it smaller or even remove it completly.

 

I have already removed all the boxes in it but the column itself is still there. I know this because any text stops about 150 pix from the right.

 

Is there a similar line to this one that needs to be changed? if so, I can't see it anywhere.

 

// customization for the design layout

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

 

 

Thanks,

 

Eoin

Link to comment
Share on other sites

Looking at the HTML source for your product_info.php, this code:

 

<!-- body_text_eof //-->
<td width="170" valign="top"><table border="0" width="170" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<!-- right_navigation_eof //-->
</table></td>

Would probably need altered to something like this:

 

<!-- body_text_eof //-->
<!-- remove right column remnant 03/12/08
<td width="170" valign="top"><table border="0" width="170" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<!-- right_navigation_eof //-->
</table></td>
//-->

Any other page with the same problem would need a simliar edit

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

I need to change the width of the right column to make it smaller or even remove it completly.

 

I have already removed all the boxes in it but the column itself is still there. I know this because any text stops about 150 pix from the right.

 

Is there a similar line to this one that needs to be changed? if so, I can't see it anywhere.

 

// customization for the design layout

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

Thanks,

 

Eoin

Each file has a table that holds the right column. Even though you empty the right column file, that table will still take up space. You need to remove the code for that table in each file in the root that is used for display to elimiate that.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...