Scaling Button Text

I’m using DTR for a landing page and if a keyword is really long it makes our button look funky:

button-bad

Here’s what ideal text on the button looks like:

button-good

Is there a way to scale the text and center it so it looks good?

Hi @ryanpopoff,

Use your longest possible keyword to set the width of the button.
It would have a lot of white space for shorter keywords but that’s the easy and quick fix you can apply in 60sec.

The other option is to write a somewhat complicated JS/CSS script that would look up the keyword on page load and adjust the button size accordingly.

Best,
Hristian

1 Like