The simplest solution would be to add in a different body class for each category page (ie. if category A, body class is category-a), and also add a class to the thumbnail img (for example, thumbnail).
Then, you could set the width and height for the thumbnail image on the category-a page like this:
.category-a img.thumbnail {width:200px;height:200px;}
Cheers,
Eric
thanks for the idea, but how will I integrate that to my code…sorry im a total noob with this. Here’s my code:
<?php query_posts(‘cat=13&showposts=20’); ?>
<?php while (have_posts()) : the_post(); ?>
<ul class=”post_cont” id=”post-<?php the_ID(); ?>”>
-
<h3>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>
<?php the_title(); ?>
</h3>
<!–<p>
<?php the_time(‘F jS, Y’) ?>
by <?php the_author() ?>
</p>–>
<?php the_excerpt() ?>
<p>
<!–<?php the_tags(‘Tags: ‘, ‘, ‘, ‘
‘); ?>
Posted in
<?php the_category(‘, ‘) ?>
|
<?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?>–>
<?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>
</p>
<?php endwhile; ?>
Thanks for your help, appreciate it.
First of all, upgrade to WordPress 2.9. It looks like you’re still on WordPress 2.8.2, and if you upgrade to 2.9 you’ll be able to use the new built in post thumbnail feature.
Instructions on how to use that are here: http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/