hmm... also meine
Glaskugeln sagen mir, das kann nicht funktionieren
öffne mal die comments.php des verwendeten
Themes
ergänze
Code:
/* This variable is for alternating comment background */
$oddcomment = 'class="alt" ';
?>
<!-- You can start editing here. -->
weiter unten
PHP-Code:
<?php foreach ($comments as $comment) : ?>
<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
also zuerst gibts eine Variable die die class="alt" bekommt,so alt wie alternative ... nicht wie uralt
dann gibt man die zu dem li, damit mans stylen kann...
weiter runterscrollen in der comments.php
PHP-Code:
<?php comment_text() ?>
</li>
<?php
/* Changes every other comment to a different class */
$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
?>
<?php endforeach; /* end for each comment */ ?>
einmal keine
css class und einmal eben die
css class alt und die
.alt kannst Du dann in deiner style.
css anders machen
Adminkommentare:
WordPress › Support » Admin Comments: Different CSS
lg