Align Thumbnail to Excerpt
-
Hello there, I have been searching for hours trying to solve on tiny problem. I would like my thumbnails to align right on my blog page and to be below the title of the post. Then the excerpt fill in the space to the left of the thumbnail.
The solutions others have found have not worked for me. Any help would be great.
<article class="article-archive <?php echo $firstClass; ?>" id="post-<?php the_ID(); ?>"> <?php $firstClass = ""; ?> <?php ?> <?php if (is_front_page()) { ?> <div class="home-summary"> <?php } else { ?> <div class="entry-summary"> <?php } ?> <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_post_thumbnail('flozo-thumb');?></a> <?php if (is_front_page()) { ?> <h1><?php the_title(); ?></h1> <?php } else { ?> <h2><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php } ?> <?php the_excerpt(); ?> <?php if ( is_home() ) : ?> <p class="entry-meta"><time datetime="<?php the_time('l, F jS, Y') ?>" pubdate><?php the_time('l jS F Y') ?></time></p> <?php endif; ?> </div>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Align Thumbnail to Excerpt’ is closed to new replies.