You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Designer beta
Hi,
Wondering if it is possible to vertically centre text within a text box.
Normally I can just manually position the text however when i'm using dynamic text that varies in length, obviously this isn't possible.
Thanks in advance!
Josh.
Kent Myers
unread,
Nov 21, 2017, 10:36:41 AM11/21/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Designer beta
Yes, this is possible. I have a blog post and demo video of this which may be available soon but in the meantime you can see this in most of the dynamic templates (cta-txt) and involves these steps:
Wrap your text element in a container div of fixed dimensions
Code view: add class "v-center" to your text element
CSS panel on text element: remove "top" rule and change height to "max-height: 100%;"
Add this style if needed (will be included in all Dynamic templates)