Title: Recent Posts CSS Issue?
Last modified: August 19, 2016

---

# Recent Posts CSS Issue?

 *  [torbie](https://wordpress.org/support/users/torbie/)
 * (@torbie)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-css-issue/)
 * So I’m building an archive section that pulls from a specific category. I’ve 
   gotten it to pull all the relevant info, problem is, it doesn’t display properly(
   it does this weird inline thing), and I can’t figure out why. Is this a PHP error,
   or a CSS error?
 * [http://eco-rico.com/test](http://eco-rico.com/test)
    (scroll down below the 
   test section and ignore the spacing issue with the sidebar–i’m just using this
   page to test the archive section).
 * Also, is there a way to exclude the most recent post from appearing in the archive
   section?
 * Thanks for all of your help–I’ve been working on this forever.

Viewing 1 replies (of 1 total)

 *  Thread Starter [torbie](https://wordpress.org/support/users/torbie/)
 * (@torbie)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-css-issue/#post-1799348)
 * Oh, forgot to post the php:
 *  <?php $my_query = new WP_Query(‘category_name=ask-giselle&posts_per_page=10’);?
   >
    <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <?php $my_custom_field
   = get_post_meta($post->ID, “thumb”, true); echo “<img width=’110′ height=’112′
   style=’float:left; margin-left: 0px; margin-top: 0px; margin-right: 15px; ‘ width
   =’60’ src='”.$my_custom_field.”‘/>”; ?>
 *  <?php the_excerpt(); ?>
 *  <?php endwhile; ?>

Viewing 1 replies (of 1 total)

The topic ‘Recent Posts CSS Issue?’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [torbie](https://wordpress.org/support/users/torbie/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/recent-posts-css-issue/#post-1799348)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
