Style the_category & comments_number post info
I imagine this to be quite simple although the logic has escaped me…
I am using a templated called “Blocked-10” by “The Undersigned”.
I have succesfully managed to change the background of the posts area of the pages from green to white. The problem I have is that the post info displayed after each post is in white, which means it’s not visible against my new white background.
All I would like to do is change the “the_category” and “comments_number” outputs to the color of my choice.
I have tried adding a new style in my stylesheet but could not manage to apply it to the php code.
The line of code I would like to change the colour of is:
Filed by <?php the_author(); ?> at <?php the_time(‘F jS, Y’) ?> under <?php the_category(‘, ‘) ?> | “><?php comments_number(‘No comments’, ‘1 comment’, ‘% comments’); ?>
As you can see, there is already a style applied but this does not take effect on the “the_category” and “comments_number” parameters.
I hope someone can educate me and show me the code required.
Thanks very much.
- The topic ‘Style the_category & comments_number post info’ is closed to new replies.