• Hi,
    Site: https://www.somewhereny.com
    Theme: f8-light

    I am trying to have four “thumbnail images” per line, on my homepage. I have edited the size down of the thumbnails, but there seems to be padding and/or margins that are prohibiting the images from appearing 4 images per line. Does anyone know the code that governs the position of these thumbnail images?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter atlantiscanyon

    (@atlantiscanyon)

    Here is the code governing the thumbnails on the home page:

    <?php $i = 0; ?>
      <?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); $i++; ?>
    </p>
    <div class="span-8 post-<?php the_ID(); ?><?php if ($i == 3) { ?> last<?php  } ?>">
    <h6 class="archive-header"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title() ?></a></h6>
    <?php get_the_image( array( 'custom_key' => array( 'thumbnail' ), 'default_size' => 'thumbnail', 'width' => '160', 'height' => '160' ) ); ?>
    <?php the_excerpt(); ?>
    <p class="postmetadata"><?php the_time( get_option( 'date_format' ) ); ?> </p>
    </div>
    <?php if ($i == 3) { ?><div class="archive-stack clear"></div><?php $i = 0; } ?>
    <?php endwhile; endif; ?>
    
    <div class="clear"></div>
    
    <div class="navigation clearfix">
    	<div><?php next_posts_link('&laquo; Older Entries') ?></div>
    	<div><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    </div>

    Thread Starter atlantiscanyon

    (@atlantiscanyon)

    Okay,
    Here is some more information. Here is a picture of what I mean:
    https://www.flickr.com/photos/22016806@N06/5693984980/in/photostream
    I hope this helps,
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit Homepage Thumbnails’ is closed to new replies.