• Hi all,
    this post is intended as a help to those who may have encountered this problem.
    I was using the great “Monochrome Pro” theme from GraphPaperPress but whenever I then loaded a page/post that had a featured image set, the featured image did not resize to fit the header area properly (as it should)…instead it displayed in it’s large size!
    If you have had this problem, the solution is the following:

    In the theme’s header.php file, locate the line:
    echo get_the_post_thumbnail( $post->ID, '950x400' );
    and replace it with the following:
    echo get_the_post_thumbnail( $post->ID, array (950, 400) );

    ..and that’s all!

    Hope that helps.
    Kristian.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re not building your own theme and attempting to change a theme’s files, create a Child Theme and manipulate files only within that theme.

    Thread Starter wombi1973

    (@wombi1973)

    Thanks for that.
    I am still relatively new to WordPress and was not sure about child themes….I shall try it out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Monochrome Pro theme header image size problem’ is closed to new replies.