Style the_category & comments_number post info
-
Hi,
I am using the template “Bolcked-10” by “The Undesigned”. I have changed the background colour of posts area of the page from green to white. The problem I now have is that the post info at the end of each post is also in white text and therefore is not visible against the white backround.
I have tried creating a new style in my stylesheet but haven’t been able to apply it the the php code. The following is the code which I am trying to change the output colour of:<div class=”postinfo”>
Filed by <?php the_author(); ?> at <?php the_time(‘F jS, Y’) ?> under <?php the_category(‘, ‘) ?> | “><?php comments_number(‘No comments’, ‘1 comment’, ‘% comments’); ?>
</div>As you can see there is already a class applied but this does not affect the “the_category” and “comments_number” outputs.
I hope someone will be able to educate me and show me the code I should use to change the colour of these outputs.
Thanks very much.
- The topic ‘Style the_category & comments_number post info’ is closed to new replies.