Am trying to add a class to the comments generated section of the code so that I can style the title of my own posts.
Using the Blix theme asa base currently by default it displays..
<li id=”comment-1″ class=”comment”>
and for next post.
<li id=”comment-2″ class=”comment”>
<p class=”header alt”>2.
next post reverts back to class=”header”
I wanted to add another class for my posts ie. class=”header me”
and the relevant php for comments.php
I have managed to style the text part of the post from a tutorial I found here, http://www.tamba2.org.uk/wordpress/commentstyling/
and even wrapped the date and time into authors comment,
but can’t get rid of header box, would rather add class to it anyway.
A bit long winded-apologies, hope I have been clear, any help would be appreciated. Cheers
- The topic ‘Styling authors own comments’ is closed to new replies.