Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • drobonagon

    (@drobonagon)

    Try to edit your CSS as follows

    #latestpost li img{
    	margin:0;
    	padding:5px;
    	float:left;
    	width:100%; /* was 260px */
    	height:100%; /* was auto */
    	}
    drobonagon

    (@drobonagon)

    Try this

    <?php get_header();?>
    <?php
    $pov_disthumb = get_option('pov_disthumb');
    ?>
    <div class="box">
    <ul id="latestpost">
    <?php $firstClass = 'firstpost'; ?>
    <?php if (have_posts()) : ?>
    
    <?php while (have_posts()) : the_post(); ?>
    
    <li class="bags <?php echo $firstClass; $firstClass = ""; ?>" id="post-<?php the_ID(); ?>">
    
    <div class="thumb">
    
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php if ( has_post_thumbnail() ) { the_post_thumbnail( 'homepage-thumb' ); } ?></a>
    </div>
    
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
    <?php the_title(); ?></a></h2>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><div class="postinn bags"></a>
    
      <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><div class="ger"><?php the_excerpt(); ?></div></a>
    
    <span><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">Read More+</a></span>
    
     </div>
    
    </li>
    
    <?php endwhile; ?><?php else : ?>
    
    <div class="post">
    <h2>Bummer!</h2>
    <p class="center">Hier is niets te zien. Probeer anders ff te zoeken hieronder of ga naar de homepage.</p>
    <?php get_search_form(); ?>
    </div>
    
    <?php endif; ?>
    
    <div class="clear"></div>
    <div class="navigation ger">
    <div class="nav-previous fl"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts' ) ); ?></div>
    <div class="nav-next fr"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>' ) ); ?></div>
    </div>
    
    <div class="hrlineB"></div>
    
    <h1 class="title"><?php bloginfo('description'); ?></h1>
    
    <?php get_footer(); ?>
    drobonagon

    (@drobonagon)

    Thanks, No syntax errors in CODE reported

    drobonagon

    (@drobonagon)

    Hmm not sure, if you post your index.php code I’ll take a look

    drobonagon

    (@drobonagon)

    Finally got it

    <?php while (have_posts()) : the_post(); ?>
    
    			<li class="bags <?php echo $firstClass; $firstClass = ""; ?>" id="post-<?php the_ID(); ?>">
    
        			<div class="thumb">
                    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php if ( has_post_thumbnail() ) { the_post_thumbnail( 'homepage-thumb' ); } ?></a>
                    </div>
    				<a href="<?php the_permalink(); ?>">
    
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
      <?php the_title(); ?></a></h2>
     <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><div class="postinn bags">
      <div class="ger"><?php the_excerpt(); ?></a></div>
      <span>Read More +</span>
     </div>
Viewing 5 replies - 1 through 5 (of 5 total)