Skip to main content
Solved

How can I set the same height for table row?


Forum|alt.badge.img+2

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.

 

Best answer by Dov

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.

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Dov
Forum|alt.badge.img+61
  • Klaviyo Alum
  • 1493 replies
  • Answer
  • June 29, 2022

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.


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • 1 reply
  • June 29, 2022
Dov wrote:

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.