How do I indicate in interactions that they should only be active in desktop mode?
or if not possible, at least indicate the resolution?
1 Like
At present you cannot.
Which is weird and makes animations unuseable in most cases.
2 Likes
ok, avoid using them for now
i unload css in mobile…
function rimuovi_css_dispositivo_mobile() {
if ( wp_is_mobile() ) {
wp_dequeue_style( ‘bricks-animate’ );
wp_deregister_style( ‘bricks-animate’ );
}
}
add_action( ‘wp_enqueue_scripts’, ‘rimuovi_css_dispositivo_mobile’, 9999 );
2 Likes
Nice solution - I may have to steal it…
1 Like
I had this issue so duplicated the item with the interactions on and removed the interactions on the duplicate. I then showed one on desktop and one on mobile
Thanks a lot for sharing!! I just tried it and it works perfectly!!