jQuery script to add a class or ID
The script required is simple enough and is shown below. All you need to know is the existing class or ID of the element and then the jQuery below will add the new class.
The script above should be output into the footer (
wp_footer()) of your WordPress website as there is no valid reason that it needs to be in
Adding CSS animation to an existing class
Near the top of this post I mentioned that our WordPress Tips website website uses Animate.css. Here is an example of the jQuery script used to animate the form.