Solved

How can I set the same height for table row?

  • 29 June 2022
  • 2 replies
  • 328 views

Badge +1

I have dynamic data from instagram feed. I want to show latest 5 posts in the email newsletter.
The pictures come in different sizes, but I need to line them up with the same dimensions. How is it possible to do this?
I use a table with 5 columns, where I pass variables for images and links.

 

icon

Best answer by Dov 29 June 2022, 16:25

View original

2 replies

Userlevel 7
Badge +61

Hi @mikalai_repin,

Thanks for sharing this question with us.

The simplest way to achieve this is to adjust the actual original image dimensions. That way, when we pull the images into the template, every image is already a uniform size. Alternatively, you could custom code a set height and width in the text column(s) for the block. 

If you need developer assistance to set this up, I recommend reaching out to one of Klaviyo’s Partners

Thanks for being a member of our community.

Badge +1

Hi @mikalai_repin,

Thanks for sharing this question with us.

The simplest way to achieve this is to adjust the actual original image dimensions. That way, when we pull the images into the template, every image is already a uniform size. Alternatively, you could custom code a set height and width in the text column(s) for the block. 

If you need developer assistance to set this up, I recommend reaching out to one of Klaviyo’s Partners

Thanks for being a member of our community.

Yes, but strict width and height does not solve the problem on mobile devices.

Reply