• Resolved leahgonz

    (@leahgonz)


    Just wondering if there’s a way I can move the featured image below the post title and post meta. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I edited the content.php to change the order of things. Now it looks this way:

    <div class="post-header">
    
    <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    	<?php if ( has_post_thumbnail() ) : ?>
    
    		<div class="featured-media">
    
    			<?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'hemingway'); ?></span> <?php } ?>

    Before the <h2> was after the featured-media.

    Thread Starter leahgonz

    (@leahgonz)

    Oh cool. Thanks! I tried to do something similar but it turned out quirky, but this looks great.

    Thread Starter leahgonz

    (@leahgonz)

    I did the same to single.php and also moved the post-meta below the post-title (in both content.php and single.php). Then I added adjustments to the margins of the post-meta in Edit CSS so that there’s space between the post-meta and the featured image.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there a way to move the featured image below the post title?’ is closed to new replies.