[resolved] Header image replaced by post image (3 posts)

  1. Stephen Pate
    Posted 3 years ago #

    I resized the 2011 Theme Header image on my blog NJN Network.

    That works fine along with the Upper Menu for Twenty Eleven plugin.

    However, now images from the posts are replacing the header image on Single Post pages.

    It used to happen if there was a photograph larger than 1000px in a story. Now it happens all the time since the header is 273px x 35 px

    How do I fix that? Thanks for any assistance. Cheers.

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    the threshhold for showing a featured image of a post or page as the header image is set checked in header.php:

    $image[1] >= $header_image_width ) :

    this is taking the value from the header image size settings;

    try to overwrite it with a fixed value;

    $image[1] >= 1000 ) :
  3. Stephen Pate
    Posted 3 years ago #

    Thanks that worked beautifully. Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic