News-Template: Grafik statt weiterlesen
Hallo,
Im Template "New latest" möchte ich gerne, dass nach dem letzten Wort im Teaser ein kleines graphisches Icon anstelle des weiterlesen Links erscheint. Das klickbare Icon habe ich hinbekommen. Leider ist es nicht im gleichen Div wie der Teaser.
Meine news_latest sieht so aus:
Code:
<div class="layout_latest block<?php echo $this->class; ?>">
<?php if ($this->hasMetaFields): ?>
<p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
<?php endif; ?>
<?php if ($this->addImage): ?>
<div class="image_container<?php echo $this->floatClass; ?>"<?php if ($this->margin || $this->float): ?> style="<?php echo trim($this->margin . $this->float); ?>"<?php endif; ?>>
<?php if ($this->href): ?>
<a href="<?php echo $this->href; ?>"<?php echo $this->attributes; ?> title="<?php echo $this->alt; ?>">
<?php endif; ?>
<img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" />
<?php if ($this->href): ?>
</a>
<?php endif; ?>
<?php if ($this->caption): ?>
<div class="caption"><?php echo $this->caption; ?></div>
<?php endif; ?>
</div>
<?php endif; ?>
<h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2>
<p class="teaser"><?php echo $this->teaser; ?><p class="more"><?php echo $this->more; ?></p>
<?php if ($this->text): ?>
<?php endif; ?>
</div>
Ist das jetzt nur noch eine Sache des CSS? Vielen Dank für eine Hilfestellung! :)
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
K4nndoo
Hi,
Was meinst du mit gleichem div das kann mann sich nich so gut vorstelllen
kannst du mal bitte n screen oder link posten?
Vielen Dank für eure Hilfe, hier mal ein Screenshot wie es im Moment aussieht. Ich möchte den Pfeil neben dem letzten Wort haben. Also in der gleichen Zeile wie der Fließtext...