Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vassilis Mastorostergios

    (@silencerius)

    Hello, yes you could try something like this:

    
    jQuery('.audioigniter-root').on('hover', function() {
      jQuery(this).find('.ai-audio-control').trigger('click');
    });
    

    Include it in a scripts file that loads in your theme (and make sure jQuery is loaded as well)

    Thread Starter acousticbro

    (@acousticbro)

    I am using avada theme + woocommerce.

    There is a woocommerce default shop page https://www.acousticbro.com/background-music/, and all pictures goes from product image. How can I implement this jQuery?

    If I just put your code into theme scripts, it doesn`t do anything. Maybe I should point somehow to products?

    Plugin Author Vassilis Mastorostergios

    (@silencerius)

    Hi again, if you’re trying to play a sound whenever you hover on a product in the listing I’m afraid this isn’t possible with AudioIgniter. The sound would have to be embedded on the product itself and then the product listing customized to support it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Music on hover’ is closed to new replies.