Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do i reduce the size of the product discription text?


c-m

Recommended Posts

I've done a search and nothing to come up of any value.

 

Basically i want to know how do i change the size of the text that describes a product. e.g when you click on a product you are presented with a price, an enlarged picture and some text describing it. I want to reduce the size of this text but cannot find mention to it anywhere in the stylesheet.

Link to comment
Share on other sites

To troubleshoot something like this, in your browser do View Page Source and look at the HTML. Find the product description and just before it, make note of the style it's calling.

 

Look for this in your stylesheet.css:

 

TD.smallText, SPAN.smallText, P.smallText {
font-family: Arial, Verdana, sans-serif;
font-size: 12px;
padding-left: 2px;
}

 

jon

It's all just ones and zeros....

Link to comment
Share on other sites

the class that defines the format for this in your stylesheet is

 

TD.main, P.main {

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

font-size: 11px;

line-height: 1.5;

}

 

just change the formating accordingly. Or you could use an html editor from the contributions easier to format your descriptions.

Link to comment
Share on other sites

Doh, unfortunately that didn't sort it at all.

 

I loaded up the page in question and went to view source. scrolling down to where the product text is displayed, there is no class information there at all.

 

I hope i don't have to manually add in the class for every single product description that would just be daft.

 

Any ideas?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...