Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hlep in style sheet how to enlarge the font


3afooor

Recommended Posts

hi all

see this picture

 

style.gif

 

1- how to make this font bigger from the style sheet from where exactly

 

2- after i clicked on any cat. it will become bold so how to change the colore also to red from where in the stykesheets

 

 

 

and can i make the english smaller than the france or other or it is fixed

 

thanks

Link to comment
Share on other sites

If you view source on the URL, you should see the text you want to change wrapped around a TD class attribute, likely <TD class="main">. If you want all of your text that's classed 'main' to increase, then you can change it in the catalog/stylesheet.css file here:

 

TD.main, P.main {

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

font-size: 11px;

line-height: 1.5;

}

 

If you don't want to affect *all* of your <TD>'s with a class="main" attribute, you can assign a new class to the <TD> in product_info.php, like this:

 

<td class="productDesc">Your product description text here</td>

 

Then in catalog/stylesheet.css, create this new style:

 

TD.productDesc, P.productDesc {

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

font-size: 14px;

line-height: 1.5;

}

 

You can change the link color in /catalog/stylesheet.css here:

 

A {

color: #ff0000;

font-weight: bold;

text-decoration: none;

}

 

Don't know the answer to your question about English and French though, sorry...

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

I'm not positive about this, but it looks like you need to make that change in /catalog/includes/boxes/categories.php. Look for this code:

 

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

? ?if ( ($id) && (in_array($counter, $id)) ) {
? ? ?$categories_string .= '<b>';
? ?}

// display category name
? ?$categories_string .= $foo[$counter]['name'];

? ?if ( ($id) && (in_array($counter, $id)) ) {
? ? ?$categories_string .= '</b>';
? ?}

 

and change to:

 

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

   if ( ($id) && (in_array($counter, $id)) ) {
     $categories_string .= '<font color="#ff0000">';
   }

// display category name
   $categories_string .= $foo[$counter]['name'];

   if ( ($id) && (in_array($counter, $id)) ) {
     $categories_string .= '</font>';
   }

 

I haven't tried it, so I don't know for sure if it will work. Let me know. :)

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...