contact-form-7-datepicker icon indicating copy to clipboard operation
contact-form-7-datepicker copied to clipboard

Contact Form 7 Color Picker styles overwrite styles for other places in theme

Open seaus opened this issue 11 years ago • 3 comments

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).

seaus avatar Mar 28 '13 23:03 seaus

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.

relu avatar Apr 09 '13 14:04 relu

how about only enqueueing the styles for your plugin if the current page has a contact form on it rather than on every page

locomo avatar Feb 02 '17 21:02 locomo

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' );

locomo avatar Feb 02 '17 21:02 locomo