Is it possible to vertically align copy within an Emma text box?

  • 0
  • 1
  • Question
  • Updated 2 months ago
Photo of Bethany Woerner

Bethany Woerner, Champion

  • 40 Posts
  • 19 Reply Likes

Posted 3 months ago

  • 0
  • 1
Photo of Caroline Shirley

Caroline Shirley, Employee

  • 48 Posts
  • 5 Reply Likes
Hi Bethany,

You can accomplish vertical alignment by using the margin and padding elements of the text box. You are able to edit just the top and bottom of the box, as well, without adjust the right and left.

To do this, you would hover over the text box and click the settings wheel in the floating yellow bar above the text box. Once that opens, click the settings wheel found in the bottom left corner of that styling box. Once that is clicked, you'll see the 4 boxes for the margin or padding entries for top, bottom, left, and right. You can adjust top and bottom to change the spacing in the text box.

I hope this answers what you're looking for, feel free to point me in the right direction if not!
Photo of Bethany Woerner

Bethany Woerner, Champion

  • 40 Posts
  • 19 Reply Likes
Hey, Caroline!

I did this but unfortunately it doesn't solve the problem for all devices. It will appear vertically aligned within Emma but strangely off alignment in desktop vs tablets vs mobile.

I might be able to make it look less funky if I hide certain images on mobile devices (where the issue is most obvious). How can I add a .mobile-hide class to an image within the drag and drop feature? I know I will have to set it up in the code, but I can't see where I would place a class within the [%image%] block.
Photo of !! Caroline Shirley

!! Caroline Shirley

  • 2 Posts
  • 1 Reply Like
Hi Bethany,

I spoke with our Design team and they suggested you could experiment with putting your images in HTML blocks in the Drag & Drop editor and use our standard class="hide", but there’s no way to apply them to regular Drag & Drop image blocks.

Otherwise, a Code Your Own mailing would be the only other option if you account has that type of capability.

I'm also going to submit a feature request for the ability to control on mobile which Drag & Drop elements hide, though!

Let me know if there's anything else I can help with,
Photo of Bethany Woerner

Bethany Woerner, Champion

  • 40 Posts
  • 19 Reply Likes
Thanks Caroline!
Photo of Caroline Shirley

Caroline Shirley, Employee

  • 48 Posts
  • 5 Reply Likes
Of course, not a problem!