Image ratio in Timeline

Indeed. It would also be better of the image size would be the same with all different layout. For example always square. Now vertical desktop is landscape and mobile is automatically viewed left to right with square images. I loved it with a background but this makes my images really small: YWC 10 jaar — YWC

2 Likes

Hi there, @Muriel_Maas :wave:

Thank you so much for the feedback!

You’ve mentioned that you’d like to have square images in all layouts. Do I understand right that you mean full images (with background), not just photos inside?

1 Like

Hi Max,

I added the background because image size on desktop is landscape and square on mobile.

I would prefer not to use a background and have full image

But this was either ugly on desktop or on mobile due to the different sizes.

2 Likes

Got it, thanks!

Glad to say that you can keep the same image ratio for both desktop and mobile view. Please this code to the Custom CSS field on the Settings tab of your widget’s settings:

.es-event-card-content-image {
  aspect-ratio: 1/1 !important;
}

This code will keep the images on mobile square. Try it out and let me know if it helped :slightly_smiling_face:

1 Like