Guest User

Untitled

a guest
Jul 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. // Changes Gravity Forms Ajax Spinner (next, back, submit) to a transparent image
  2. // this allows you to target the css and create a pure css spinner like the one used below in the style.css file of this gist.
  3. add_filter( 'gform_ajax_spinner_url', 'spinner_url', 10, 2 );
  4. function spinner_url( $image_src, $form ) {
  5. return 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'; // relative to you theme images folder
  6.  
  7. }
Add Comment
Please, Sign In to add comment