Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

product_info


insight 51

Recommended Posts

Posted

i would like to change the font and colour on the product_info.php page

just the product title, price and description.

 

done the other pages just need to know which file i need to edit as unsure with this one.

 

Peter

[email protected]

Posted

The easiest way to do this is by changing the Hexidecimal color code in the catalog/stylesheet.css file.

 

This is the file for the Product Heading, which includes the Product Name and Price:

TD.pageHeading, DIV.pageHeading {
 font-family: Verdana, Arial, sans-serif;
 font-size: 20px;
 font-weight: bold;
 color: #000000;
}

 

The description uses the "main" class which does not have a color assigned to it and follows the default which is black (#000000). This is the code:

TD.main, P.main {
 font-family: Verdana, Arial, sans-serif;
 font-size: 11px;
 line-height: 1.5;
}

 

You will need to add this line before the "}" at the end to give it a specific color:

color: #000000;

* where #000000 = the hexidecimal color you would like to use.

 

Hope this helps.

Posted
The easiest way to do this is by changing the Hexidecimal color code in the catalog/stylesheet.css file. 

 

This is the file for the Product Heading, which includes the Product Name and Price:

TD.pageHeading, DIV.pageHeading {
?font-family: Verdana, Arial, sans-serif;
?font-size: 20px;
?font-weight: bold;
?color: #000000;
}

 

The description uses the "main" class which does not have a color assigned to it and follows the default which is black (#000000).  This is the code:

TD.main, P.main {
?font-family: Verdana, Arial, sans-serif;
?font-size: 11px;
?line-height: 1.5;
}

 

You will need to add this line before the "}" at the end to give it a specific color:

color: #000000;

* where #000000 = the hexidecimal color you would like to use.

 

Hope this helps.

 

just one more thing that i would like to do on this page is have coloured border around the products image. ive done it on the other pages but not on this one but i cant remember where i changed it for them. Thanks

Archived

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

×
×
  • Create New...