Noz03 Posted June 29, 2013 Share Posted June 29, 2013 I'm using wordpress and for some reason my themes blog page is set up horribly. I don't know why but they decided to make it show the thumbnail as a full size image above the post excerpt, but I want it to be just a standard style blog. I've been playing with the code and managed to get the thumbnail to a thumbnail size, but it is still showing ABOVE the excerpt, could anyone tell me how to get it to show them side by side (classic blog style)??the website is http://thestupidforeigner.com/blog The php code is: <div class="post-entry"> <?php if ( has_post_thumbnail()) : ?> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" > <?php the_post_thumbnail(); ?> </a> <?php endif; ?> <?php the_excerpt(__('Read more ›', 'responsive')); ?> <?php wp_link_pages(array('before' => '<div class="pagination">' . __('Pages:', 'responsive'), 'after' => '</div>')); ?> </div><!-- end of .post-entry --> Link to comment Share on other sites More sharing options...
terryds Posted June 29, 2013 Share Posted June 29, 2013 (edited) Just give it a CSS float .attachment-thumbnail.wp-post-image {float: left;} This is the additional style for you .read-more {display: inline-block;} .post-data {display: inline-block;} Hope that'll be helpful ! Edited June 29, 2013 by terryds 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now