Image not showing on CDN.

On the More Info page, a photo is supposed to appear near the top of the right column. I was there for a long time. Now it stops showing when I have the Smush CDN enabled, can you help me?

  • Nastia
    • Ex Staff

    Hello admin

    I trust you’re doing well!

    The Smush CDN resizes images based on their container size. The specific image has height set to 0 in this case, via CSS. So the image is loading but it is not visible.

    To fix this issue, I’ve edited a page with the theme builder and added a custom CSS class to the image block. And added the following CSS that defines an image’s height and width to Appearance > Customize > Additional CSS:

    .ab-fs-image img {
    	width:570px;
    	height:217px;
    }

    Please feel free enabling CDN in Smush. Let us know if the issue will be back.

    Have a good day and take care!

    Kind regards,
    Nastia