i want to change the font size from {news} rt.
My first way:
Code: Select all
<font size="-4">{NEW:20}</font>
my second way, i create a news class in frontend.ccs
Code: Select all
.news { font-size: 8px}
how can I do this?
Robert
Code: Select all
<font size="-4">{NEW:20}</font>
Code: Select all
.news { font-size: 8px}
// new articles
$template_default["news"]["before"] = '<div class="news">';
$template_default["news"]["after"] = '</div>';
$template_default["news"]["link_before"] = '<p>';
$template_default["news"]["link_after"] = '</p>';
$template_default["news"]["link_symbol"] = '';
$template_default["news"]["link_target"] = '';
$template_default["news"]["link_length"] = 0; //if 0 no limit
$template_default["news"]["cut_title_add"] = "…";
$template_default["news"]["date_language"] = "DA"; // DE=German, IT=Italian, FR=French, ES = Spanish, DA = Danish, NO = Norwegian
$template_default["news"]["date_format"] = ""; //if empty -> no Date
$template_default["news"]["date_before"] = '<span class="datelink">';
$template_default["news"]["date_after"] = ' - </span>';
Code: Select all
<div class="news">
<p>
<a href="index.php?id=8,3,0,0,1,0">
<span class="datelink">05.11.2005 <br>
</span>
Der richtige Pr…
</a>
<p>
<a href="index.php?id=6,2,0,0,1,0">
<span class="datelink">05.11.2005 <br>
</span>Was ist osComme…
</a>
<p>
<a href="index.php?id=0,1,0,0,1,0">
<span class="datelink">19.10.2005 <br>
</span>Schön das Ihr e…
</a>
</div>
without class-definition in the template.<!-- Newsliste -->
<div style="padding: 10px 15px 10px 15px;
width: auto;
background-color: #FFFFFF;
border: 1px dotted #A0522D;
margin-bottom: 0px;
margin-top: 10px;
margin-left: 5px;
margin-right: 5px;
font-size: 11px;
text-align: left;">
* * * NEUES * * *
<br/>
{NEW:4}
<br/>
* * * NEUES * * *
</div>
dont know why, but it works..news, .news a, .news a:link, .news a:active, .news a:visited, .news a:hover {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 11px;
color: #666666;
font-weight: normal;
text-decoration: none;
}
.news a:hover {
text-decoration: underline; color: #FF9900;
}
Code: Select all
.new p, .news a, .news a:link, .news a:active, .news a:visited, .news a:hover {
font-size: 10px;
color: #FF3300;
}