Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Making the categories font bigger??


Guest

Recommended Posts

Posted

I have tried everything, but can not seem to be able to only make the categories font bigger. This is the only box I want to have the links appear slighty larger than the regular small text that is used.

 

I have tried the categores box, the style sheet, but can not seem to get it.

 

Any help here is much appreciated.

 

Thanks,

 

John

Posted

Try edit boxes/categories.php (added code in bold

function tep_show_category($counter) {

--skipped---

   $categories_string .= '<font size="+1"><a href="';  

--skipped--

  $categories_string .= '</a></font>';

 

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Posted

This don't works in IE, but works in Opera (a really BIG categories list). Seems in IE CSS definitions overtake <font> tags.

You can try modify

$categories_string .= '<a href="';

line to

$categories_string .= '<a class="myCategory" href="';

with creating apporpriate class (A.myCategory) in CSS file.

 

Or just

$categories_string .= '<a style="font-size:larger;" href="';

but i don't sure all browser understand "larger" value for font-size.

There is always more than one way to do it.

And always Keep It Simple, Stupid.

Archived

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

×
×
  • Create New...