Skip to content

Instantly share code, notes, and snippets.

@dandange8005
Forked from Shelob9/caldera-button.css
Created January 20, 2017 12:56
Show Gist options
  • Save dandange8005/ed24664f5daa07f595e010c61bdf8dcc to your computer and use it in GitHub Desktop.
Save dandange8005/ed24664f5daa07f595e010c61bdf8dcc 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://calderawp.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