Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Spacing between infoboxes


digitalgod

Recommended Posts

Posted

Just wondering if there's a way to control the spacing between the boxes in the left and righ columns? If possible it would be awsome if I can remove the spacing!

Posted

Remove the cellpadding and cellspacing in the table holding them. That sometimes doesn't give the desired results so you may need to add a another table within those and adjust as needed.

 

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

Posted
Remove the cellpadding and cellspacing in the table holding them. That sometimes doesn't give the desired results so you may need to add a another table within those and adjust as needed.

 

Jack

 

any clue where I can find those cellpadding and cellspacing? is it in includes/boxes/ and whatever box I want?

Posted

Look in your index.php file right before where the left and right column are loaded. The code will look something like

<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

Do the same for all of your other files in the root once you have it set the way you want it.

 

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

Posted

An easy way is to open the infobox and find the line where the links are added and then add this code before and after it

$info_box_contents[] = array('text' => '<br>');

or you could add

padding: 20px;

to the boxtext class in the stylesheet.css file. You can set the each side individually too using this method.

 

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

Archived

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

×
×
  • Create New...