Center text vertically

We got a few workarounds in the thread now, so adding my usual one as well if someone searches for this topic, and finds it helpful.

I’m using CSS to center the text within the text element. It works on Firefox, Safari, and Chrome
and latest Microsoft Edge v.83

I use the classify plug-in from @julienallard1 to add CSS to the text element. You can find information on how to do that here. 🔥 Classify: A tiny plugin that brings CSS power to Bubble

Then I use this in an HTML element.

<style>

.textClass {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

</style>
3 Likes