Quote:
Originally Posted by rrmccabe
if I dont want to do wysiwyg how do I bump up the default size for description field text?
|
Within the default editor, to bump a portion of text, you could add a span and give it a style with a font size in percent. For example...
<span style="font-size:120%;">text</span>
However, if you meant how do you get a consistent fixed font size for the description text on all the product pages. Then...
Open up skin1/customer/main/product.tpl and locate...
<td>{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}</td>
and add a class to the TD, for example, .descrtxt...
<td class="descrtxt">{if $product.fullde...
Then open up skin1/skin1.css and add the new class...
Code:
.descrtxt {
font-size:2em; /* The font-size of your choosing */
}
Still within skin1/skin1.css, locate at the top of the document the following grouped selectors (on one line) and /* comment out */ the font-size like so (whatever the font-size value is)...
Code:
BODY,DIV,TH,TD,P,INPUT,SELECT,TEXTAREA,TT {
/* FONT-SIZE: 10px;*/
}
Then a little further down locate the following grouped selectors (on one line) and add the default font-size for the rest of the content...
Code:
HTML,BODY {
FONT-SIZE: 10px; /* default font-size for rest of content - add to existing code */
}
Hope this helps.