If you have installed Divi Switch plugin by Divi Space and enabled the "Style Contact Form 7" option, you may find that the button colors it produces are not to your liking. One way to override the colors is using CSS similar to the following:
.ds_style_cf7 .wpcf7-submit {
color: #333 !important;
background-color: #ddd !important;
border-color: #555 !important;
}
.ds_style_cf7 .wpcf7-submit:hover {
color: white !important;
background-color: blue !important;
border-color:blue !important;
}
Related Post: Adding CSS to the Divi Theme
The first block sets the button text color, background color and border colors, while the next block does the same for the button hover effect.
0 Comments