Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do i remove the lines from the outside of the infobox


discojacob

Recommended Posts

In catalog/stylesheet.css ghange this background to a different color. For white it's #FFFFFF

.infoBox {
 background: #b6b7cb;
}

Link to comment
Share on other sites

This code change would remove the border around Login, Categories, Search, and Information boxes.

 

In /includes/classes/boxes.php

 

In this code:

 

  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);
}

Change this line:

 

	  $this->table_cellpadding = '0';

This worked in Firefox using the Webdeveloper plugin, anyway.

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

Archived

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

×
×
  • Create New...