contact-form-7-datepicker
contact-form-7-datepicker copied to clipboard
Contact Form 7 Color Picker styles overwrite styles for other places in theme
I am using a mercor woocommerce theme and a simple shortcode for tabs (see here:http://www.journeyinstruments.com/product/solid-sitka-rosewood-guitar/)
I am also using contact for 7 with your date picker plugin, which is very helpful (http://www.journeyinstruments.com/register-your-journey-instrument/)
However, there is an issue. Whatever style I use in date picker overwrites the style in the theme. And if I select "base" the months on the date picker do not work (see in above example).
If you already use a jquery-ui theme from somewhere else I suggest you disable the plugin's datepicker theme. There might be more to it though, you might need to enqueue custom CSS. I can't really help you much on this one.
how about only enqueueing the styles for your plugin if the current page has a contact form on it rather than on every page
if someone finds this i was able to do a workaround by disabling the loading of the theme on certain pages with this filter .. but i think it would be better if the files were only being enqueued on pages where they are being used
add_filter( 'cf7dp_ui_theme', '__return_false' );