Automatic featured image aspect ratio in posts element
Is it possible to make the image container in the posts element automatically adjust to the image aspect ratio?
-
Hi Pablo,
Unfortunately, at the moment, it isn't possible. In the preview, the featured image will be added in the Image element you add in the editor mode of the post. therefore, if it is set in the square or in the portrait mode, the featured image will not be displayed in the landscape mode as you uploaded it but in the square or portrait mode as you have in the editor mode. The Image element is something like a frame. Regarding the shape and dimension of this frame, will be added the featured image in the preview.
Best regards,
Sandra0 -
Is this possible through CSS ? Will this feature be available in the future? I think a masonry posts gallery is a must.
0 -
Hi,
Unfortunately, at the moment, I can't say exactly if it is possible to do using the Custom CSS but you can try to do it. Our team are investigating the possibility of implementing a similar option for the Image element but at the moment, I can provide certain details.
Thank you!
Best regards,
Sandra0
Please sign in to leave a comment.
Comments
3 comments