Quote
sveinungs wrote:
The buttons "Font color" and "Background color" works - but the background color apply to the background of the selected text only - not the whole page.
It will use the background color for news and articles as determined by the themes "styles.css", if I'm not all wrong.
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom:2px;'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='[color=red]main-body'[/color]>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
.main-body {
font-size : 11px;
color : #444;
background-color : [color=red]#cc99cc[/color];
padding : 4px 4px 5px 4px;
}
Quote
Bad Boy wrote:
No mod really needed. If you enable TinyMCE in System Admin >> Miscellaneous Settings you will have the option for font size, plus a lot more.
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions