| 
                             Det er CSS én du har postet......  | 
                    
Det var lige den forkerte der røg dér. Her er index.php
<?php
global $options;
foreach ($options as $value) {
    if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; }
    else { $$value['id'] = get_option( $value['id'] ); }
    }
?>
<?php get_header() ?>
 <div id="container">
  <div id="content">
   <?php thematic_navigation_above();?>
   
<?php get_sidebar('index-top') ?>
<?php thematic_above_indexloop() ?>
<?php thematic_page_title() ?>
<?php
  
  $thumbnail_width = get_thumbnail_width(true);
  $thumbnail_height = get_thumbnail_height(true);
  $thumbcontainer_width = get_thumbnail_width()+9 . "px";
  
  /* Count the number of posts so we can insert a widgetized area */ $count = 1;
  while ( have_posts() ) : the_post() ?>
   <div id="post-<?php the_ID() ?>" class="<?php thematic_post_class(); if(function_exists('p75GetVideo')){ if(p75GetVideo($post->ID)){ echo " video"; } } ?>">
    <div class="entry-content" style="width:<?php echo $thumbcontainer_width; ?>">
    <?php childtheme_post_header() ?>
          <a href="<?php echo the_permalink() ?>" style="width:<?php echo $thumbnail_width; ?>;height:<?php echo $thumbnail_height; ?>"><span class="slide-title"><?php echo the_title(); ?></span>
            
       <?php 
             if(get_post_meta($post->ID, 'thumbnail', $single = true)){
          $imgsrc = get_post_meta($post->ID, 'thumbnail', $single = true); ?>
                                     
                    <img class="thumbnail" src="<?php echo $imgsrc; ?>" alt="<?php echo $imgalt; ?>" style="width:<?php echo $thumbnail_width; ?>;height:<?php echo $thumbnail_height; ?>" />
              <?php }elseif(get_post_meta($post->ID, 'full-image', $single = true)){ 
                    $imgsrc = get_bloginfo('template_url') . '/timthumb/timthumb.php?src=' . get_post_meta($post->ID, 'full-image', $single = true) . '&w=' . get_thumbnail_width() . '&h=' . get_thumbnail_height() . ' &zc=1"'; ?>
                    <img class="thumbnail" src="<?php echo $imgsrc; ?>" alt="<?php echo $imgalt; ?>" style="width:<?php echo $thumbnail_width; ?>;height:<?php echo $thumbnail_height; ?>" />
                  
              <?php }elseif(postimage()){ 
                      postimage();
                    }elseif(!checkimage()){ ?>
                    <img class="thumbnail" src="<?php bloginfo('template_url'); ?>/images/thumbnail-default.jpg" alt="<?php echo the_title() ?>" style="width:<?php echo $thumbnail_width; ?>;height:<?php echo $thumbnail_height; ?>" />
             <?php } ?>
            </a>
    </div>
   </div><!-- .post -->
<?php comments_template();
    if ($count==$thm_insert_position) {
      get_sidebar('index-insert');
    }
    $count = $count + 1;
  endwhile; ?>
<?php thematic_below_indexloop() ?>
<?php get_sidebar('index-bottom') ?>
<?php thematic_navigation_below();?>
  </div><!-- #content -->
 </div><!-- #container -->
<?php thematic_sidebar() ?>
<?php get_footer() ?>
            
  Bliv gratis medlem