Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cant adjust box heading


waiyan

Recommended Posts

Posted

cateloge1nq.jpg

 

if you have a look at the picture above.

i have changed the cellpadding of the info BOX title.

however the categories will not change.

 

basically i want the catagories box to look like the boxes below it.

 

any help will be well apreciated.

 

thanks

wai

Posted

I'm not sure if you want to just make the headings taller, or also center the title...but if you look in catalog/includes/classes/boxes.php ...you can do both right there and it will affect all of the left/right column infoboxes

 

around line 120

 

$info_box_contents = array();

$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"',

'text' => $left_corner),

array('params' => 'align="center" width="100%" height="14" class="infoBoxHeading"',

'text' => $contents[0]['text']),

array('params' => 'height="14" class="infoBoxHeading" nowrap',

'text' => $right_corner));

 

You can add align="center" like I did above, and it will center the titles. You can change the 'height' parameters to a higher number, to make the box headings taller. Change all 3 of the "14" 's to around 20 and that will make them look pretty much like your picture, height-wise.

Archived

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

×
×
  • Create New...