Hallo,
ich habe das Plugin quote comments installiert. Klappt soweit ganz gut. Außerdem habe ich Kommentare hervorheben in der comments.php eingebaut. Der Code dazu habe ich Netz gefunden. Klappt auch bestens. Bei Kommentare hervorheben habe ich eine Avatar grösse von 60. Das überschneidet sich mit einem zitierten Kommentar. Anbei ein Bild. Wie kann ich den Balken vor dem zitieren nach rechts verschieben, damit dieser nicht unter das Avatar rutscht?
Code für Kommentare hervorheben
PHP
<?php foreach ($comments as $comment) : ?>
<li class="<?php echo $oddcomment; ?> <?php if ($comment->comment_author_email == get_the_author_email()) { echo 'author_comment'; } ?>" id="comment-<?php comment_ID() ?>"> <?php echo get_avatar( $comment, 60 ); ?>
<?php comment_text() ?>
<p><cite>
<?php comment_type(_x('Comment', 'noun'), __('Trackback'), __('Pingback')); ?>
<?php _e('von'); ?>
<?php comment_author_link() ?>
—
<?php comment_date() ?>
@ <a href="#comment-<?php comment_ID() ?>">
<?php comment_time() ?>
</a></cite>
<?php edit_comment_link(__("Edit This"), ' |'); ?>
</p>
</li>
<?php /* Changes every other comment to a different class */ $oddcomment = ( empty( $oddcomment ) ) ? 'alt' : ''; ?>
<?php endforeach; /* end for each comment */ ?>
</ol>
Alles anzeigen
Link zum ansehen
http://www.jochenbake.de/windows-7-groe…ern#comment-129