Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I change this item


Cyclone2007

Recommended Posts

Posted

Hello fellow OS'ers

Could someone please tell me how do i change the font size in the Categories menu section?

 

Thanks in advance.

Shaun

Posted

ok that is in the stylesheet.css

 

the class name is pageHeading so you just have to change that

at the end of the day the code will be good

Posted

i have allready change mine

but i have

 

TD.pageHeading, DIV.pageHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 20px;

font-weight: bold;

color: #00ABE3;

}

at the end of the day the code will be good

Posted

these links are controlled by the generic a. class in the stylesheet. Add the bolded bit to the following class in your stylesheet:

 

A {

color: #000000;

text-decoration: none;

font-size:12px;

}

 

This controls all the links on your site though so entering a text size here it will affect all the links on your site, not just the category ones.

 

To control *just* the category links you will have to break these out into their own class. To do this go to /catalog/includes/boxes/categories.php and change this:

 

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';

 

to this:

 

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '" class="catLinks">';

 

and then add that .catLinks class somewhere in your stylesheet:

 

A.catLinks {

color: #000000;

text-decoration: none;

font-size:14px; (change this to whatever size you want)

}

Posted

Thanks for the quick response but that is the wrong area..

I wish to change the font size in the left coloum Categories menu.

(i.e. Hardware and Software font is too big.)

Thanks in Advance

Shaun.

Archived

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

×
×
  • Create New...