Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Last active August 29, 2017 19:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Shelob9/95cb2e528c5d5e41e3581c954a1384fa to your computer and use it in GitHub Desktop.
Save Shelob9/95cb2e528c5d5e41e3581c954a1384fa to your computer and use it in GitHub Desktop.
CSS for changing Caldera Forms buttons (including submit button) color, width or centering the button. https://calderaforms.com/doc/button/
/** Center the button (inside it's column) **/
.caldera-grid .btn {
display: block !important;
margin-left: auto;
margin-right: auto;
}
/** Make button the full width of the column **/
.caldera-grid .btn {
width:100%
}
/** Change Background color and text color **/
.caldera-grid .btn {
background-color:blue;
color:white;
}
/** Change Background color and text color on hover **/
.caldera-grid .btn:hover {
background-color:white;
color:black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment