WordPress.org

Ready to get started?Download WordPress

Forums

Archive thumbnails template CSS and HTLM (1 post)

  1. hanyu
    Member
    Posted 8 years ago #

    hi
    i searched on the forum about it but it is still not clean what i want is a page with all the thumbnails of my photoblog

    I put the thumbnails link in the exerpt

    so in the the thumbs archive template (previously created) there is

    <div id="thumbnails">
    <?php if (have_posts()) : ?>
    <?php query_posts( 'posts_per_page=-1' ); ?>

    <?php while (have_posts()) : the_post(); ?>
    "><?php the_excerpt(); ?>
    <?php endwhile; ?><?php else: ?>
    <h2 class="title"><?php _e('Sorry, no posts matched your criteria.'); ?></h2>
    <?php endif; ?>
    </div>

    and in my CSS there is

    #thumbnails{
    display:inline;
    width: 450px;
    margin: 10px;
    background: #f5f6f7;
    border-left: 1px solid #d5d7db;
    border-right: 1px solid #d5d7db;
    border-top: 15px solid #d5d7db;
    border-bottom: 15px solid #d5d7db;

    margin:0px auto;
    padding:15px;
    border:1px dashed #333;
    background-color:#eee;
    }

    #thumbnails img {
    display:left;
    }

    the result is not what i want, the thumbnails

    Can you please help me ?

    thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags