Solved

How to add a button to a table block & avoid stacking on mobile

  • 1 July 2021
  • 1 reply
  • 538 views

Badge

Hey guys,

 

I would like to create columns to my email that also display on mobile, instead of becoming stacked. Does anyone know how to include buttons into a table? 

 

Thanks,

Viki

icon

Best answer by Dov 1 July 2021, 22:40

View original

1 reply

Userlevel 6
Badge +5

Hello @vikiohagan91,

Thanks for sharing your question with the Klaviyo Community.

In order to display columns horizontally, your best bet is to use a table block in the mobile (or mobile + desktop) view of the email template. While table blocks can only contain text and images, they allow you to customize your emails with columns by maintaining side-by-side columns on mobile.

Adding a button to this table would only be possible if you custom coded it in. While it’s not something Klaviyo staff is equipped to assist with at this time, it would be great to hear from another community member that may have had success custom coding a button into their table block. Alternatively, you can look to connect with a Klaviyo partner to assist with custom coding email templates.

Thanks and have a great rest of your week.

Reply