• I find myself wrestling with this plugin all the time, is there anyway to disable all css styles loaded by this plugin? Im simply trying to display the text field and submit button inline or side by side without any space in between the two and it has been nearly impossible to get it to display the way i want it to and behave properly in a responsive environment.

    Please let me disable the css, there is seriously no need for it, im quite capable of styling the form myself.

    thanks, great plugin by the way

    https://www.ads-software.com/plugins/constant-contact-api/

Viewing 1 replies (of 1 total)
  • I suggest using a filter if you haven’t tried it already. I’ve done this in order to apply bootstrap classes and avoid the built in CSS of the plugin…

    function constant_contact_bootstrap($widget) {
    	$widget = str_replace(
    		array(
    			'kws_form gform_wrapper',
    			'kws_input_container',
    			'class=\'t ',
    			'class=\'b ',
    			'kws_clear'
    		),
    		array(
    			'col-sm-6 col-sm-offset-3',
    			'form-group',
    			'class=\'t form-control ',
    			'class=\'b btn btn-primary ',
    			'clearfix'
    		),
    		$widget
    	);
    	return $widget . '<div class="clearfix"></div>';
    }
    add_filter('constant_contact_form', 'constant_contact_bootstrap');
Viewing 1 replies (of 1 total)
  • The topic ‘Anyway to disable all css for this plugin’ is closed to new replies.