Hello @klingbeil
I described the process for the reset buttons in a previous entry. The calculate buttons have type="button"
but they have assigned the calculate-button
class name.
So, you want customize their appearance via CSS by using the #fbuilder .calculate-button
selector and entering the styles definition through the “Customize Form Design” attribute in the “Form Settings” tab, like:
#fbuilder .calculate-button
{background-color: green !important; border:0 !important;}
Or, if you prefer to apply the class names at the runtime, as you did previously:
<script>
fbuilderjQuery(document).one('showHideDepEvent', function(){
fbuilderjQuery('#fbuilder input[type="text"]').addClass('wpcf7-form-control wpcf7-text eduvibe-contact-form-field');
fbuilderjQuery('#fbuilder input[type="button"]').addClass('wpcf7-form-control has-spinner wpcf7-submit eduvibe-button-with-icon');
fbuilderjQuery('#fbuilder input[type="reset"]').addClass('wpcf7-form-control has-spinner wpcf7-submit eduvibe-button-with-icon');
fbuilderjQuery('#fbuilder .calculate-button').addClass('wpcf7-form-control has-spinner wpcf7-submit eduvibe-button-with-icon');
});
</script>
Best regards.