Thumbnails in Category List
-
Hi there,
i’ve startet a new Testsite with a new template for a blog on a local server. Now i’m trying to show thumbnails in the category-lists on the mainpage.
now the problems:
1.) the thumbnails don’t link to the related posts
2.) the thumbnails are pushing other thumbnails in case the headline is not long enough (look the screenshot here)My php-code for this:
<ul> <?php } // if $x == 1 else { ?> <li><?php the_post_thumbnail( array(60,45), $attr ); ?><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li><?php } // else ?> <?php endwhile; // ?> </ul>
And the style-css:
[CSS code moderated – use the pastebin]
Thx 4 your help
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Thumbnails in Category List’ is closed to new replies.