In Genesis Child Themes you might have noticed that featured images are by default displayed below the title. For example lets take home page of Copyblogger 2 Child theme. Featured images are below the title and floats left.

If you are not a fan of this then you can easily swap the title and featured image so that featured image will be above the title and it looks somewhat better for me. For that you just need to add the following genesis hooks to functions.php file
For Genesis XHTML markup (1.x and below)
// Move image above post title in Genesis Framework
remove_action( 'genesis_post_content', 'genesis_do_post_image' );
add_action( 'genesis_before_post_title', 'genesis_do_post_image' );
For Genesis HTML 5 Markup
// Move image above post title in Genesis Framework 2.0
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
add_action( 'genesis_entry_header', 'genesis_do_post_image', 8 );
So here is the result after swapping.
Note : Genesis 2 users need to edit style.css file and remove clear: both; css code from .entry-meta class in order to float the featured image.
The post How to Swap Featured Image Above the Title In Genesis Framework. appeared first on ProNulled Themes.