Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you adjust catagories font, height and size?


AR_1986

Recommended Posts

Posted

Hi, i have a column of catagories to the left of my site, how can i go about changing the font, size and distance between each catagory? thanks, Sarah.

Posted

Sarah,

 

In the includes/boxes/categories.php you will find this code:

 

}

 

$categories_string .= '<br>';

 

if ($tree[$counter]['next_id'] != false) {

tep_show_category($tree[$counter]['next_id']);

 

 

to double space your categories listing, add another <br> to the string

 

 

All other settings can be found in the same file as well, although they are not obvious settings.

 

 

Chris

Posted

That text is in a table with a class of

.infoBoxContents

and td class of

.boxtext

. Go to stylesheet.css, search for .boxtext and you will be able to change the font-family, font-size, line height on that CSS selector. Unfortunately that will change the text in all the other infoboxes as well.

 

The only real solution is to use of the many excellent contributions that allow you to alter the categories menu. One easy to install solution that is very nice is this one

 

http://addons.oscommerce.com/info/4201

 

It converts the categories box into an unordered list, (ul's and li's), and allows you to add classes as you see fit to each level of ul and li, giving you compete CSS control over all aspects of the categories box.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Archived

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

×
×
  • Create New...