how to style the_excerpt
-
I’m using the F8 Lite theme. On the homepage, the meta data (date, “Leave a comment”) is displayed a bit too far down after the except ends. You can see what I mean here on this F8 Lite demo:
https://graphpaperpress.com/demo/f8/index.php?wptheme=f8%20liteYou can see after the excerpts end, there’s a bit of white space before the “Sept 26, 2008 | Have your say” part. My question is, how do you customize that and change the padding of the_excerpt?
That was my first guess of how to do this: change the padding on the_excerpt, to reduce it and hopefully bring the meta data up flush against the end of the excerpt.
I see the following code in index.php but can’t figure out how to style it. Any ideas? thanks in advance!
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php $values = get_post_custom_values("thumbnail"); echo $values[0]; ?>" alt="" /></a> <?php } ?> <?php the_excerpt(); ?> <p class="postmetadata"><?php the_time('M d, Y') ?> | <?php comments_popup_link('Leave a comment »', '1 Comment »', '% Comments »'); ?></p> </div>
- The topic ‘how to style the_excerpt’ is closed to new replies.