Hi folks, is there a snippet of code that would align some text in the center of a split block? ie:
Thanks!
Hi folks, is there a snippet of code that would align some text in the center of a split block? ie:
Thanks!
Hey
At present we don’t have a native method to vertically align texts through a split block like we do through a table block. I personally assume this may have something to do with how you can create flexible columns through a split block.
I have seen some users find success in using custom HTML in order to vertically align texts in a split block. You may want to consult with your email designer for more details or reach out to one of our many Klaviyo Partners.
David
Thank you
Hey
I’m not an email designer, but I’m sure there would be some snippet using HTML that would allow you to appropriately apply padding that would vertical align a set of text via a text block (including one in a split block).
My way to get around this though, would be replicating the content in a split block through a table block. One of the great things about a table block is that it offers a vertical align style setting under Block Styles. This style option is available in both the New and the Classic editor.
David
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.