Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Products Header


Brunswick

Recommended Posts

Posted

A small vexing problem.

 

In order to change the background color of the box headers it is simpler to eliminate the elements on both ends that allow for rounded corners. To do this for the boxes on both sides there is a simple solution shown on Page 37 of the Documentation PDF. You simply replace this code in "includes\classes\boxes.php"

 

$info_box_contents = array();
     $info_box_contents[] = array(array('params' => 'height="14" class="CategoriesBoxHeading"',
                                        'text' => $left_corner),
                                  array('params' => 'width="100%" height="14" class="CategoriesBoxHeading"',
                                        'text' => $contents[0]['text']),
                                  array('params' => 'height="14" class="CategoriesBoxHeading" nowrap',
                                        'text' => $right_corner));

 

with this:

 

$info_box_contents = array();
$info_box_contents[] = array(array('params' => 'with="100%" height="14"
class="infoBoxHeading"', 'text' => $contents[0]['text']));

 

Unfortunately this does nothing for the "New Products For..." box header.

 

Does anybody have any ideas how you achieve this for this particular header?

 

-Hank :huh:

Archived

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

×
×
  • Create New...