CF7 Addons
Forum Replies Created
-
Hello,
The patch is not intended to be for premium-only. Support for this plugin (both free and paid) has been discontinued, and while I have created a patch for the (very minor) security issue, WordPress will not allow me to release the update to the plugin repository for free users because the plugin is discontinued.
It’s a bad situation for everyone, and it’s simply due to the fact that WordPress won’t allow me to release the security patch because the plugin is closed. I’m sorry.
Hi Suren,
It’s because the initialisation code for material design isn’t being called on those duplicated fields. According to the docs for conditional fields, you should be able to fix this by adding the following JavaScript to your website.
jQuery(document).ready(function() { jQuery('form').on('wpcf7cf_repeater_added', function(e) { window.cf7mdInit(); }); });
You can add this by a) editing your child theme if you have one, b) via your theme’s custom JavaScript field if it has one, otherwise c) use a plugin that allows you to add scripts to the page.
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Response “Close” ButtonHi @rickadman
The pro version does affect the fonts of the notices, but the colours are not configurable. However, if you purchase the pro version, you’ll get access to my email address where you can ask me for some custom CSS to achieve what you want.
Thanks,
AngusForum: Plugins
In reply to: [Material Design for Contact Form 7] Response “Close” ButtonHi @rickadman,
Sure, you can hide the close button with CSS.
I’m happy to provide you with some CSS to do so, I’d just need to be able to test your form. Is it live somewhere for me to see?
Thanks,
AngusHi @mulagirl
This is caused by some CSS added by your theme. The best way to fix this is to remove the problem CSS. The following is added twice, so you’ll need to remove both occurrences:
.wpcf7-form-control-wrap .wpcf7-form-control { border: 2px solid #d8d8d8; border-radius: 0.3em; font-size: 1.5rem; padding: 10px; }
And this is added once, which is an overly broad CSS rule that is going to cause many other problems in the future as well. You can keep the
.content p
but the.content div,
line is going to cause many issues..content div, .content p { margin-top: 2rem }
With those rules removed, your form should look normal.
Thanks,
AngusHi @snippet24
In that case, you’ll need to figure out how to read the cookie (or get the current dark theme state from somewhere) in JavaScript and toggle the class on your forms accordingly ??
Thanks,
Angus