mit einem kleinen eingriff in das startseitenview, das findest du hier:
Code:
/components/com_content/views/frontpage/tmpl/default.php
und suchst dir Zeile 8-21:
Code:
<table class="blog<?php echo $this->params->get('pageclass_sfx') ?>" cellpadding="0" cellspacing="0">
<?php if ($this->params->def('num_leading_articles', 1)) : ?>
<tr>
<td valign="top">
<?php for ($i = $this->pagination->limitstart; $i < ($this->pagination->limitstart + $this->params->get('num_leading_articles')); $i++) : ?>
<?php if ($i >= $this->total) : break; endif; ?>
<div class="leading">
<?php
$this->item =& $this->getItem($i, $this->params);
echo $this->loadTemplate('item');
?>
</div>
<?php endfor; ?>
</td>
ergänze es um das rot markierte.
dann kannst du über die template.css folgendes definieren:
Code:
.leading {
background:#FFFFFF;
}
.leading td {
background:#990000 none repeat scroll 0 50%;
}
diese lösung ist sozusagen quick&dirty. bei updates geht sie verloren, sobald o.g. datei durch das update überschrieben wird.
falls du dich schon mal mit template-overrides beschäftigt hast, mach es damit,dann bleibt es auch bei updates erhalten.
Lesezeichen