Content of the page

How to add custom animation

Content of the article

 

If your version of the plugin exists Field - Custom animation :

e2bb4-clip-15kb

If your version of the plugin does not exist the Field "Custom animation" - read this please

  1. Create directory  "animations" in your current  theme(/child). Example:9fd38-clip-18kb
  2. Create new CSS file. Attention! The file name must be the same as the name of the animation.
  3. Create animation.  How to create  CSS animation.  Or use  this  CSS3 Keyframes Animation Generator.  Example:3d288-clip-89kb
  4. Paste name of the CSS file in  fild " Name custom animation "   and check  this " Use custom animation ":f4088-clip-16kb

Alternatively add a custom animation

  1. Create new CSS file.  Attention! The file name must be the same as the name of the animation.
  2. Create animation.  How to create  CSS animation.  Or use  this  CSS3 Keyframes Animation Generator. Insert this code in the CSS file
  3.  Paste the CSS file in  derectory: \plugins\wordpress-animator\css\animations\ 
  4. In file functions.php  of  the current theme  insert this code:
    function add_custom_animation($arr)
    {
        $arr['name_animation']="Label animation name";
    
        return $arr;
    
    }
    add_filter('animator_animation_names', 'add_custom_animation' );