Skip to content

Instantly share code, notes, and snippets.

@jgresalfi
Created August 7, 2018 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgresalfi/46e50e4ad54f1eadf119eabae8bb355f to your computer and use it in GitHub Desktop.
Save jgresalfi/46e50e4ad54f1eadf119eabae8bb355f to your computer and use it in GitHub Desktop.
Divi buttons normally scale with text, which can look crappy. Set a minimum width with this CSS - buttons will scale up depending on text content.
.et_pb_button { min-width: 180px; text-align:center; }
//Or for more targeted styles, apply your own class
.your-css-class .et_pb_button { min-width: 180px; text-align:center; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment