Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Box Borders


Guest

Recommended Posts

Posted

Hi

Can anyone tell me how to remove the border around any of the boxes..EG.info box / whats new box

 

Many Thanks

Posted
Hi

Can anyone tell me how to remove the border around any of the boxes..EG.info box / whats new box

 

Many Thanks

 

 

Hi

I expect its in the stylesheet.css, might be easier to change the colour to your background rather than remove them tho

Rgds

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Hi

I expect its in the stylesheet.css, might be easier to change the colour to your background rather than remove them tho

Rgds

Nic

 

Thanks ! I had not thought of that, I`ll give it a go

Posted

It is a background color that is shown because of some table padding. You can either change the background color to match the content:

 

.infoBox {
 background: #b6b7cb;
}

 

or you can remove the padding in includes/classes/boxes.php by changing the value '1' to '0'

 

 

class infoBox extends tableBox {

function infoBox($contents) {

$info_box_contents = array();

$info_box_contents[] = array('text' => $this->infoBoxContents($contents));

$this->table_cellpadding = '1';

$this->table_parameters = 'class="infoBox"';

$this->tableBox($info_box_contents, true);

}

 

Both ways would be global though.

Archived

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

×
×
  • Create New...