Hi @bigasstony,
Thanks for your inquiry.
To remove the coloring, please apply the below code in Appearance > customize > additional CSS section:
.fm-not-filled{
color:inherit !important;
}
To remove the animation, please enter wp-content/plugins/form-maker/js/main_div_front_end.js file, search (ctrl+F) shakeError and delete that function with this part:
Query(parent_div).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
Instead of deleting you can also comment out it, for this you need to add // before the function.
Hi, thanks for your quick response, was pretty surprised actually. Much appreciated.
Ok, so I deleted the function as you mentioned above, but the contact form still shakes, and still has the red background thing.
FYI I deleted this whole section:
function shakeError() {
old_bg=jQuery(parent_div).css(“background-color”);
jQuery(parent_div).effect( “shake”, {}, 500 ).css(“background-color”,”#FF8F8B”).animate({backgroundColor: old_bg}, {duration: 500, queue: false });
}
function animateBodyToError() {
jQuery(‘html’).animate({
scrollTop: element_offset – (element_height + 40)
}, 500, function() {
document.scrollingElement.scrollTop = element_offset – (element_height + 40); /* For Safari.*/
jQuery(window).off(“scroll”, scrollChecker);
shakeError();
});
}
if ( scrollTop > element_offset ) {
animateBodyToError();
} else {
shakeError();
}
}
I did however manage to stop the shake, but I did it by editing this file:
/public_html/wp-includes/js/jquery/ui/effect-shake.min.js after doing a folder search for ‘shake’
Any ideas?
Thanks heaps
Hi @bigasstony,
Do you mean, that you have already managed to solve the shaking issue?
Now you want only to be able to remove the red background?
If yes, have you applied the code I have advised in my previous text? If yes and it didn’t help then please enter form options > developer mode > yes.
After this please try to check again and if this won’t help please send me the form page URL to check.
Hi thanks so much Zhanna, you rock!
Yep it works with ‘developer mode’.
So it’s ok to leave ‘developer mode as yes’ right ?
Thanks again!
Hi @bigasstony,
Great! Thanks for keeping me updated.
Yes, no issue for keeping “developer mode” enabled.