• Resolved jlazerus

    (@jlazerusinfosecuredorg)


    The featured images on my homepage seem to be scaling incorrectly. They were working for a very short while and I don’t know what to do to get them to fit the full image into that space. All of the sides look cropped. Previously, I was able to go into the featured image, resize it, then revert it to normal and then it would look correct, but that stopped working too. Any assistance would be greatly appreciated.

    https://www.infosecured.org

Viewing 4 replies - 1 through 4 (of 4 total)
  • I guess it’s because of the below codes in your custom.css file. Max-height is set to 520px, and image cannot be taller than this dimension (so, it’s not cropping the image, but distorted). If you remove max-height:520px; from both set of codes, the image should be shown undistorted.

    #header-image{max-height:520px;width:100%;height:100%;position:absolute;top:48px;}
    #header-image img{max-height:520px;height:100%;width:100%;}
    Thread Starter jlazerus

    (@jlazerusinfosecuredorg)

    Thanks for the reply. I commented out those two lines but I’m still having the issue. It appears slightly better but when I originally started with the site, they were scaling perfectly.

    Thread Starter jlazerus

    (@jlazerusinfosecuredorg)

    And I just figured it out. It was Jetpack. I disabled photon and problem solved. Thanks!!!

    Ohh, great! I use Jetpack, but never used photon. After seeing your last comment, I was thinking that it may be extra CSS coming from a plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Featured Image Scales Incorrectly on Homepage’ is closed to new replies.