Featured Image Mis-alignment

Community Forums Forums General Discussion Featured Image Mis-alignment

This topic is: resolved

This topic contains 1 reply, has 1 voice, and was last updated by  dareadel 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33231

    dareadel
    Participant
    Post count: 82

    Does anyone knows why my featured image is showing up above my content area? Here is one page but it’s all over by website and I am not sure how it started: http://water-filter-tips-blog.com/topmost-countertop-water-filters/

    Thanks for your help.

    #33232

    dareadel
    Participant
    Post count: 82

    I think I found the solution but I am not sure if I have created additional problems. I went to functions.php and I remove the following block of codes:

    add_action( ‘genesis_after_header’, ‘mindstream_featured_image’ );
    function mindstream_featured_image() {
    if ( is_home() ) {
    echo ‘<div id=”featured-image”><img src=”‘. get_stylesheet_directory_uri() . ‘/images/sample.jpg” /></div>’;
    }
    elseif ( is_singular( array( ‘post’, ‘page’ ) ) && has_post_thumbnail() ){
    echo ‘<div id=”featured-image”>’;
    echo get_the_post_thumbnail($thumbnail->ID, ‘header’);
    echo ‘</div>’;
    }
    }

    Hopefully this is the solution but sorry for wasting he space here.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Featured Image Mis-alignment’ is closed to new replies.