Hey!
Ich hab hier gerade eben ein Problem entdeckt, das ich leider nicht beheben kann. Hab's schon ne ganze Weile versucht.
http://opa114.pytalhost.de/wordpress/?p=192
Wenn ihr da draufklickt und euch die Kommentare anseht und je nach dem "eine Weile wartet" oder "die Maus hin un her bewegt über die Kommenate und Hyperlinks" seht ihr, wie die Hintergrundfarbe und der Rahmen der Kommentare verschwindet. (Allerdings nur im Internet Explorer, nicht im Firefox)
Ich nutze das Plain-Vanilla Theme (daher auch nur Internet Explorer, denn im Firefox geht mit dem Theme bei mir gar nix, alle anderen, aber das nicht)
Das ist der Hauptteil zur Ausgabe der Kommentare:
<ol class="commentlist">
<?php foreach ($comments as $comment) : ?>
<li class="<?=($i%2)?"color1":"color2";$i++;?>" id="comment-<?php comment_ID() ?>">
<cite><?php comment_author_link() ?></cite> meinte dazu am:
<?php if ($comment->comment_approved == '0') : ?>
<em>Dein Kommentar muss noch genehmigt werden!</em>
<?php endif; ?>
<br />
<small class="commentmetadata"><?php comment_date('d.m.Y') ?> um <?php comment_time() ?> Uhr <?php edit_comment_link('(bearbeiten)','',''); ?></small>
<?php comment_text() ?>
</li>
<?php endforeach; /* end for each comment */ ?>
</ol>
Alles anzeigen
Das hier die entsprechenden Styleklassen:
/* alternate comment colors */
.color1 {background-color:#ffffff; padding:5px; margin:5px 0; border: 1px solid #ccc; text-transform: none;}
.color2 {background-color:#f8f8f8; padding:5px; margin:5px 0; border: 1px solid #ccc; text-transform: none;}
/*
.commentlist li, #commentform input, #commentform textarea {
font: 11px 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
*/
.commentlist li {
/* font: 11px 'Lucida Grande', Verdana, Arial, Sans-Serif;*/
}
.commentlist li {
/*font-weight: bold;*/
}
.commentlist cite, .commentlist cite a {
/* font-weight: bold;*/
font-style: normal;
font-size: 11px;
text-transform: none;
}
.commentlist p {
font-weight: normal;
line-height: 1.5em;
text-transform: none;
margin:6px 0 3px 1px!important;
}
/*
#commentform p {
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
*/
.commentmetadata {
font-weight: normal;
}
h3.comments, #comments h3 {
padding: 0;
margin: 40px auto 20px;
}
Alles anzeigen
Ich hoffe ihr könnt mir weiterhelfen.
Danke!
[size=24]Problem gelöst![/SIZE]