The code was specified for the particular type of hover effect http://prntscr.com/n7g2w9 so will not work for another type.
Regards