simon_li Posted November 23, 2009 Share Posted November 23, 2009 How do I remove the small elongated rectangular shape between the "Latest post" and "Archives" section at http://www.simonlindgren.com ? The code surrounding this place is: <div class="column span-4 first"> <h3 class="mast">Recent Posts</h3> <?php $the_query = new WP_Query('cat=-' .$catid. '&showposts=5&offset=1&orderby=post_date&order=desc'); while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID; ?> <div class="home_recent_post"> <?php if ( get_post_meta($post->ID, 'thumb_home_img', true) ) { ?> <?php } else { ?> <div class="home_recent_thumb"> <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php if (function_exists('the_thumb')) { the_thumb('altappend=recent_&subfolder=recent&width=48&height=48&keepratio=0'); } ?></a> </div> <?php } ?> <div class="home_recent_title" id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> </div> <div class="home_recent_date"> <?php the_time('F j, Y'); ?> </div> <div class="home_recent_auth"> By <?php the_author(); ?> </div></div> <?php endwhile; ?> <?php include('ad_home.php'); ?><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('MiddleColumn') ) : ?> <?php endif; ?> </div> <?php get_sidebar(); ?> </div> </div> <!-- end home_content --> Link to comment https://forums.phpfreaks.com/topic/182628-help-removing-unwanted-graphic/ Share on other sites More sharing options...
oni-kun Posted November 23, 2009 Share Posted November 23, 2009 Using firebug it tells me the DIV is called ad_block. Use some CSS to hide that, or disable ads from your wordpress panel. May be the theme broken as well, I'm not sure if that theme is 100% compatible if it came like that. Link to comment https://forums.phpfreaks.com/topic/182628-help-removing-unwanted-graphic/#findComment-963889 Share on other sites More sharing options...
simon_li Posted November 23, 2009 Author Share Posted November 23, 2009 Thanks! Hiding the ad-thing worked! Link to comment https://forums.phpfreaks.com/topic/182628-help-removing-unwanted-graphic/#findComment-963890 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.